[gnome-shell] Add -Wno-error=deprecated declarations
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Add -Wno-error=deprecated declarations
- Date: Tue, 7 Feb 2012 23:32:15 +0000 (UTC)
commit e3d0b6f90f2c64aa52de357a7aac3e3cd33455f4
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.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 33e79db..b33f99b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,7 +199,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]