g++ no longer ignoring some warning flags?

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu Sep 23 07:11:00 GMT 1999


	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:

 > ./xgcc -B/usr/local/mips-sgi-irix6.2/bin/ -B./
 >        -I/usr/local/mips-sgi-irix6.2/include -O2 -DIN_GCC -W -Wall
 >        -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 >        -Wwrite-strings -Wmissing-noreturn -Wcast-qual -Wtraditional
 >        -Wbad-function-cast -Wunreachable-code -O2 -g -I./include -g1
 > 	-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g -O2 -I. -I. -I./config
 > 	-I./../include -c ./cp/tinfo.cc
 > 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?

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


More information about the Gcc-bugs mailing list