Acked-by: Ethan Jackson <et...@nicira.com>

On Fri, Jul 19, 2013 at 10:57 AM, Ben Pfaff <b...@nicira.com> wrote:
> The build is clean against -Wextra at least with GCC 4.4.
>
> (-Wextra includes -Woverride-init.)
>
> Suggested-by: Alex Wang <al...@nicira.com>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 2f3e474..170a852 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -89,6 +89,7 @@ OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(8)
>  OVS_CHECK_POSIX_AIO
>
>  OVS_ENABLE_OPTION([-Wall])
> +OVS_ENABLE_OPTION([-Wextra])
>  OVS_ENABLE_OPTION([-Wno-sign-compare])
>  OVS_ENABLE_OPTION([-Wpointer-arith])
>  OVS_ENABLE_OPTION([-Wdeclaration-after-statement])
> @@ -102,7 +103,6 @@ OVS_ENABLE_OPTION([-Wstrict-prototypes])
>  OVS_ENABLE_OPTION([-Wold-style-definition])
>  OVS_ENABLE_OPTION([-Wmissing-prototypes])
>  OVS_ENABLE_OPTION([-Wmissing-field-initializers])
> -OVS_ENABLE_OPTION([-Wno-override-init])
>  OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED])
>  OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter], 
> [HAVE_WNO_UNUSED_PARAMETER])
>  OVS_ENABLE_WERROR
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
X-CudaMail-Whitelist-To: dev@openvswitch.org
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to