Hello Kai,

Friday, June 23, 2017, 5:55:39 PM, you 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:

a.c ======
#include <inttypes.h>
PRId64
==========

$ gcc -D_POSIX_C_SOURCE=1 -D__USE_MINGW_ANSI_STDIO=1 -E a.c
[skipped a lot]
# 1 "C:/msys64/mingw64/x86_64-w64-mingw32/include/_mingw_print_pop.h" 1 3
# 300 "C:/msys64/mingw64/x86_64-w64-mingw32/include/inttypes.h" 2 3
# 2 "a.c" 2
"I64d"
$

-- 
Best regards,
 Lev                            mailto:[email protected]


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to