-Wswitch-enum and -Wswitch-default
Ching, Jimen (US SSA)
jimen.ching@baesystems.com
Fri Mar 30 21:52:00 GMT 2007
Hi,
I'm using g++ 4.1.1 under Fedora Core 5 in an X86 system.
I read the GCC manual and it says -Wall includes the -Wswitch-enum
and -Wswitch-default warnings. But I had to supply these command
line options explicitly before the warnings are generated. Is the
manual wrong or is there a bug in g++?
Thanks in advance for any help.
--jc
--
BAE Systems NS I&S
810 Richards Street, Ste. 124
Honolulu, HI 96813
Phone: 808 441-2563
More information about the Gcc
mailing list