This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 'extern "C" { ...}' and 'ANSI C++ forbids ...'
- To: Konstantin Baumann <kostab at ESCHER dot UNI-MUENSTER dot DE>
- Subject: Re: 'extern "C" { ...}' and 'ANSI C++ forbids ...'
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 15 Jul 1999 11:35:13 -0600
- cc: egcs at egcs dot cygnus dot com, egcs-bugs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <378DC6EF.B77D653D@math.uni-muenster.de>you write:
> I think this an error, because the <X11/Xlib.h>-header-file is included in
> "C"-mode not in "C++"-mode!
>
> Is there a switch to turn this behavior off (or a workaround)?
-fpermissive
jeff