From 99b8001f7d6456cddd4db254016321e4e9449353 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Nov 2023 15:31:10 +0100 Subject: [PATCH 53/N] 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 1775bb9..f89cfcb 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