aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-08-04 19:08:30 +0200
committerTobias Brunner <tobias@strongswan.org>2015-08-04 19:08:30 +0200
commit3103c68210754071b3b7913482e4e8e7339084b0 (patch)
treee11f766c79def82e6f59ec38583eb9ae95b7eb0b
parent7be8965225a9fb13469b9d82ad4ddc8f4b9e678a (diff)
downloadstrongswan-3103c68210754071b3b7913482e4e8e7339084b0.tar.bz2
strongswan-3103c68210754071b3b7913482e4e8e7339084b0.tar.xz
configure: Explicitly disable unused parameter warnings in qsort_r test
When compiling with -Wextra (and without disabling these warnings globally) the tests would otherwise fail due to the unused arguments in the cmp() functions. Fixes #1053.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6b0c56bb5..fed485488 100644
--- a/configure.ac
+++ b/configure.ac
@@ -553,7 +553,7 @@ AC_CHECK_FUNC(
# set -Werror so that we get an error for "argument ... has
# incompatible pointer type" warnings
save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Werror"
+ CFLAGS="$CFLAGS -Werror -Wno-unused-parameter"
AC_MSG_CHECKING([for GNU-style qsort_r])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(