Re: [Mingw-w64-public] [PATCH] crt: Don't initialize lconv to unsigned char mode

2021-06-11 Thread Liu Hao
在 6/12/21 4:01 AM, Martin Storsjö 写道: If I understand things correctly, the backstory is that with MSVC, you can pass an option (/J) to the compiler to request 'char' to be an unsigned data type. If you pass this option, then the compiler defines _CHAR_UNSIGNED. If you have _CHAR_UNSIGNED

Re: [Mingw-w64-public] [PATCH] crt: Don't initialize lconv to unsigned char mode

2021-06-11 Thread Martin Storsjö
On Fri, 11 Jun 2021, Jacek Caban wrote: On 6/11/21 3:51 AM, Liu Hao wrote: 在 6/11/21 4:09 AM, Martin Storsjö 写道: Since the initial commit of mingw-w64, there's a call (in a constructor in crt/charmax.c, pulled in via the mingw_initcharmax variable) to __lconv_init(), which reconfigures the

Re: [Mingw-w64-public] [PATCH] crt: Don't initialize lconv to unsigned char mode

2021-06-11 Thread Jacek Caban
On 6/11/21 3:51 AM, Liu Hao wrote: 在 6/11/21 4:09 AM, Martin Storsjö 写道: Since the initial commit of mingw-w64, there's a call (in a constructor in crt/charmax.c, pulled in via the mingw_initcharmax variable) to __lconv_init(), which reconfigures the CRT's lconv info to unsigned char mode - but