C/C++ PATCH to add -Wdangling-else option
Marek Polacek
polacek@redhat.com
Wed May 4 15:43:00 GMT 2016
On Wed, May 04, 2016 at 03:39:19PM +0000, Joseph Myers wrote:
> On Wed, 4 May 2016, Marek Polacek wrote:
>
> > On Tue, Apr 26, 2016 at 03:03:25PM +0200, Bernd Schmidt wrote:
> > > On 04/26/2016 02:39 PM, Jakub Jelinek wrote:
> > > > I support that change, and -Wparentheses will still enable this, it just
> > > > gives more fine-grained control and be in line with what clang does.
> > > >
> > > > Bernd, how much are you against this change?
> > >
> > > Don't really care that much, I just don't quite see the point. Don't let me
> > > stop you though.
> >
> > So Joseph, what do you think about this patch? :)
>
> I support adding the option for more fine-grained control of these
> warnings.
Thanks. I'll commit the patch then.
Marek
More information about the Gcc-patches
mailing list