Skip to content

Commit b1aafba

Browse files
committed
Backport compiler flags for gcc-12
1 parent 965a288 commit b1aafba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CMake/Settings.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ set(COMPILER_FLAGS
1717
-pedantic
1818
-Wpedantic
1919
-Wunused
20+
# FIXME: The following bunch are needed for gcc12 atm.
21+
-Wno-missing-requires
22+
-Wno-restrict
23+
-Wno-null-dereference
24+
-Wno-maybe-uninitialized
25+
-Wno-unknown-warning-option # and this to work with clang
26+
# TODO: Address these and others in https://github.com/XRPLF/clio/issues/1273
2027
)
2128

2229
#TODO: reenable when we change CI #884

0 commit comments

Comments
 (0)