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 6ea36fa commit f1669feCopy full SHA for f1669fe
1 file changed
cmake/compileroptions.cmake
@@ -165,6 +165,10 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
165
# this is reported even when it is unnecessary i.e. -Wswitch-enum warnings have been mitigated
166
add_compile_options_safe(-Wno-switch-default)
167
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
+
172
# warnings we are currently not interested in
173
add_compile_options(-Wno-four-char-constants)
174
add_compile_options(-Wno-weak-vtables)
0 commit comments