Upgrade CI docker image to gcc-12 (#1289)

Fixes #1271
This commit is contained in:
Alex Kremer
2024-03-25 18:19:34 +00:00
committed by GitHub
parent 828fea6e30
commit 03a01e55f9
7 changed files with 41 additions and 14 deletions

View File

@@ -17,6 +17,13 @@ set(COMPILER_FLAGS
-pedantic
-Wpedantic
-Wunused
# FIXME: The following bunch are needed for gcc12 atm.
-Wno-missing-requires
-Wno-restrict
-Wno-null-dereference
-Wno-maybe-uninitialized
-Wno-unknown-warning-option # and this to work with clang
# TODO: Address these and others in https://github.com/XRPLF/clio/issues/1273
)
# TODO: reenable when we change CI #884 if (is_gcc AND NOT lint) list(APPEND COMPILER_FLAGS -Wduplicated-branches