[Bug c/67115] New: [MinGW64] name conflict with system headers (identifier "CONST")
sliwa at ifpan dot edu.pl
gcc-bugzilla@gcc.gnu.org
Tue Aug 4 11:02:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list