Fix tests with VS2015 and VS2017

This commit is contained in:
Arkadiy Shapkin
2017-05-03 13:40:33 +03:00
committed by Arkady Shapkin
parent 77380cddf7
commit 2641b021fc
6 changed files with 68 additions and 20 deletions

View File

@@ -58,6 +58,11 @@
# include <forward_list> // NOLINT
#endif
// Disable MSVC2015 warning for std::pair: "decorated name length exceeded, name was truncated".
#if defined(_MSC_VER) && (_MSC_VER == 1900)
# pragma warning(disable:4503)
#endif
namespace testing {
namespace internal {