From 773b5d9065160816d1b61195e46190969b88e081 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 17 May 2024 19:37:45 +0200 Subject: [PATCH] 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: '' may be used uninitialized [-Werror=maybe-uninitialized] Ignore it like the rest. Fixes #214 --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e8307b325d..e7024093a8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,7 +22,7 @@ jobs: run: | # XXX: cygwin still uses gcc v11 so we get new warnings with v13, # resulting in errors due to -Werror. Disable them for now. - export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free" + export CXXFLAGS="-Wno-error=stringop-truncation -Wno-error=array-bounds -Wno-error=overloaded-virtual -Wno-narrowing -Wno-use-after-free -Wno-error=maybe-uninitialized" (cd winsup && ./autogen.sh) ./configure --disable-dependency-tracking make -j8