Here are problem, which was discussed in the past, but without this
"all warnings enabled" part.

 So, I need to printf() uint64_t in my project, which is built in strict
ISO C11 mode and with all warnings enabled.

 If I try to use "%llu" I get warning that "unknown conversion type
character 'l' in format". If I use "%I64u" I get "ISO C does not support
the 'I64' ms_printf length modifier" warning.

 PRIu64 doesn't work, of course, because it is "I64u".

 How to write portable code without warnings?

 And bonus question: how to print size_t, as %zu isn't supported either!

-- 
// Black Lion AKA Lev Serebryakov

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to