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

Ed Maste emaste at freebsd.org
Fri Jun 21 17:12:24 UTC 2013

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.

More information about the dev mailing list