We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Wthread-safety-negative
-Wthread-safety-beta
1 parent 83542b5 commit 6b5785cCopy full SHA for 6b5785c
1 file changed
cmake/compileroptions.cmake
@@ -146,6 +146,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
146
# this is reported even when it is unnecessary i.e. -Wswitch-enum warnings have been mitigated
147
add_compile_options_safe(-Wno-switch-default)
148
149
+ # these are experimental warning which might produce false positives
150
+ add_compile_options_safe(-Wno-thread-safety-negative)
151
+ add_compile_options_safe(-Wno-thread-safety-beta)
152
+
153
# warnings we are currently not interested in
154
add_compile_options(-Wno-four-char-constants)
155
add_compile_options(-Wno-weak-vtables)
0 commit comments