This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem C++ reserved words
- From: Eric dot Entressangle at alcatel dot fr
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 20 May 2003 15:37:38 +0200
- Subject: Problem C++ reserved words
- Sensitivity:
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