This is the mail archive of the gcc-help@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]

Problem C++ reserved words


Hi,

I'm currently trying to compile C code embedded in C++.
I surrounded the 'include' instructions including C files with Extern "C",
but I get an error when gcc tries to compile variables which have the same
name than C++ reserved words : 'operator' and 'bool'. And yet these are not
reserved words in C, are they ? Is there a special option to turn on to
make gcc compile these lines anyway ?

Thanks for help




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]