g++ no longer ignoring some warning flags?

Marc Espie espie@quatramaran.ens.fr
Thu Sep 30 19:57:00 GMT 1999


In article < Pine.GSO.4.10.9909231735320.9492-100000@markab.dbai.tuwien.ac.at > you write:
>On Thu, 23 Sep 1999, Kaveh R. Ghazi wrote:
>> I used to be able to bootstrap with special WARN_CFLAGS and
>> when g++ was run, it ignored the irrelevant ones.  Now I get an error
>> during bootstrap:
>>
>>> cc1plus: Invalid option `-Wstrict-prototypes'
>>> cc1plus: Invalid option `-Wmissing-declarations'
>>> cc1plus: Invalid option `-Wmissing-noreturn'
>>> cc1plus: Invalid option `-Wtraditional'
>>> cc1plus: Invalid option `-Wbad-function-cast'
>>> make[5]: *** [tinfo.o] Error 1
>>
>> 	This had worked as recently as Friday, 9/17.
>> 
>> Can we please restore the old behavior?
>
>Please don't!

>With the old behavior g++ would simply ignore these unsupported options
>silently, making the user believe that they *were* actually supported.

Err... some of these ARE implemented by g++. In fact, you can't
turn -Wstrict-prototypes -Werror off...




More information about the Gcc-bugs mailing list