Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-26 Thread Liu Hao
On 2017/6/26 19:04, Lev Serebryakov wrote: On 25.06.2017 20:39, Liu Hao wrote: I've checked and both _POSIX_C_SOURCE=1 and __USE_MINGW_ANSI_STDIO=1 don't affect this define. It should, at least the latter one should show effect. Of course you need to define it before including inttypes.h

Re: [Mingw-w64-public] how to printf() 64-bit integer in 64-bit compiler in strict ISO mode with all warnings enabled?

2017-06-26 Thread Lev Serebryakov
On 25.06.2017 20:39, Liu Hao wrote: I've checked and both _POSIX_C_SOURCE=1 and __USE_MINGW_ANSI_STDIO=1 don't affect this define. >>> It should, at least the latter one should show effect. Of course you >>> need to define it before including inttypes.h >> Very simple test case: >>