diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a4bd7e6..d3e7a5c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -78,6 +78,7 @@ if(MSVC) # MSVC or simulating MSVC -Wno-shift-sign-overflow # GTest gtest-port.h -Wno-undef # GTest -Wno-used-but-marked-unused # GTest EXPECT_DEATH + -Wno-global-constructors $<$: # no support for [[maybe_unused]] -Wno-unused-member-function -Wno-unused-variable @@ -109,6 +110,7 @@ else() -Wno-unknown-attributes -Wno-used-but-marked-unused # GTest EXPECT_DEATH -Wno-weak-vtables + -Wno-global-constructors $<$: # no support for [[maybe_unused]] -Wno-unused-member-function -Wno-unused-variable @@ -212,6 +214,7 @@ if(MSVC) # MSVC or simulating MSVC -Wno-c++98-compat-pedantic -Wno-missing-prototypes -Wno-unknown-attributes + -Wno-global-constructors > ) else() @@ -234,6 +237,7 @@ else() -Wno-missing-prototypes -Wno-unknown-attributes -Wno-weak-vtables + -Wno-global-constructors > $<$: -Wdouble-promotion # float implicit to double