[PATCH] Fix complain_wrong_lang
Neil Booth
neil@daikokuya.co.uk
Wed Jun 11 19:42:00 GMT 2003
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.
More information about the Gcc-patches
mailing list