[Development] Requiring minimum GCC 7/MinGW (was: Dropping MinGW support in Qt 6 (Was: HEADS-UP: QStringLiteral))

Thiago Macieira thiago.macieira at intel.com
Sun Aug 25 17:37:28 CEST 2019


On Sunday, 25 August 2019 01:05:23 PDT Ray Donnelly wrote:
> > > just mentioning it:
> > > https://github.com/msys2/MINGW-packages/issues/2519
> > 
> > The description of the bug says "winpthreads", which means it's not MinGW,
> > it's Cygwin/MSYS2.
> 
> This is completely incorrect. Thiago I would expect better from you.

I've already been corrected.

But in my defence, here was my line of thinking:

1. searched libgcc source code for the _gthreads implementation
2. found code using Win32 directly (like TlsAlloc)
3. concluded libgcc does not need pthread emulation
4. concluded that anyone using pthread emulation was Cygwin

Conclusion #3 is correct. Conclusion #4 wasn't, because I failed to take into 
consideration that the pthread emulation may be needed for other features 
which Qt doesn't need (namely, std::thread).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products






More information about the Development mailing list