> Date: Sat, 05 Jan 2019 14:13:17 +0200 > From: Eli Zaretskii <eliz****@gnu*****> > > I've installed the latest MinGW runtime 5.2 today, and hit this snag: > > In file included from d:/gnu/git/emacs/branch/nt/inc/mingw_time.h:13:0, > from d:/gnu/git/emacs/branch/nt/inc/ms-w32.h:27, > from ../src/conf_post.h:35, > from ../src/config.h:2019, > from acl_entries.c:20: > d:\usr\include\_mingw.h:383:3: warning: #warning "Direct definition of __USE_MINGW_ANSI_STDIO is deprecated." [-Wcpp] > # warning "Direct definition of __USE_MINGW_ANSI_STDIO is deprecated." > ^~~~~~~ > d:\usr\include\_mingw.h:384:10: note: #pragma message: See <_mingw.h> for preferred feature activation methods. > # pragma message "See <_mingw.h> for preferred feature activation methods." > ^~~~~~~ > > This deprecation warning is going to be a terrible nuisance, for the > following reasons: There's a similar problem with __USE_MINGW_FSEEK. The warning for that one is emitted by stdio.h, so it's a little bit easier to fix. But the alternative, to set _WIN32_WINDOWS to something smaller than 0x0500, is also somewhat problematic, since it requires conditionals that do it only for mingw.org's MinGW (because MinGW64 supports only Vista and later). It would be easier if the warning about __USE_MINGW_FSEEK is also removed, as the entire GCC/GDB/Binutils chain uses it, for example.