more
This commit is contained in:
parent
44da2b9ac5
commit
57d6e824b4
@ -82,14 +82,15 @@
|
|||||||
|
|
||||||
namespace testing {
|
namespace testing {
|
||||||
|
|
||||||
// Silence C4100 (unreferenced formal parameter) for MSVC
|
// Silence C4100 (unreferenced formal parameter) for MSVC 14 and 15
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
# if _MSC_VER <= 1900
|
||||||
# pragma warning(push)
|
# pragma warning(push)
|
||||||
# pragma warning(disable:4100)
|
# pragma warning(disable:4100)
|
||||||
# pragma warning(disable:4805)
|
# pragma warning(disable:4805)
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Declares the flags.
|
// Declares the flags.
|
||||||
|
|
||||||
// This flag temporary enables the disabled tests.
|
// This flag temporary enables the disabled tests.
|
||||||
@ -2307,7 +2308,9 @@ bool StaticAssertTypeEq() {
|
|||||||
GTEST_API_ std::string TempDir();
|
GTEST_API_ std::string TempDir();
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
# if _MSC_VER <= 1900
|
||||||
# pragma warning(pop)
|
# pragma warning(pop)
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // namespace testing
|
} // namespace testing
|
||||||
|
Loading…
Reference in New Issue
Block a user