comment all disabled MSVC warnings

This commit is contained in:
Gael Guennebaud 2010-06-25 13:31:07 +02:00
parent 75b6d2b2f8
commit 686689e9cf

View File

@ -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