From 8dc261fcf2cd725f36f2aefea3d35143a2845cdc Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Mon, 5 Jun 2017 08:59:51 -0400 Subject: [PATCH] Disable compiler thread safety analysis --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba48f035..3b414ae7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,8 @@ if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_flag("-Wno-sign-compare") add_flag("-Wno-sign-conversion") add_flag("-Wno-tautological-constant-out-of-range-compare") + # Our use of mutexes results in a false positive, see 1bbe446 + add_flag("-Wno-thread-safety-analysis") add_flag("-Wno-type-limits") add_flag("-Wno-undef") add_flag("-Wno-unreachable-code")