Skip to content

Commit 2bfc1b4

Browse files
committed
CI: set -Wno-error=maybe-uninitialized
After the update of msys2-w32api from v11.0.1 to current master (and soon to be v12) we get: winsup/cygwin/exceptions.cc:1736:33: error: '<anonymous>' may be used uninitialized [-Werror=maybe-uninitialized] Ignore it like the rest. Fixes #214
1 parent 69c6293 commit 2bfc1b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
# XXX: cygwin still uses gcc v11 so we get new warnings with v13,
2424
# 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"
25+
export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free -Wno-error=maybe-uninitialized"
2626
(cd winsup && ./autogen.sh)
2727
./configure --disable-dependency-tracking --with-msys2-runtime-commit="$GITHUB_SHA"
2828
make -j8

0 commit comments

Comments
 (0)