在 2024-03-09 23:58, Pali Rohár 写道:
The point is that this one change allows to have object file with function calls to _scprintf or _snprintf to be CRT independent.
Let me guess, you have an object file (maybe in a static library) which was compiled for MSVCRT (or an old variant, at least not UCRT), and you would like to compile some code for UCRT, but to link with the aforementioned object file, or vice versa; is that the case?
I'd say code linking against different CRT variants are not compatible. Making `_scprintf` etc. independent about the CRT by de-inlining it for UCRT, does not solve the incompatibility.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public