Skip to content

Commit 4e623a4

Browse files
committed
compileroptions.cmake: disabled -Wlifetime-safety-intra-tu-suggestions for now
1 parent 1cd71d9 commit 4e623a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmake/compileroptions.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
176176
# | ^
177177
add_compile_options_safe(-Wno-shadow-header)
178178

179+
# TODO: enable
180+
add_compile_options_safe(-Wno-lifetime-safety-intra-tu-suggestions)
181+
179182
if(ENABLE_COVERAGE OR ENABLE_COVERAGE_XML)
180183
message(FATAL_ERROR "Do not use clang to generate code coverage. Use GCC instead.")
181184
endif()

0 commit comments

Comments
 (0)