This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-Wswitch-enum and -Wswitch-default
- From: "Ching, Jimen \(US SSA\)" <jimen dot ching at baesystems dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Fri, 30 Mar 2007 11:07:55 -1000
- Subject: -Wswitch-enum and -Wswitch-default
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