On Mon, 14 Jul 2025, Kirill Makurin wrote:
I do not yet completely understand all aspects of mingw-w64's build process
(which, for example, caused issues with btowc and wctob in this patch
series), but I wonder if we could add Makefile.am to testcases subdirectory
and define all tests in that Ma
Sent: Monday, July 14, 2025 5:56 PM
To: LIU Hao
Cc: mingw-w64-public@lists.sourceforge.net
; Kirill Makurin
Subject: Re: [Mingw-w64-public] New implementation for C95 conversion functions
On Mon, 14 Jul 2025, LIU Hao wrote:
> 在 2025-7-14 05:04, Kirill Makurin 写道:
>> The replacements fo
On Mon, 14 Jul 2025, LIU Hao wrote:
在 2025-7-14 05:04, Kirill Makurin 写道:
The replacements for mb*towc* and wc*tomb* functions are currently used
only for pre-msvcr80.dll (including all msvcrt.dll). The tests should
be skipped by returning 77 when compiled for msvcr80.dll and later
(including
在 2025-7-14 05:04, Kirill Makurin 写道:
The replacements for mb*towc* and wc*tomb* functions are currently used only
for pre-msvcr80.dll (including all msvcrt.dll). The tests should be skipped by
returning 77 when compiled for msvcr80.dll and later (including UCRT).
Is it possible that me checki
is incorrect?
- Kirill Makurin
From: Martin Storsjö
Sent: Monday, July 14, 2025 5:53 AM
To: Kirill Makurin
Cc: mingw-w64-public
Subject: Re: [Mingw-w64-public] New implementation for C95 conversion functions
On Sat, 12 Jul 2025, Kirill Makurin wrote:
> ```
>
On Sat, 12 Jul 2025, Kirill Makurin wrote:
```
The new testcases don't build in UCRT mode - see
https://github.com/mstorsjo/mingw-w64/actions/runs/16238894867/job/45852642
223#step:5:4386
```
Right... I forgot that UCRT's mbstate_t is a structure when was writing the
tests initially. I noticed
在 2025-7-13 05:45, Kirill Makurin 写道:
```
The new testcases don't build in UCRT mode - see
https://github.com/mstorsjo/mingw-w64/actions/runs/16238894867/job/45852642223#step:5:4386
```
Right... I forgot that UCRT's mbstate_t is a structure when was writing the
tests initially. I noticed and fi
_
From: Martin Storsjö
Sent: Sunday, July 13, 2025 5:19 AM
To: mingw-w64-public
Cc: Kirill Makurin
Subject: Re: [Mingw-w64-public] New implementation for C95 conversion functions
On Sat, 12 Jul 2025, LIU Hao wrote:
> 在 2025-7-9 21:09, Kirill Makurin 写道:
>> Here's the updated patches.
On Sat, 12 Jul 2025, LIU Hao wrote:
在 2025-7-9 21:09, 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
在 2025-7-9 21:09, 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
UCR
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
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
Thanks for letting me know. I'll look into them and will send updated patches.
- Kirill Makurin
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
在 2025-6-30 20:13, Kirill Makurin 写道:
This patch series provides new implementation for C95 conversion functions:
- btowc
- mbrlen
- mbrtowc
- mbsrtowc
- wcrtomb
- wcsrtombs
- wctob
This patch series also adds tests for these functions. All tests except for
btowc and wctob should be skipped wh
This patch series provides new implementation for C95 conversion functions:
- btowc
- mbrlen
- mbrtowc
- mbsrtowc
- wcrtomb
- wcsrtombs
- wctob
This patch series also adds tests for these functions. All tests except for
btowc and wctob should be skipped when building for msvcr80.dll or later
(i
15 matches
Mail list logo