From e4d4e975421473079ab6b8d92988ac422cacf8a7 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Thu, 23 Mar 2017 16:59:03 +0100 Subject: [PATCH] Suppress unused parameter warnings when we can't help it --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 2d5deeab..43d653e3 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,7 @@ AX_CHECK_COMPILE_FLAG([-Wall],[CFLAGS="$CFLAGS -Wall"],[],[]) AX_CHECK_COMPILE_FLAG([-Wextra],[CFLAGS="$CFLAGS -Wextra"],[],[]) AX_CHECK_COMPILE_FLAG([-Wpedantic],[WPEDANTICFLAG="-Wpedantic"],[],[]) AX_CHECK_COMPILE_FLAG([-Wno-error=unused-parameter],[WNOERRORFLAG="-Wno-error=unused-parameter"],[],[]) +AX_CHECK_COMPILE_FLAG([-Wno-unused-parameter],[WNOERRORFLAG="$WNOERRORFLAG -Wno-unused-parameter"],[],[]) AC_SUBST(WPEDANTICFLAG) AC_SUBST(WNOERRORFLAG)