This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] Add GCC7 -Wimplicit-fallthrough support/fixes.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 10 Nov 2016 12:02:11 +0100
- Subject: Re: [PATCH] Add GCC7 -Wimplicit-fallthrough support/fixes.
On Wed, 2016-11-02 at 13:36 +0100, Mark Wielaard wrote:
> GCC7 will have a new -Wimplicit-fallthrough warning. It did catch one
> small buglet in elflint option procession. So it seems useful to enable
> to make sure all swatch case fallthroughs are deliberate.
> Add configure check to detect whether gcc support -Wimplicit-fallthrough
> and enable it. Add fixes and explicit fallthrough comments where necessary.
I pushed this to master now.