[Bug debug/35502] -Wall should include -Wswitch-default
jeff at schwabcenter dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 7 23:22:00 GMT 2008
------- Comment #1 from jeff at schwabcenter dot com 2008-03-07 23:21 -------
Created an attachment (id=15277)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15277&action=view)
Preprocessed sample code
Compiling the attached file with g++ -Wall should produce "warning: switch
missing default case".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35502
More information about the Gcc-bugs
mailing list