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]

Re: 'extern "C" { ...}' and 'ANSI C++ forbids ...'


  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


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