[mutter] Add -Wno-error=deprecated declarations
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Add -Wno-error=deprecated declarations
- Date: Tue, 7 Feb 2012 23:30:47 +0000 (UTC)
commit 2e63de5c0a7c3d9d64908d55ec99aaa5f50ff6b9
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Tue Feb 7 18:20:14 2012 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index da8e1d6..465daeb 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]