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:42:27 -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 #6 from jeff at schwabcenter dot com 2008-03-07 23:42 -------
> Is there any particular reason for changing the docs, rather than the code?
Kindly disregard that question. I have just been informed by a co-worker that
some of our third-party library headers include switch statements without
default cases, so adding -Wswitch-default to -Wall would make our lives more
difficult, anyway. :(
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35502