From 408eca7dfa12eda0f1b0ec6050e99ee2e6a8f2b4 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 12 Mar 2019 10:30:01 +0100 Subject: [PATCH] meson: remove -Wredundant-decls This is causing issues with wayland-scanner generated files. The client and server headers are declaring the same structs. We include both in the Wayland backend. See https://gitlab.freedesktop.org/wayland/wayland/issues/82 --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index dc4ff248..f5739fd2 100644 --- a/meson.build +++ b/meson.build @@ -31,7 +31,6 @@ add_project_arguments(cc.get_supported_arguments([ '-Wpointer-arith', '-Winit-self', '-Wstrict-prototypes', - '-Wredundant-decls', '-Wimplicit-fallthrough=2', '-Wendif-labels', '-Wstrict-aliasing=2',