From 24915e378ea1cd185acb406e4f69ddb029f6aea2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 21 Feb 2011 11:57:56 +0100 Subject: [PATCH] re-enable strict-prototypes warning It seems that GTK+ has been fixed --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c7d18a0b..80aa724f 100644 --- a/configure.ac +++ b/configure.ac @@ -133,8 +133,7 @@ AS_COMPILER_FLAG(-Wdeclaration-after-statement, ERROR_CFLAGS="$ERROR_CFLAGS -Wde AS_COMPILER_FLAG(-Wshadow, ERROR_CFLAGS="$ERROR_CFLAGS -Wshadow") AS_COMPILER_FLAG(-Wmissing-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-prototypes") AS_COMPILER_FLAG(-Wmissing-declarations, ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-declarations") -# Disabled because some GTK+ headers (like gtkitemfactory.h) are bugged :( -#AS_COMPILER_FLAG(-Wstrict-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wstrict-prototypes") +AS_COMPILER_FLAG(-Wstrict-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wstrict-prototypes") AC_SUBST(ERROR_CFLAGS) -- 2.39.2