[clutter] build: Disable deprecation warnings with --enable-deprecated
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] build: Disable deprecation warnings with --enable-deprecated
- Date: Tue, 11 Oct 2011 22:09:18 +0000 (UTC)
commit ef0e52f0e184f42eaf66116b371eb2013f39328c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Oct 11 23:06:06 2011 +0100
build: Disable deprecation warnings with --enable-deprecated
Just like we turn everything on with --disable-deprecated, we have to
turn everything off with --enable-deprecated. This means disabling the
deprecation warnings from the compiler as well.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a0bce59..4606dd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -741,7 +741,7 @@ AS_CASE([$enable_deprecated],
[yes],
[
- CLUTTER_DEPRECATED_CFLAGS=""
+ CLUTTER_DEPRECATED_CFLAGS="-DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS"
],
[AC_MSG_ERROR([Unknown argument for --enable-deprecated])]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]