This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Fix complain_wrong_lang


Jakub Jelinek wrote:-

> gcc -xc /dev/null -fno-rtti -S -o /dev/null
> cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
> 
> is quite confusing, because the user did not pass -frtti but -fno-rtti.
> The following patch fixes it.
> Ok to commit? What about gcc-3_3-branch?

Sure.  This will be done more nicely in opts.c once all options
are handled in the same place.

Neil.


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