eigen/Eigen/src/Core/util/DisableMSVCWarnings.h

17 lines
858 B
C
Raw Normal View History

#ifdef _MSC_VER
2009-12-12 21:49:43 +08:00
// 4100 - unreferenced formal parameter (occurred e.g. in aligned_allocator::destroy(pointer p))
// 4101 - unreferenced local variable
2010-06-25 19:31:07 +08:00
// 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
2010-06-25 19:31:07 +08:00
// 4522 - 'class' : multiple assignment operators specified
// 4717 - 'function' : recursive on all control paths, function will cause runtime stack overflow
#pragma warning( push )
2010-06-25 19:31:07 +08:00
#pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4512 4522 4717 )
#endif