[Mingw-w64-public] [PATCH 1/3] crt: Fix the strtold/wcstold exports in libucrt.a

2021-08-05 Thread Martin Storsjö
The macros like F_ARM_ANY() require making the .def file a .def.in which is preprorcessed, and including func.def.in. Signed-off-by: Martin Storsjö --- ...-convert-l1-1-0.def => api-ms-win-crt-convert-l1-1-0.def.in} | 2 ++ 1 file changed, 2 insertions(+) rename mingw-w64-crt/lib-common/{api-ms

[Mingw-w64-public] [PATCH 2/3] crt: Remove duplicate strlwr/wcslwr aliases from ucrtbase.def.in

2021-08-05 Thread Martin Storsjö
These same are also added implicitly from msvcrt-common.def.in. Signed-off-by: Martin Storsjö --- mingw-w64-crt/lib-common/ucrtbase.def.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/mingw-w64-crt/lib-common/ucrtbase.def.in b/mingw-w64-crt/lib-common/ucrtbase.def.in index 7d35e4209..04

[Mingw-w64-public] [PATCH 3/3] crt: Remove a stray 'k' from api-ms-win-crt-math-l1-1-0.def.in

2021-08-05 Thread Martin Storsjö
This is most probably a random mistyped character. This caused one extra symbol 'k' to be exported from this import library. Signed-off-by: Martin Storsjö --- With these three patches in place, the list of symbols exported by libucrt.a and libucrtbase.a is identical, modulo a bunch of private sy

Re: [Mingw-w64-public] [PATCH] RFC: crt: Use intermediate libraries to build object files shared across all libmsvcr*.a and libucrt*.a

2021-08-05 Thread Martin Storsjö
On Sun, 18 Jul 2021, LIU Hao wrote: 在 2021-07-14 19:45, Martin Storsjö 写道: On Wed, 14 Jul 2021, Martin Storsjö wrote: This avoids compiling the object files that go into libmsvcrt*.a 10 times, and object files that go into libucrt*.a twice. This reduces the number of built object files for a

Re: [Mingw-w64-public] [PATCH] crt: Fix a typo in the ucrt __imp_vfscanf assignment

2021-08-05 Thread Martin Storsjö
On Thu, 5 Aug 2021, JonY via Mingw-w64-public wrote: On 8/5/21 8:10 AM, Martin Storsjö wrote: The wrong function was assigned; this was a bug present since 0dd9563a3ad71ad75cab1699ba5cfef2dd0bf9d8 (April 2021). Signed-off-by: Martin Storsjö --- mingw-w64-crt/stdio/ucrt_vfscanf.c | 2 +- 1

Re: [Mingw-w64-public] [PATCH] crt: Fix a typo in the ucrt __imp_vfscanf assignment

2021-08-05 Thread JonY via Mingw-w64-public
On 8/5/21 8:10 AM, Martin Storsjö wrote: The wrong function was assigned; this was a bug present since 0dd9563a3ad71ad75cab1699ba5cfef2dd0bf9d8 (April 2021). Signed-off-by: Martin Storsjö --- mingw-w64-crt/stdio/ucrt_vfscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mingw-w64-public] [PATCH] crt: Fix a typo in the ucrt __imp_vfscanf assignment

2021-08-05 Thread Martin Storsjö
The wrong function was assigned; this was a bug present since 0dd9563a3ad71ad75cab1699ba5cfef2dd0bf9d8 (April 2021). Signed-off-by: Martin Storsjö --- mingw-w64-crt/stdio/ucrt_vfscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/stdio/ucrt_vfscanf.c b/ming