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

2022-11-14 Thread LIU Hao
在 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 GCC and Clang source, and there's no mentions of this define anyw

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

2022-11-14 Thread sotrdg sotrdg
I do work on windows 95 with mingw-w64. C++17 filesystem breaks dynamic linking of Libstdc++ for me which sucks. So stop representing other people and just admit C++ standard did a horrible job and that is why Linus Torvalds hates it. https://www.youtube.com/watch?v=C9rHAt1KMq0 If you do believ

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

2022-11-14 Thread sotrdg sotrdg
LOL. “important” when C++ standard did horrible mistakes like C++17 filesystem, charconv, C++20 format etc. They are not. They made bad standard that adds implementation, binary size and performance burden to everyone. They do not even consider the implementation difficulties in the first place

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

2022-11-14 Thread Jacek Caban
On 11/14/22 09:57, LIU Hao wrote: 在 2022/10/25 04:50, Jacek Caban 写道: This also may be supported in existing threading models. Overflow is trivial to fix by waiting in a loop. (There are other reasons why OS support for absolute timeout is slightly better, but the price of this design decisi

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

2022-11-14 Thread LIU Hao
在 2022/10/25 04:50, Jacek Caban 写道: This also may be supported in existing threading models. Overflow is trivial to fix by waiting in a loop. (There are other reasons why OS support for absolute timeout is slightly better, but the price of this design decision makes it questionable. I plan to