mirror of
https://github.com/openvswitch/ovs
synced 2025-09-02 23:35:27 +00:00
configure: Disable -Wnull-pointer-arithmetic Clang warning.
OVS trips over this warning all over the place, so it's not worth leaving on. Signed-off-by: Ben Pfaff <blp@ovn.org> Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user