aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/DisableStupidWarnings.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-11-23 15:03:24 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-11-23 15:03:24 +0100
commitf9fff67a56656db4ca0a633b16a0896ee0fcfa77 (patch)
tree69fc276d89023d39ecc3c3363f7af09f48f7fbda /Eigen/src/Core/util/DisableStupidWarnings.h
parentf3dca16a1d4226982281dafa7a2f51c36698f6e5 (diff)
Disable "decorated name length exceeded, name was truncated" MSVC warning.
Diffstat (limited to 'Eigen/src/Core/util/DisableStupidWarnings.h')
-rw-r--r--Eigen/src/Core/util/DisableStupidWarnings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h
index 6a0bf0629..46c141ad5 100644
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
@@ -10,6 +10,7 @@
// 4244 - 'argument' : conversion from 'type1' to 'type2', possible loss of data
// 4273 - QtAlignedMalloc, inconsistent DLL linkage
// 4324 - structure was padded due to declspec(align())
+ // 4503 - decorated name length exceeded, name was truncated
// 4512 - assignment operator could not be generated
// 4522 - 'class' : multiple assignment operators specified
// 4700 - uninitialized local variable 'xyz' used
@@ -17,7 +18,7 @@
#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
#pragma warning( push )
#endif
- #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4512 4522 4700 4717 )
+ #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4503 4512 4522 4700 4717 )
#elif defined __INTEL_COMPILER
// 2196 - routine is both "inline" and "noinline" ("noinline" assumed)
// ICC 12 generates this warning even without any inline keyword, when defining class methods 'inline' i.e. inside of class body