From beb03032b7f26b4c97f8c56f3b071eb53ce1126d Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sat, 12 Feb 2011 18:48:57 +0100 Subject: Disabled warning regarding the use of uninitialized variables on MSVC. --- Eigen/src/Core/util/DisableMSVCWarnings.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Eigen/src') diff --git a/Eigen/src/Core/util/DisableMSVCWarnings.h b/Eigen/src/Core/util/DisableMSVCWarnings.h index f6b94bc55..7de55d83c 100644 --- a/Eigen/src/Core/util/DisableMSVCWarnings.h +++ b/Eigen/src/Core/util/DisableMSVCWarnings.h @@ -10,7 +10,8 @@ // 4324 - structure was padded due to declspec(align()) // 4512 - assignment operator could not be generated // 4522 - 'class' : multiple assignment operators specified + // 4700 - uninitialized local variable 'xyz' used // 4717 - 'function' : recursive on all control paths, function will cause runtime stack overflow #pragma warning( push ) - #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4512 4522 4717 ) + #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4512 4522 4700 4717 ) #endif -- cgit v1.2.3