From: Ben Pfaff Date: Mon, 22 Jul 2013 20:38:25 +0000 (-0700) Subject: configure: Remove -Wno-override-init, add -Wextra to compile options. X-Git-Tag: sliver-openvswitch-2.0.90-1~35^2~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9b437f0f741b9e906f8651b79a32eb2b2f05a675;hp=33e191a01b2c5aad1e97c109e66dec4b4d280ef6;p=sliver-openvswitch.git 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 --- 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