Re: [Mingw-w64-public] [PATCH] headers/crt: Add _wcreate_locale declaration

2025-03-23 Thread LIU Hao
在 2025-3-23 16:46, Biswapriyo Nath 写道: From e54937ec3ef04ab8b60c5a8f39a548b4aec5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 23 Mar 2025 08:45:03 + Subject: [PATCH] headers/crt: Add _wcreate_locale declaration Required forhttps://sourceforge.net/p/mingw-w64/mailman/message

[Mingw-w64-public] [PATCH 05/10] headers: Remove inline definition of _fstat64i32() and _stat64i32() functions

2025-03-23 Thread Pali Rohár
These functions in sys/stat.h are defined as wrappers around _fstat64() and _stat64() functions. But msvcr80+ and UCRT DLL libraries provides native _fstat64i32() and _stat64i32() functions and so it is not needed to use inline fallback wrappers. For pre-msvcr80 builds, mingw-w64 already provides

[Mingw-w64-public] [PATCH] headers/crt: Add _wcreate_locale declaration

2025-03-23 Thread Biswapriyo Nath
From e54937ec3ef04ab8b60c5a8f39a548b4aec5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 23 Mar 2025 08:45:03 + Subject: [PATCH] headers/crt: Add _wcreate_locale declaration Required for https://sourceforge.net/p/mingw-w64/mailman/message/59164037/ Signed-off-by: Biswapriyo N

[Mingw-w64-public] [PATCH 1/2] crt: Build with -fno-builtin.

2025-03-23 Thread Jacek Caban
mingw-w64-crt implements a number of functions that the compiler considers built-in. Currently, we must be cautious about compiler optimizations, as they may not align with our intentions. In theory, the compiler could optimize an implementation of such a function back into a call to itself. Rathe

[Mingw-w64-public] _wcreate_locale is missing from locale.h

2025-03-23 Thread Kirill Makurin
Hi, I noticed that mingw-w64's `locale.h` is missing declaration of `_wcreate_locale` function. I examined output of `dumpbin.exe -exports` on some msvcr*.dll that I have on my system and it seems that this function is only available starting with msvcr110.dll. Microsoft documentation (https