Skip to content

Commit c06b847

Browse files
committed
CI: fix the build with gcc 13
1 parent 51d6bfa commit c06b847

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Build
2121
shell: msys2 {0}
2222
run: |
23+
# XXX: cygwin still uses gcc v11 so we get new warnings with v13,
24+
# resulting in errors due to -Werror. Disable them for now.
25+
export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free"
2326
(cd winsup && ./autogen.sh)
2427
./configure --disable-dependency-tracking --with-msys2-runtime-commit="$GITHUB_SHA"
2528
make -j8

0 commit comments

Comments
 (0)