This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
> As far as I can tell neither "major" nor "minor" are keywords. They are not gcc reserved names, but *glibc* reserved names! Indeed, try reducing your testcase to something not including <iostream> and the problem will go away, since <iostreams> ends up including /usr/include/sys/sysmacros.h which defines the macros "major" and "minor". Ciao, Paolo.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |