From d3d0ca42cff5133bf5e42c4997a17546c5c85d81 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Mon, 11 Nov 2019 17:29:32 +0000 Subject: [PATCH] build: Disable -Wdeclaration-after-statement It's inconsistent to ask for this in warning_cflags, and immediately disable it in no_warning_cflags. Signed-off-by: Simon McVittie <smcv@collabora.com> --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index 224749902..2d4b1a71a 100644 --- a/meson.build +++ b/meson.build @@ -43,7 +43,6 @@ warning_cflags = [ '-Wextra', '-Warray-bounds', '-Wcast-align', - '-Wdeclaration-after-statement', '-Wdouble-promotion', '-Wduplicated-branches', '-Wduplicated-cond', -- GitLab