[Bug c/7652] -Wswitch-break : Warn if a switch case falls through
michael.chapman at cortus dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 30 15:45:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652
Michael Chapman <michael.chapman at cortus dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael.chapman at cortus dot com
--- Comment #21 from Michael Chapman <michael.chapman at cortus dot com> ---
Created attachment 32716
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32716&action=edit
Proposed patch
Patch to enable warnings (-Wswitch-fallthrough) when a switch case falls
through. Enabled by -Wall.
More information about the Gcc-bugs
mailing list