From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4280628555540041801==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] Add GCC7 -Wimplicit-fallthrough support/fixes. Date: Thu, 10 Nov 2016 12:02:11 +0100 Message-ID: <1478775731.14569.108.camel@redhat.com> In-Reply-To: 1478090218-25255-1-git-send-email-mjw@redhat.com --===============4280628555540041801== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 necessar= y. I pushed this to master now. --===============4280628555540041801==--