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.
This commit is contained in:
parent
7be8965225
commit
3103c68210
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue