From 2e63de5c0a7c3d9d64908d55ec99aaa5f50ff6b9 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Tue, 7 Feb 2012 18:20:14 -0500 Subject: [PATCH] Add -Wno-error=deprecated declarations Even with --enable-compile-warnings=error, avoid erroring out on deprecations for the moment, since we are hitting many Clutter deprecations and some are hard to fix. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index da8e1d63d..465daebe3 100644 --- a/configure.in +++ b/configure.in @@ -470,7 +470,7 @@ if test "$enable_compile_warnings" != no ; then if test "$enable_compile_warnings" = error; then case " $CFLAGS " in *[\ \ ]-Werror[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Werror" ;; + *) CFLAGS="$CFLAGS -Werror -Wno-error=deprecated-declarations" ;; esac fi fi