Skip to content

Commit f1669fe

Browse files
committed
compileroptions.cmake: disabled -Wthread-safety-negative and -Wthread-safety-beta Clang warnings
1 parent 6ea36fa commit f1669fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmake/compileroptions.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
165165
# this is reported even when it is unnecessary i.e. -Wswitch-enum warnings have been mitigated
166166
add_compile_options_safe(-Wno-switch-default)
167167

168+
# these are experimental warning which might produce false positives
169+
add_compile_options_safe(-Wno-thread-safety-negative)
170+
add_compile_options_safe(-Wno-thread-safety-beta)
171+
168172
# warnings we are currently not interested in
169173
add_compile_options(-Wno-four-char-constants)
170174
add_compile_options(-Wno-weak-vtables)

0 commit comments

Comments
 (0)