We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6193af + 8ec936f commit 7e7cca4Copy full SHA for 7e7cca4
1 file changed
CMakeLists.txt
@@ -103,6 +103,7 @@ if (MSVC)
103
if (NOT BENCHMARK_ENABLE_EXCEPTIONS)
104
add_cxx_compiler_flag(-EHs-)
105
add_cxx_compiler_flag(-EHa-)
106
+ add_definitions(-D_HAS_EXCEPTIONS=0)
107
endif()
108
# Link time optimisation
109
if (BENCHMARK_ENABLE_LTO)
@@ -167,7 +168,7 @@ else()
167
168
169
# ICC17u2: overloaded virtual function "benchmark::Fixture::SetUp" is only partially overridden
170
# (because of deprecated overload)
- add_cxx_compiler_flag(-wd654)
171
+ add_cxx_compiler_flag(-wd654)
172
add_cxx_compiler_flag(-Wthread-safety)
173
if (HAVE_CXX_FLAG_WTHREAD_SAFETY)
174
cxx_feature_check(THREAD_SAFETY_ATTRIBUTES)
0 commit comments