[empathy] disable -Wstrict-prototypes as some GTK+ headers are bugged



commit bf79f1c56928a7270b679e5c35bff860440c077e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Oct 20 16:18:37 2009 +0100

    disable -Wstrict-prototypes as some GTK+ headers are bugged

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e578e57..8f1772c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,9 +117,10 @@ ifelse(empathy_nano_version, 0, [],
 
 AS_COMPILER_FLAG(-Wdeclaration-after-statement, ERROR_CFLAGS="$ERROR_CFLAGS -Wdeclaration-after-statement")
 AS_COMPILER_FLAG(-Wshadow, ERROR_CFLAGS="$ERROR_CFLAGS -Wshadow")
-AS_COMPILER_FLAG(-Wstrict-prototypes, ERROR_CFLAGS="$ERROR_CFLAGS -Wstrict-prototypes")
 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")
 
 AC_SUBST(ERROR_CFLAGS)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]