This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] config: Check for and use gcc -Wlogical-op and -Wduplicated-cond.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 15 Feb 2016 23:49:59 +0100
- Subject: Re: [PATCH] config: Check for and use gcc -Wlogical-op and -Wduplicated-cond.
On Tue, Feb 09, 2016 at 04:12:30PM +0100, Mark Wielaard wrote:
> Both -Wlogical-op and -Wduplicated-cond may produce useful warnings.
> But we have to check them first. Older versions of gcc had a -Wlogical-op
> that warned on some constructs using macros that are not erronious.
> Only GCC6 has -Wduplicated-cond.
I pushed this to master.