[ovs-dev] [PATCH] configure: Disable -Wnull-pointer-arithmetic Clang warning.
Ben Pfaff
blp at ovn.org
Mon Jul 9 21:37:55 UTC 2018
OVS trips over this warning all over the place, so it's not worth leaving
on.
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index af570b32012d..c89c607c7124 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,6 +171,7 @@ OVS_ENABLE_OPTION([-Wshift-negative-value])
OVS_ENABLE_OPTION([-Wduplicated-cond])
OVS_ENABLE_OPTION([-Qunused-arguments])
OVS_ENABLE_OPTION([-Wshadow])
+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])
OVS_ENABLE_WERROR
--
2.16.1
More information about the dev
mailing list