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.


Bernd

Reply via email to