This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix complain_wrong_lang
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 20:36:42 +0100
- Subject: Re: [PATCH] Fix complain_wrong_lang
- References: <20030611084734.GS24872@sunsite.ms.mff.cuni.cz>
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.