On 05/01/19 20:46, Eli Zaretskii wrote: >>> At the very least, if there must be such a warning, please move it to >>> stdio.h, so that a package could include _mingw.h early on without >>> triggering the warning, and then #undef __USE_MINGW_ANSI_STDIO as >>> needed. >> >> That really would be a breaking change ... now! I deliberately >> chose to emit a deprecation warning, without any breaking change >> for the time being; > > I meant emitting the warning from stdio.h, like is done for > __USE_MINGW_FSEEK. That wouldn't be practical, unfortunately. The condition for emitting the warning has to be tested *before* any implied default definition for _POSIX_C_SOURCE is provided, and that provision occurs in _mingw.h -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20190105/0cbd7be7/attachment.sig>