From 6e797163bb07163026c77d9d328dee9e41f3a54f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Dec 2021 17:55:43 -0500 Subject: Suppress warning in glib headers This should really be done more precisely, but I can't be bothered. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 39ccf29..662ee96 100644 --- a/meson.build +++ b/meson.build @@ -44,9 +44,10 @@ if get_option('strict') c_warnings += [ '-Weverything', '-Wno-bad-function-cast', + '-Wno-c11-extensions', # Glib + '-Wno-implicit-fallthrough', # Really for clang < 12 '-Wno-padded', '-Wno-reserved-id-macro', - '-Wno-implicit-fallthrough', # Really for clang < 12 ] elif cc.get_id() == 'gcc' c_warnings += [ -- cgit v1.2.1