From 219054c0ef564a6897bf457789a9317d68af9d74 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Wed, 5 Feb 2025 21:07:26 +0100 Subject: [PATCH] Don't build tests with -Werror -Werror should never be enabled unconditionally since warnings are specific to the toolchain used Newer or different toolchain may introduce not-yet-seen warnings, breaking the build for people who just want to build wayland-rotocols See https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/241 Signed-off-by: Nicolas Fella --- tests/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index aa216ec..cffb4f7 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -108,7 +108,7 @@ foreach protocol_file : protocol_files '-std=c99', '-pedantic', '-Wall', - '-Werror' ], + ], install: false, ) test(test_name, pedantic_test_executable) @@ -134,7 +134,6 @@ foreach protocol_file : protocol_files dependencies: libwayland, cpp_args: [ '-Wall', - '-Werror', ], install: false, )