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
master
emersion 6 years ago committed by Drew DeVault
parent c9137cba69
commit 408eca7dfa

@ -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',

Loading…
Cancel
Save