From ae5462a53bda592d6bcf1ac082a52c85012e52c2 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Nov 2023 15:31:10 +0100 Subject: [PATCH] CI: fix the build with gcc 13 --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1775bb9117..f89cfcb46c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,6 +20,11 @@ jobs: - name: Build shell: msys2 {0} run: | + # XXX: cygwin still uses gcc v11 so we get new warnings with v13, + # resulting in errors. We can't selectively disable warnigns since our + # cross compiler is also too old and doesn't understand the new + # warning flags, so we need to disable all errors for now. + export CXXFLAGS="-Wno-error -Wno-narrowing" (cd winsup && ./autogen.sh) ./configure --disable-dependency-tracking make -j8