From 0e12201039bf9edd5459110391b316da0c6991ed Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 14 Jun 2018 14:49:23 -0700 Subject: configure: Enable GCC relevant new 8.x warning options. These don't trigger any new actual warnings in my own build. GCC 8.x adds other new warning options that are enabled by -Wall or -Wextra. This commit doesn't explicitly enable those because OVS already enables -Wall and -Wextra. Signed-off-by: Ben Pfaff Acked-by: Aaron Conole --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 09e5888d4..09464cab0 100644 --- a/configure.ac +++ b/configure.ac @@ -172,6 +172,8 @@ OVS_ENABLE_OPTION([-Wshift-negative-value]) OVS_ENABLE_OPTION([-Wduplicated-cond]) OVS_ENABLE_OPTION([-Qunused-arguments]) OVS_ENABLE_OPTION([-Wshadow]) +OVS_ENABLE_OPTION([-Wmultistatement-macros]) +OVS_ENABLE_OPTION([-Wcast-align=strict]) OVS_ENABLE_OPTION([-Wno-null-pointer-arithmetic]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter], [HAVE_WNO_UNUSED_PARAMETER]) -- cgit v1.2.1