Skip to content

Commit

Permalink
fixup! CI: fix the build with gcc 13
Browse files Browse the repository at this point in the history
We've upgraded our cross compiler to gcc 13 now, so the workaround
can be removed
  • Loading branch information
lazka authored and dscho committed Dec 23, 2023
1 parent d40e640 commit 76fd7ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jobs:
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"
# 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 76fd7ea

Please sign in to comment.