MPS issue job004082

Titleztfm.c does not compile with Microsoft Visual C 2015
Statusclosed
Priorityoptional
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionThe transforms test (ztfm.c) does not compile with Microsoft Visual C 2015 on platform w3i6mv. Reported by NB [1].
AnalysisThis is because there are printf format strings using %lu which takes an unsigned long argument (32 bits on w3i6mv), but the actual argument is ulongest_t or similar (64 bits), and MSVC can now detect the mismatch.
How foundmanual_test
Evidence[1] https://info.ravenbrook.com/mail/2018/06/28/15-22-52/0/
Created byGareth Rees
Created on2018-06-28 16:35:09
Last modified byGareth Rees
Last modified on2018-06-29 14:10:38
History2018-06-28 GDR Created based on [1].

Fixes

Change Effect Date User Description
194320 closed 2018-06-29 14:10:38 Gareth Rees Avoid compilation errors from MSVC 2015 on platform w3i6mv.