[Bug c++/78920] libstdc++ defines a macro named "major"

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 24 04:40:00 GMT 2016


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This comes from glibc headers. G++ defines _GNU_SOURCE which is why this
happens.  There is a duplicate already.


More information about the Gcc-bugs mailing list