From 686689e9cfd37b45dee6fc4c04e01167c048a468 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 25 Jun 2010 13:31:07 +0200 Subject: [PATCH] comment all disabled MSVC warnings --- Eigen/src/Core/util/DisableMSVCWarnings.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/util/DisableMSVCWarnings.h b/Eigen/src/Core/util/DisableMSVCWarnings.h index 7bab741ff..f6b94bc55 100644 --- a/Eigen/src/Core/util/DisableMSVCWarnings.h +++ b/Eigen/src/Core/util/DisableMSVCWarnings.h @@ -1,10 +1,16 @@ #ifdef _MSC_VER - // 4273 - QtAlignedMalloc, inconsistent DLL linkage // 4100 - unreferenced formal parameter (occurred e.g. in aligned_allocator::destroy(pointer p)) // 4101 - unreferenced local variable + // 4127 - conditional expression is constant + // 4181 - qualifier applied to reference type ignored + // 4211 - nonstandard extension used : redefined extern to static + // 4244 - 'argument' : conversion from 'type1' to 'type2', possible loss of data + // 4273 - QtAlignedMalloc, inconsistent DLL linkage // 4324 - structure was padded due to declspec(align()) // 4512 - assignment operator could not be generated + // 4522 - 'class' : multiple assignment operators specified + // 4717 - 'function' : recursive on all control paths, function will cause runtime stack overflow #pragma warning( push ) - #pragma warning( disable : 4100 4101 4181 4244 4127 4211 4273 4324 4512 4522 4717 ) + #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4512 4522 4717 ) #endif