Re: [Mingw-w64-public] Adding a new thread model to GCC

2022-11-15 Thread Jacek Caban
On 11/15/22 15:17, LIU Hao wrote: I think that when there is a real bug, we should fix it. As for standard themselves, I think that C/C++ standards are important. Praising POSIX-alike standards for mingw-w64, who's CRT is a wrapper around Windows system CRT, seems a bit misplaced for me. Using

Re: [Mingw-w64-public] Adding a new thread model to GCC

2022-11-15 Thread LIU Hao
在 2022-11-15 04:50, Jacek Caban 写道: I was short on spare time lately, my apologies. I was planning to learn your code to have more insightful comments, but it requires non-trivial amount of time that I couldn't allocate. Anyway, I don't think there is any procrastination, your threading model is

Re: [Mingw-w64-public] [PATCH] crt: Move WinMain/wWinMain specific code outside of crtexe.c file

2022-11-15 Thread Martin Storsjö
On Tue, Nov 15, 2022 at 5:27 AM LIU Hao wrote: > 在 2022/11/14 05:48, Martin Storsjö 写道: > >> -#ifdef _MBCS > > > > The existing code checked the flag _MBCS here. I don't see anything in > mingw-w64 setting this flag > > (nothing in headers, nothing in crt makefiles). I also grepped through > both