[PATCH] Introduce -Wimplicit-fallthrough={0,1,2,3,4,5}

Bernd Schmidt bschmidt@redhat.com
Tue Oct 11 22:52:00 GMT 2016

On 10/12/2016 12:34 AM, Bernd Schmidt wrote:

>>     * c.opt (Wextra): Add as C/C++/ObjC/ObjC++ option.
>>     (Wimplicit-fallthrough=): Enable for these languages by -Wextra.
> This bit looks like it does a bit more magic than is immediately
> obvious. Could you elaborate how this works?

Ok, so it looks like these are just declarations for things defined in 
common.opt - but why not move Wimplicit-fallthrough over to c.opt 
entirely, or alternatively keep everything in common.opt as it is now? I 
feel like I'm missing something.


More information about the Gcc-patches mailing list