Re: [Mingw-w64-public] [PATCH] crt: Fix compilation of libscrnsavw.a

2025-06-23 Thread Pali Rohár
On Monday 23 June 2025 15:42:08 Martin Storsjö wrote: > On Sat, 21 Jun 2025, Pali Rohár wrote: > > > Setting the lib32_libscrnsavw_a_CFLAGS variable automatically turns off > > usage of AM_CFLAGS variable for that target. As the AM_CFLAGS contains the > > mingw-w64 CRT build flags, specify it manu

Re: [Mingw-w64-public] [PATCH] crt: Fix running "make check" testsuite

2025-06-23 Thread Pali Rohár
On Monday 23 June 2025 15:49:32 Martin Storsjö wrote: > On Sat, 21 Jun 2025, Pali Rohár wrote: > > > AM_CFLAGS contains cflags required to build the mingw-w64 CRT source code. > > They are not intended to compile applications (including those used in > > mingw-w64 testsuite). Setting per-target _C

Re: [Mingw-w64-public] Missing Microsoft printf behavior in mingw_pformat.c and OutOfBound in emu__vscwprintf()

2025-06-23 Thread LIU Hao
在 2025-6-20 02:19, Julien Vary 写道: Hello all! I found two issues when digging in the mingw crt/stdio code, and I wonder if this is something you would like a patch for. .. The 'w' size prefix is also not supported (same a 'l'). Are those changes you will be interested to receive a PR for? (I w

Re: [Mingw-w64-public] [PATCH] crt: Fix running "make check" testsuite

2025-06-23 Thread Martin Storsjö
On Sat, 21 Jun 2025, Pali Rohár wrote: AM_CFLAGS contains cflags required to build the mingw-w64 CRT source code. They are not intended to compile applications (including those used in mingw-w64 testsuite). Setting per-target _CFLAGS variable overwrites the AM_CFLAGS. So for every testcase sets

Re: [Mingw-w64-public] [PATCH] crt: Fix compilation of libscrnsavw.a

2025-06-23 Thread Martin Storsjö
On Sat, 21 Jun 2025, Pali Rohár wrote: Setting the lib32_libscrnsavw_a_CFLAGS variable automatically turns off usage of AM_CFLAGS variable for that target. As the AM_CFLAGS contains the mingw-w64 CRT build flags, specify it manually in lib32_libscrnsavw_a_CFLAGS variable. Do same for all archite

Re: [Mingw-w64-public] [PATCH] github: Use "check-runtimes" rather than individual "check-cxx" for test-libcxx

2025-06-23 Thread Martin Storsjö
On Fri, 20 Jun 2025, LIU Hao wrote: 在 2025-6-19 22:22, Martin Storsjö 写道: This makes sure to run all three testsuites, even if there are failures in one of them, making it clearer to see all potential issues with one run. Signed-off-by: Martin Storsjö --- .github/workflows/build.yml | 2 +-

Re: [Mingw-w64-public] [PATCH] headers: Add PF_MOVDIR64B_INSTRUCTION_AVAILABLE

2025-06-23 Thread Martin Storsjö
On Fri, 20 Jun 2025, LIU Hao wrote: 在 2025-6-19 20:39, Martin Storsjö 写道: This exists in newer revisions of the 10.0.26100.0 WinSDK, but wasn't present in an earlier revision I used as basis for f97814b9602d62cec180aae9e0a0bb5198e7289d. Signed-off-by: Martin Storsjö --- mingw-w64-headers/in

[Mingw-w64-public] Win32 and CRT locales

2025-06-23 Thread Kirill Makurin
Hello, I have mentioned in my last message in `Inconsistent behavior of btowc with "C" locale` thread that I would like to start a new thread to discuss CRT conversion functions mb*towc* and wc*tomb*, and probably other functions which have to deal with locales. While CRT's locale functions *w