From cc0e2978a41b8532b9a51e6a91a3f5fefb98db6e Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 18 Nov 2021 11:58:18 +0000 Subject: [PATCH] build: Disable -Wvariadic-macros We explicitly require support for variadic macros; see https://wiki.gnome.org/Projects/GLib/CompilerRequirements. Signed-off-by: Philip Withnall --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index ef75306c2..c29570f2d 100644 --- a/meson.build +++ b/meson.build @@ -442,6 +442,8 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang' '-Wno-pedantic', # A zero-length format string shouldn't be considered an issue. '-Wno-format-zero-length', + # We explicitly require variadic macros + '-Wno-variadic-macros', '-Werror=declaration-after-statement', '-Werror=format=2', '-Werror=implicit-function-declaration',