aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-06-02 14:48:38 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-06-02 14:48:38 +0200
commitd616a81294175d1266c8a6af198243a6befc8cc6 (patch)
tree76812bc9ce245278d7052b6ca983368af88cdf0e /test/main.h
parent61a32f2a4c8705256f3c6d09fa9b3231e322bf38 (diff)
Disable MSVC's "decorated name length exceeded, name was truncated" warning in unit tests.
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h5
1 files changed, 5 insertions, 0 deletions
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