From 76a68867f8984e672d77739087206f33715a66ce Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 6 Dec 2024 13:43:04 +0000 Subject: [PATCH] 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 --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 33ed5c2e..77d7bb1d 100644 --- a/meson.build +++ b/meson.build @@ -1149,6 +1149,8 @@ else # a fixed signature but do not necessarily need all of its parameters '-Wno-missing-field-initializers', '-Wno-unused-parameter', + # We are not going to stop using deprecated functions on a stable branch + '-Wno-deprecated-declarations', # General warnings for both C and C++ # TODO: Some of these are probably redundant with Meson's warning_level