From 89325fbff8a6272af337e41ede329406a8c9d386 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Thu, 19 Feb 2026 02:57:25 +0100 Subject: [PATCH] CI: force c11 for wlroots compilation (#3385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Works around `initialization discards ‘const’ qualifier from pointer target type` Already fixed in wlroots master and 0.19.3 but that one has not yet been merged. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 664e9ead..ba7406cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -251,7 +251,7 @@ jobs: cd "$GITHUB_WORKSPACE" export CC=gcc meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined \ - --werror --force-fallback-for=wlroots + --werror --force-fallback-for=wlroots -Dwlroots:c_std=c11 meson compile -C build-gcc-leak LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak ' | $TARGET @@ -263,7 +263,7 @@ jobs: cd "$GITHUB_WORKSPACE" export CC=clang meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined \ - --werror --force-fallback-for=wlroots + --werror --force-fallback-for=wlroots -Dwlroots:c_std=c11 meson compile -C build-clang-leak LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak ' | $TARGET