在 2023/2/16 02:12, Christian Franke 写道:
This check in line 282 of inttypes.h is always false because __USE_MINGW_ANSI_STDIO is always defined to 0 or 1 in _mingw.h:

#if (defined(__CRTDLL__) || __MSVCRT_VERSION__ < 0x200) && 
!defined(__USE_MINGW_ANSI_STDIO)

No patch included because I don't know whether this section is still needed or 
could be removed.


It looks like a typo, introduced in 934338e47aba4209e80026668e6d45f2cbc41d2c last year. Maybe we should fix that check instead of removing it, as the change is relatively new.

Previously, `__USE_MINGW_ANSI_STDIO` was checked like `(defined(__USE_MINGW_ANSI_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0))` but that was changed in a84fc015351e664519359214cbb08d6e21f42814 (which also contained a hunk against 'inttypes.h').


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to