在 2023/7/18 21:41, Christian Franke 写道:
AFAICS various of the Annex K *_s() functions are long standing parts of MSVCRT/UCRT and have a compatible signature.The patch was not intended to be a starting point for adding any of the missing functions. It only should fix this incompatibility if requested. Therefore, an alternative would be to use something like __MINGW_STDC_WANT_LIB_EXT1__ instead of __STDC_WANT_LIB_EXT1__ to control what function variants are visible.
It's probably not worth doing to introduce the little complexity for something that very few people care about. And standard conformance is not a goal of mingw-w64; we should not add unnecessary extensions (aka 'gold plating') that are not found with MSVC-based toolchains.
There are some other trivial reasons (e.g. I think changing the signature of a function - even if it is inline, and the change is conditional - might be classified as a breaking change). My conclusion is that this probably will not be accepted.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
