在 2026-5-12 21:42, Kirill Makurin 写道:
Hello,

I was preparing patch series to de-duplicate declarations and tidy-up locale.h (like I 
did with ctype.h and conio.h). I was running CI[1] and "llvm-mingw (msvcrt)" 
job failed because libc++ was unconditionally using functions _create_locale, 
_free_locale and _configthreadlocale functions.

IMO, this usage is very problematic not only because libc++ will not function 
correctly on pre-Windows 8 systems, but also because it prevents building it 
with pre-msvcr80.dll CRTs (although, I don't know if it is supported).

I think libc++ requires those functions. OTOH libstdc++ doesn't, and creating a locale other than "C" or "POSIX" always throws an exception.



--
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