From 0fea1a47759579b1a84c4571970fdde8458ce16d Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Thu, 7 Feb 2019 13:01:16 +0100 Subject: [PATCH] Silenting unused parameter warnings due to deprecated code --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 52c0ec44a..758959f6e 100644 --- a/meson.build +++ b/meson.build @@ -352,6 +352,8 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang' '-Wmisleading-indentation', '-Wstrict-prototypes', '-Wunused', + # Due to maintained deprecated code, we do not want to see unused parameters + '-Wno-unused-parameter', # Due to pervasive use of things like GPOINTER_TO_UINT(), we do not support # building with -Wbad-function-cast. '-Wno-bad-function-cast',