-----Original Message----- From: Eli Zaretskii
Sent: Tuesday, September 12, 2017 3:19 AM
To: mingw-w64-public@lists.sourceforge.net
Subject: [Mingw-w64-public] Problems with using printf format specs with GCC 7

Does Emacs do anything wrong in these cases?

Not sure what to make of the format warnings (I'll leave that to others), but I think the post that you cited does reveal an instance of Emacs doing something wrong wrt the redefining of _WIN32_WINNT. This symbol appears to be redefined in Emacs source, having earlier been defined in _mingw.h:

C:/projects/emacs/nt/addpm.c:42:0: warning: "_WIN32_WINNT" redefined

Unless it's a mistake for _mingw.h to define this symbol in the first place, then I'm thinking that addpm.c should precede it's own definition with an '#undef _WIN32_WINNT'.

Cheers,
Rob




------------------------------------------------------------------------------
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