diff options
author | Ben Pfaff <blp@nicira.com> | 2010-07-30 14:47:29 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-07-30 16:04:29 -0700 |
commit | 52af5b998fbb1b0914e995fe6f21378e394914eb (patch) | |
tree | 2bc099048b5bba7cd9afbd23405c8d661a33892d /configure.ac | |
parent | 5682f723319241223baa7250ed215e1359dd6d8c (diff) |
sflow: Avoid "unused parameter" warnings from GCC 4.4.
With GCC -Wno-unused by itself isn't enough to avoid "unused parameter"
warnings, since we also use -Wunused-parameter. We also need to check for
and use -Wno-unused-parameter.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dad2fb9e..04ffe6e8 100644 --- a/configure.ac +++ b/configure.ac @@ -86,6 +86,7 @@ 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]) AC_ARG_VAR(KARCH, [Kernel Architecture String]) AC_SUBST(KARCH) |