]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "ci: Apply warnings in CI"
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 14 Dec 2022 08:45:58 +0000 (09:45 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 14 Dec 2022 09:25:31 +0000 (10:25 +0100)
As discussed in
<https://inbox.sourceware.org/gcc-patches/871qpjtmd8.fsf@euler.schwinge.homeip.net>:

> '-Werror=overloaded-virtual' is implied as by default, we have
> '-Woverloaded-virtual' and '-Werror' [for '--enable-bootstrap' builds].
> ([...])
> (Maybe that isn't active for '--disable-bootstrap' builds, but that's
> "OK".)

For '--disable-bootstrap' builds, we still have '-Woverloaded-virtual', and any
new such diagnostics will be caught by the #1026 "check for new warnings"
machinery, so effectively that does implement '-Werror', too.

> '-Wno-unused-parameter' [did] move into
> 'rust-warn'

This reverts #1585 commit a32ef7aa18c45e7047f539b11cd572f0f9502b6d.

.github/workflows/ccpp.yml

index 8c9f027cf365d4b5e9f9f87680d5db5008aa5c90..c7d27ce2fcd56acf8b54734a86dac8ff7e076dbe 100644 (file)
@@ -8,9 +8,6 @@ on:
   pull_request:
     branches: [ master ]
 
-env:
-  CXXFLAGS: "-Wno-unused-parameter -Werror=overloaded-virtual"
-
 jobs:
   build-and-check-ubuntu-64bit: