在 2025-12-19 18:05, Kirill Makurin 写道:
The effect of `_MINGW_ASM_CALL` is exactly what I meant by "affecting applications". The point of the patch is to make sure that references to `str[n]casecmp` are not replaced with `_str[n]icmp`. If there is another library which provides external `str[n]casecmp` on the linker's command line, it will end up using definition in that library instead of one from CRT import library.

This makes sense.


Honestly, I'm not sure if clang ends up generating calls to external `strcasecmp` or inlined calls to _stricmp.

The patch does the right thing. Using `__MINGW_ASN_CALl` would make compilers emit calls to `_stricmp` instead.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to