[Mingw-w64-public] [PATCH 3/3] crt: Use the __mingw_strtold implementation for strtold, too

2021-06-06 Thread Martin Storsjö
The second implementation, which was under the 'strtold' name, was lacking (it didn't support e.g. strings like "0x125p-1"), while the '__mingw_strtold' one seemed correct and complete. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am |6 +- mingw-w64-crt/gdtoa/strtodnrp.c

[Mingw-w64-public] [PATCH] headers: Add afunix.h file.

2021-06-06 Thread Biswapriyo Nath
From 29bba5d53ab3acf3f823995a85d39badb8f26053 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 7 Jun 2021 10:25:36 +0530 Subject: [PATCH] headers: Add afunix.h file. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/afunix.h | 19 +++ 1 file changed, 19 inse

[Mingw-w64-public] [PATCH] crt: Don't print a leading '+' for format strings like "%+u"

2021-06-06 Thread Martin Storsjö
For unsigned print formats like %u, %o and %x, don't print a leading plus. It wasn't printed for %+o and %+x, but %+u did print one. Signed-off-by: Martin Storsjö --- mingw-w64-crt/stdio/mingw_pformat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-crt/stdio/mingw_pformat.c b/mi

Re: [Mingw-w64-public] [PATCH] crt: make iswblank always available in C++

2021-06-06 Thread Zach Bacon
You forgot to include your patch. On Fri., Jun. 4, 2021, 9:34 p.m. Matheus Izvekov, wrote: > Before this patch, wctype.h would make iswblank always available on C++, > but ctype.h and wchar.h would not. Since they share the same definition > guard > macro, one could end up not getting iswblank i

[Mingw-w64-public] [PATCH 2/3] crt: Make __mingw_wcstold an alias to wcstold

2021-06-06 Thread Martin Storsjö
There's no need to keep two vaguely differing versions of the same functions; out of the two, wcstold seems to be more correct. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 2 +- mingw-w64-crt/misc/mingw_wcstold.c | 32 -- mingw-w64-crt/misc

[Mingw-w64-public] Can't link _setjmpex in UCRT

2021-06-06 Thread Biswapriyo Nath
* Source: int main() { _setjmpex(0,0); } * Compiler command: gcc test.c * msvcrt ok. * ucrt linking error ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] Can't link _setjmpex in UCRT

2021-06-06 Thread Biswapriyo Nath
* Source: int main() { _setjmpex(0,0); } * Compiler command: gcc test.c * msvcrt ok. * ucrt linking error ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] [PATCH] crt: make iswblank always available in C++

2021-06-06 Thread Matheus Izvekov
Before this patch, wctype.h would make iswblank always available on C++, but ctype.h and wchar.h would not. Since they share the same definition guard macro, one could end up not getting iswblank in C++ when including wctype.h after ctype.h / wchar.h . This fixes this inconsistency by making it al