This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/35502] -Wall should include -Wswitch-default
- From: "jeff at schwabcenter dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2008 23:24:36 -0000
- Subject: [Bug debug/35502] -Wall should include -Wswitch-default
- References: <bug-35502-15879@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jeff at schwabcenter dot com 2008-03-07 23:24 -------
Created an attachment (id=15278)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15278&action=view)
Fix for this bug
Setting warn_switch_default = value in the OPT_Wall case of
c_common_handle_option (in gcc/c-opts.c) fixes the problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35502