Googletest export

Suppress C4503 for MCVS

PiperOrigin-RevId: 225871050
This commit is contained in:
misterg 2018-12-17 15:35:22 -05:00 committed by Gennadiy Civil
parent 85c4172ed6
commit 7515e39943

View File

@ -428,9 +428,11 @@ TEST(DoAllTest, TenActions) {
// the macro definition, as the warnings are generated when the macro // the macro definition, as the warnings are generated when the macro
// is expanded and macro expansion cannot contain #pragma. Therefore // is expanded and macro expansion cannot contain #pragma. Therefore
// we suppress them here. // we suppress them here.
// Also suppress C4503 decorated name length exceeded, name was truncated
#ifdef _MSC_VER #ifdef _MSC_VER
# pragma warning(push) # pragma warning(push)
# pragma warning(disable:4100) # pragma warning(disable:4100)
# pragma warning(disable:4503)
#endif #endif
// Tests the ACTION*() macro family. // Tests the ACTION*() macro family.