From b1aafbaacb33a1f0783611ca03e993bac42491d8 Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Mon, 3 Jun 2024 13:43:38 +0100 Subject: [PATCH] Backport compiler flags for gcc-12 --- CMake/Settings.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMake/Settings.cmake b/CMake/Settings.cmake index a09813005..b4c097a97 100644 --- a/CMake/Settings.cmake +++ b/CMake/Settings.cmake @@ -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