[llvm] r174770 - configure: when performing a compiler feature test for a -Wno-foo flag, attempt

Richard Smith richard at metafoo.co.uk
Fri Feb 8 17:35:25 PST 2013


On Fri, Feb 8, 2013 at 3:14 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> Hi Richard,
>
> On Sat, Feb 9, 2013 at 12:55 AM, Richard Smith
> <richard-llvm at metafoo.co.uk> wrote:
> > Author: rsmith
> > Date: Fri Feb  8 16:55:10 2013
> > New Revision: 174770
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=174770&view=rev
> > Log:
> > configure: when performing a compiler feature test for a -Wno-foo flag,
> attempt
> > to use -Wfoo instead of -Wno-foo. This works around a bug in some
> versions of
> > gcc, where it will silently accept an unknown -Wno-foo option, but will
> > generate an error for a compile which uses -Wno-foo if that compile also
> > triggers any warnings.
>
> Can we now remove the workaround from configure.ac at lines 1280--1304?


I believe so, yes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130208/6e8c5911/attachment.html>


More information about the llvm-commits mailing list