[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] checking if gcc supports -fno-rtti -fno-exceptions... no

From: Gerrit P. Haase
Subject: [BUG] checking if gcc supports -fno-rtti -fno-exceptions... no
Date: Mon, 4 Aug 2003 00:11:51 +0200


I use gcc-3.3 and see this output since I upgraded the compiler:

$ gcc -fno-rtti -fno-exceptions conftest.c -o conftest.o
cc1: warning: "-frtti" is valid for C++ but not for C/ObjC

which leads to this statement in the configure run:
 checking if gcc supports -fno-rtti -fno-exceptions... no

Why is gcc and not g++ tested with these flags?  And if you test to
compile C++ code with gcc than you should test with or
some file that is treated as C++ input by gcc and not with conftest.c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]