Change default level for -Wimplicit-fallthrough
Jeff Law
law@redhat.com
Fri Dec 2 17:26:00 GMT 2016
On 11/03/2016 05:51 AM, Bernd Schmidt wrote:
> I'm concerned about the number of false positives for this warning, and
> judging by previous discussions, I'm not alone in this. This patch
> limits it to level 1 (any comment before the case label disables the
> warning) for cases where the user specified no explicit level. It'll
> still generate enough noise that people will be aware of it and can
> choose whether to use a higher level or not.
>
> Bootstrapped and tested on x86_64-linux. Ok?
I think we should wait for the distro builds to fire up and see how the
warning impacts them before making a decision on this patch.
jeff
More information about the Gcc-patches
mailing list