g++ no longer ignoring some warning flags?

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu Sep 30 19:57:00 GMT 1999


 > From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
 >  
 > 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.
 >  
 > We could issue warnings instead of errors, but being silent in that case
 > is not a good solution, IMHO.
 >  
 > Gerald


	Issuing warnings would be fine with me.  As long as it doesn't
hard error, my bootstrap will continue and I will be happy.

		--Kaveh

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions



More information about the Gcc-bugs mailing list