From 9b437f0f741b9e906f8651b79a32eb2b2f05a675 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 22 Jul 2013 13:38:25 -0700 Subject: [PATCH] configure: Remove -Wno-override-init, add -Wextra to compile options. The build is clean against -Wextra at least with GCC 4.4. (-Wextra includes -Woverride-init.) Suggested-by: Alex Wang Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2f3e4741a..170a85221 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 -- 2.43.0