[ovs-dev] autoconf test OVS_ENABLE_OPTION fails to detect options unsupported by clang

Ben Pfaff blp at nicira.com
Mon Jun 24 19:27:11 UTC 2013

On Fri, Jun 21, 2013 at 01:12:24PM -0400, Ed Maste wrote:
> On 21 June 2013 12:05, Ben Pfaff <blp at nicira.com> wrote:
> > By default, clang warns about but does not fail on unknown -W options.
> > This made configure add the option to WARNING_FLAGS, which caused the
> > warning about not-understood warnings to be emitted for every file
> > compiled.
> >
> > In combination with -Werror, clang does fail on unknown -W options.  This
> > commit adds -Werror during configure's warning tests, which should cause
> > the not-understood warnings to be detected that way.
> >
> > Reported-by: Ed Maste <emaste at freebsd.org>
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> Thanks Ben, looks good and it works for me.

Applied to master, thanks.  Let me know if you want this backported to
older branches.

More information about the dev mailing list