summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-10-30 12:31:03 +0000
committerSimon McVittie <smcv@collabora.com>2022-09-22 12:23:27 +0100
commitad1d223ada67e94e9ef873cef168b26e852b4b8a (patch)
tree6652b8f4d692eafbf2e5323de75fe9862cffa00a
parentff363d1bb0ff80a95d88eaa00e89d019ca7bb325 (diff)
downloaddbus-ad1d223ada67e94e9ef873cef168b26e852b4b8a.tar.gz
Disable deprecation warnings for stable branch
We're not going to replace deprecated functions here, similar to commit 88e0ccb2 in the dbus-1.10 branch. Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit 93efaf78732176602e42cb8c8b25e19c3d538f1a)
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d1055514..34ce4163 100644
--- a/configure.ac
+++ b/configure.ac
@@ -321,9 +321,12 @@ fi
dnl Intentional:
dnl - $DISABLE_WARNINGS disables unused-label warnings if not
dnl checking or not asserting (tested further below)
+dnl - we are not going to stop using deprecated functions on a stable
+dnl branch
dnl - missing field initializers being 0 is a C feature, not a bug
dnl - unused-parameter is to make writing callbacks less annoying
DISABLE_WARNINGS="$DISABLE_WARNINGS
+ -Wno-deprecated-declarations
-Wno-missing-field-initializers
-Wno-unused-parameter"