mirror of
https://github.com/microsoft/GSL.git
synced 2025-04-01 08:56:29 -04:00
suppress incorrect warning when compiling gtest
This commit is contained in:
parent
ed21da6527
commit
c0a4f04cd0
@ -110,6 +110,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-switch-default # GTest EXPECT_DEATH
|
||||
$<$<EQUAL:${GSL_CXX_STANDARD},14>: # no support for [[maybe_unused]]
|
||||
-Wno-unused-member-function
|
||||
-Wno-unused-variable
|
||||
|
Loading…
x
Reference in New Issue
Block a user