https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #9)
> (In reply to Jörn Heusipp from comment #8)

> > Debian MinGW-w64 gcc is built in 2 flavours. One with Win32 and one with
> > posix threading model support. The version with posix threading model
> > support uses pthreads, and knows how to implement std::thread. Why is GCC
> > assuming single-threaded in that context?
> 
> The fact the runtime is capable of supporting threads doesn't mean a given
> program compiled by the user actually uses threads.

Oh I missed the part about __STDCPP_THREADS__ not being defined for mingw-w64.
That seems like it's worth a distinct bug report that can focus just on that.

Reply via email to