https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67114
Bug ID: 67114 Summary: [MinGW64] build failure with POSIX threads enabled Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: sliwa at ifpan dot edu.pl Target Milestone: --- Created attachment 36119 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36119&action=edit proposed patch to GCC Since operator< is not available for thread types when using the pthreads-win32 library, gcc build fails when configured with POSIX threads on MinGW64. The attached patch implements a field-by-field comparison.