Re: [Mingw-w64-public] New implementation for C95 conversion functions

2025-07-09 Thread Martin Storsjö
On Wed, 9 Jul 2025, Kirill Makurin wrote: Do I understand correctly that libc++ is only built and tested with UCRT? If this is the case, this means that only btowc and wctob were effectively tested, since replacements for the rest are only used for msvcrt.dll and older CRTs. Yes, that's true

Re: [Mingw-w64-public] New implementation for C95 conversion functions

2025-07-09 Thread Kirill Makurin
Here's the updated patches. They passed all tests[1]. The reason was that when misc/btowc.c and misc/wctob.c were compiled for UCRT, they were using msvcr*.dll's mbstate_t which has different size. I added new misc/ucrt_btowc.c and misc/ucrt_wctob.c for UCRT compilation. I also discovered one c