summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2014-08-23 10:54:41 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2014-08-23 10:54:41 +0000
commit1154b9820c9f8f59b8186bb296a36eb93bd77d46 (patch)
tree8f0c08a14bbe13737aadb67a68b2d84cde030152
parentFix bug #1068987 LPE prespective_path crash inkscape (diff)
downloadinkscape-1154b9820c9f8f59b8186bb296a36eb93bd77d46.tar.gz
inkscape-1154b9820c9f8f59b8186bb296a36eb93bd77d46.zip
Add -Werror=deprecated-declarations to strictest (known failure) builds
(bzr r13341.1.150)
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c6bbc33f0..ad1c92f11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -847,6 +847,13 @@ if test "x$enable_strict_build" != "xno"; then
fi
fi
+# Disable all deprecated symbols if very strict build is requested.
+# TODO: Make this a default option for Gtk+ 2 or 3 builds as soon as
+# possible.
+if test "x$enable_strict_build" = "xhigh"; then
+ CPPFLAGS="-Werror=deprecated-declarations $CPPFLAGS"
+fi
+
# Check for Apple Mac OS X Carbon framework
carbon_ok=no
AC_MSG_CHECKING([for Mac OS X Carbon support])