From d616a81294175d1266c8a6af198243a6befc8cc6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 2 Jun 2016 14:48:38 +0200 Subject: Disable MSVC's "decorated name length exceeded, name was truncated" warning in unit tests. --- test/main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index c66c2b62e..bda6d38c6 100644 --- a/test/main.h +++ b/test/main.h @@ -736,3 +736,8 @@ int main(int argc, char *argv[]) // remark #1572: floating-point equality and inequality comparisons are unreliable #pragma warning disable 279 383 1418 1572 #endif + +#ifdef _MSC_VER + // 4503 - decorated name length exceeded, name was truncated + #pragma warning( disable : 4503) +#endif -- cgit v1.2.3