This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-Wswitch and default case
- From: Claus Fischer <claus dot fischer at clausfischer dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 24 Nov 2001 13:21:11 +0100
- Subject: -Wswitch and default case
It would be nice to have such a warning (reporting missing
cases in the presence of the default: label) but it should
be distinct from -Wswitch, IMHO. Give it a separate name,
if you do it.
Claus
--
Claus Fischer <claus.fischer@clausfischer.com>
http://www.clausfischer.com/