https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67115
Bug ID: 67115
Summary: [MinGW64] name conflict with system headers
(identifier "CONST")
Product: gcc
Version: 5.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: sliwa at ifpan dot edu.pl
Target Milestone: ---
A pthreads build on MinGW64 fails due to a name conflict:
* "CONST" is a macro in the system headers (#defined to const)
* CONST is an enum value in the GCC source
Apparently, the build completes fine with Win32 threads.