From: Eric Leblond Date: Fri, 1 Aug 2008 08:32:13 +0000 (+0200) Subject: compilation: set -Wno-ununused-parameter in CFLAGS X-Git-Tag: ulogd-2.0.0beta2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a1b8d30e31b3e06376005f832b71df2eef6399;p=thirdparty%2Fulogd2.git 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 --- 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