From d8a1b8d30e31b3e06376005f832b71df2eef6399 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Fri, 1 Aug 2008 10:32:13 +0200 Subject: compilation: set -Wno-ununused-parameter in CFLAGS This patch adds the "-Wno-unused-parameter" option to CFLAGS. This suppress gcc warning that can not be fixed due to the usage of generic system like callback where function definition has to be standardized. Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 96cc2d0..8889575 100644 --- a/configure.in +++ b/configure.in @@ -30,7 +30,7 @@ dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS(socket strerror) -CFLAGS="$CFLAGS -Wall -Wextra" +CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" dnl Check for the right nfnetlink version LIBNFNETLINK_REQUIRED=0.0.39 -- cgit v1.2.3