Re: [Mingw-w64-public] GCC bugs with explicit template instantiation and dllexport targeting MinGW

2023-04-03 Thread L. E. Segovia via Mingw-w64-public
Hi everyone, On 03/04/2023 07:04, LIU Hao wrote: > 在 2023/4/3 16:55, Vittorio Romeo 写道: >> Hello everyone, >> Hope you are doing well. >> >> I've encountered and reported a bug related to explicit template >> instantiations and dllexport using the latest version of GCC on >> MinGW/MSYS2: >> https:

[Mingw-w64-public] [PATCH v2 1/3] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-02 Thread L. E. Segovia via Mingw-w64-public
--- mingw-w64-crt/Makefile.am | 1 + mingw-w64-crt/stdio/_strtof_l.c | 28 mingw-w64-headers/crt/stdlib.h | 1 + mingw-w64-headers/crt/tchar.h | 2 ++ 4 files changed, 32 insertions(+) create mode 100644 mingw-w64-crt/stdio/_strtof_l.c diff --git a/mingw-

[Mingw-w64-public] [PATCH v2 2/3] crt/tchar: add missing _tcstof redirection

2022-11-02 Thread L. E. Segovia via Mingw-w64-public
--- mingw-w64-headers/crt/tchar.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/crt/tchar.h b/mingw-w64-headers/crt/tchar.h index 2a41b1bb..8468f9d6 100644 --- a/mingw-w64-headers/crt/tchar.h +++ b/mingw-w64-headers/crt/tchar.h @@ -209,6 +209,7 @@ extern "C" { #define _ung

[Mingw-w64-public] [PATCH v2 3/3] crt/stdlib: Add missing _wcstof_l function and redirections

2022-11-02 Thread L. E. Segovia via Mingw-w64-public
--- mingw-w64-crt/Makefile.am | 1 + mingw-w64-crt/stdio/_wcstof_l.c | 28 mingw-w64-headers/crt/stdlib.h | 1 + mingw-w64-headers/crt/tchar.h | 1 + 4 files changed, 31 insertions(+) create mode 100644 mingw-w64-crt/stdio/_wcstof_l.c diff --git a/mingw-w

[Mingw-w64-public] [PATCH v2 0/3] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-02 Thread L. E. Segovia via Mingw-w64-public
Hi all, This is the second version of the patch to fix the missing _strtof_l functions. As requested, I've added the corresponding redirections for _wcstof_l. I've also split the changes regarding _tcstof into its own commit. L. E. Segovia (3): crt/stdlib: Add missing _strtof_l function and re

[Mingw-w64-public] [PATCH 0/1] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-01 Thread L. E. Segovia via Mingw-w64-public
Hi all, This is a small patch to define a missing UCRT function that was identified when fixing the number parsing support for OpenColorIO [1]. This makes the original patch targeting the Windows ABI to fail building under MinGW [2]. [1]: https://github.com/AcademySoftwareFoundation/OpenColorIO/p

[Mingw-w64-public] [PATCH 1/1] crt/stdlib: Add missing _strtof_l function and redirections

2022-11-01 Thread L. E. Segovia via Mingw-w64-public
--- mingw-w64-headers/crt/stdlib.h | 1 + mingw-w64-headers/crt/tchar.h | 4 2 files changed, 5 insertions(+) diff --git a/mingw-w64-headers/crt/stdlib.h b/mingw-w64-headers/crt/stdlib.h index e3b5499e..59b51e80 100644 --- a/mingw-w64-headers/crt/stdlib.h +++ b/mingw-w64-headers/crt/stdlib.