https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108225
cqwrteur <unlvsur at live dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |--- Status|RESOLVED |REOPENED --- Comment #15 from cqwrteur <unlvsur at live dot com> --- (In reply to Jonathan Wakely from comment #14) > And it isn't specific to Canadian cross compilation either. It happens for > any build with the latest mingw-w64 headers, both native and cross. And that > has nothing to do with std::mutex, which is the subject of this bug report. #if _WIN32_WINNT >= 0x0600 #define __GTHREAD_HAS_COND 1 #define __GTHREADS_CXX0X 1 #endif I suggest remove this macro in the header due to potential breakage #if _WIN32_WINNT >= 0x0600 #endif