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
This commit is contained in:
emersion 2019-03-12 10:30:01 +01:00 committed by Drew DeVault
parent c9137cba69
commit 408eca7dfa

View file

@ -31,7 +31,6 @@ add_project_arguments(cc.get_supported_arguments([
'-Wpointer-arith', '-Wpointer-arith',
'-Winit-self', '-Winit-self',
'-Wstrict-prototypes', '-Wstrict-prototypes',
'-Wredundant-decls',
'-Wimplicit-fallthrough=2', '-Wimplicit-fallthrough=2',
'-Wendif-labels', '-Wendif-labels',
'-Wstrict-aliasing=2', '-Wstrict-aliasing=2',