Skip to content

Commit

Permalink
CI: fix the build with gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka authored and dscho committed Aug 27, 2024
1 parent cf56ccd commit 083c245
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Build
shell: msys2 {0}
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"
(cd winsup && ./autogen.sh)
./configure --disable-dependency-tracking
make -j8
Expand Down

0 comments on commit 083c245

Please sign in to comment.