Title | ztfm.c does not compile with Microsoft Visual C 2015 |
Status | closed |
Priority | optional |
Assigned user | Gareth Rees |
Organization | Ravenbrook |
Description | The transforms test (ztfm.c) does not compile with Microsoft Visual C 2015 on platform w3i6mv. Reported by NB [1]. |
Analysis | This 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 found | manual_test |
Evidence | [1] https://info.ravenbrook.com/mail/2018/06/28/15-22-52/0/ |
Created by | Gareth Rees |
Created on | 2018-06-28 16:35:09 |
Last modified by | Gareth Rees |
Last modified on | 2018-06-29 14:10:38 |
History | 2018-06-28 GDR Created based on [1]. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
194320 | closed | 2018-06-29 14:10:38 | Gareth Rees | Avoid compilation errors from MSVC 2015 on platform w3i6mv. |