diff options
author | Ben Pfaff <blp@ovn.org> | 2016-12-05 14:29:24 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-12-12 14:34:29 -0800 |
commit | 398b6657a6b9e534c2c4f99bc449083139b277ef (patch) | |
tree | b49eb19d35c33322ab035fcdbde9f61c4f5aac37 /configure.ac | |
parent | 726af75275ba5575a6d3fd4013db4d1d930e5cf7 (diff) | |
download | openvswitch-398b6657a6b9e534c2c4f99bc449083139b277ef.tar.gz |
configure: Enable new warning options added in GCC 5.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ece6bf327..b3ade95e5 100644 --- a/configure.ac +++ b/configure.ac @@ -158,6 +158,10 @@ OVS_ENABLE_OPTION([-Wmissing-prototypes]) OVS_ENABLE_OPTION([-Wmissing-field-initializers]) OVS_ENABLE_OPTION([-Wthread-safety]) OVS_ENABLE_OPTION([-fno-strict-aliasing]) +OVS_ENABLE_OPTION([-Wswitch-bool]) +OVS_ENABLE_OPTION([-Wlogical-not-parentheses]) +OVS_ENABLE_OPTION([-Wsizeof-array-argument]) +OVS_ENABLE_OPTION([-Wbool-compare]) OVS_ENABLE_OPTION([-Qunused-arguments]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter], [HAVE_WNO_UNUSED_PARAMETER]) |