在 2025-3-23 16:46, Biswapriyo Nath 写道:
From e54937ec3ef04ab80000b60c5a8f39a548b4aec5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath<nathbap...@gmail.com> Date: Sun, 23 Mar 2025 08:45:03 +0000 Subject: [PATCH] headers/crt: Add _wcreate_locale declarationRequired forhttps://sourceforge.net/p/mingw-w64/mailman/message/59164037/ Signed-off-by: Biswapriyo Nath<nathbap...@gmail.com> --- mingw-w64-headers/crt/locale.h | 2 ++ mingw-w64-headers/crt/wchar.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mingw-w64-headers/crt/locale.h b/mingw-w64-headers/crt/locale.h index 9b695e3..6bea1dc 100644 --- a/mingw-w64-headers/crt/locale.h +++ b/mingw-w64-headers/crt/locale.h @@ -103,6 +103,8 @@ extern "C" { _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); #endif+ _CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale);+
I think we need to check for MSVCR >= 110 about this. [and it includes UCRT.] -- 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