aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-20 23:18:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-23 19:03:35 +0800
commitbf79f1c56928a7270b679e5c35bff860440c077e (patch)
treea36c686bf87e09ceb2d5e1f9c5372e0cae0519a9
parentcc88cb87e38a54bb73926a2dbe67be416ef1cbd6 (diff)
downloadgsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.tar
gsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.tar.gz
gsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.tar.bz2
gsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.tar.lz
gsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.tar.xz
gsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.tar.zst
gsoc2013-empathy-bf79f1c56928a7270b679e5c35bff860440c077e.zip
disable -Wstrict-prototypes as some GTK+ headers are bugged
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e578e57c5..8f1772c7a 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)