Problem C++ reserved words

Eric.Entressangle@alcatel.fr Eric.Entressangle@alcatel.fr
Tue May 20 13:37:00 GMT 2003


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





More information about the Gcc-help mailing list