From 1e418c33cbe83b9508bf0b803b77d6f13cd630fc Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Tue, 29 Nov 2022 15:53:30 +0900 Subject: [PATCH] ARROW-18409: [GLib][Plasma] Suppress deprecated warning in building plasma-glib (#14739) If we always get "Plasma is deprecated since Arrow 10.0.0. ..." warning from plasma/common.h, we can't use -Dwerror=true Meson option with plama-glib. Authored-by: Sutou Kouhei Signed-off-by: Sutou Kouhei --- c_glib/plasma-glib/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/c_glib/plasma-glib/meson.build b/c_glib/plasma-glib/meson.build index df2b67b9c2610..50b0be0b31dc5 100644 --- a/c_glib/plasma-glib/meson.build +++ b/c_glib/plasma-glib/meson.build @@ -49,6 +49,7 @@ dependencies = [ ] cpp_args = [ '-DG_LOG_DOMAIN="Plasma"', + '-D_PLASMA_NO_DEPRECATE', ] pkg_config_requires = [ 'plasma',