mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
ci: add -Dno-discarded-qualifiers
...whenever --force-fallback-for=wlroots is used to avoid error
../subprojects/wlroots/xcursor/xcursor.c: In function ‘xcursor_next_path’:
../subprojects/wlroots/xcursor/xcursor.c:605:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
605 | char *colon = strchr(path, ':');
| ^~~~~~
This commit is contained in:
parent
477bae1422
commit
bd6ed09e39
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -251,6 +251,7 @@ jobs:
|
|||
cd "$GITHUB_WORKSPACE"
|
||||
export CC=gcc
|
||||
meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined \
|
||||
-Dno-discarded-qualifiers \
|
||||
--werror --force-fallback-for=wlroots
|
||||
meson compile -C build-gcc-leak
|
||||
LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak
|
||||
|
|
@ -263,6 +264,7 @@ jobs:
|
|||
cd "$GITHUB_WORKSPACE"
|
||||
export CC=clang
|
||||
meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined \
|
||||
-Dno-discarded-qualifiers \
|
||||
--werror --force-fallback-for=wlroots
|
||||
meson compile -C build-clang-leak
|
||||
LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue