This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]