//leave this off! #pragma warning(default: 4711) //selected for automatic inline expansion
#pragma warning(default: 4201) //nonstandard extension used : nameless struct/union
//leave this off! #pragma warning(default: 4786) //debug info truncated to 255 chars
//leave this off! #pragma warning(default: 4820) //padding added
//leave this off! #pragma warning(default: 4668) //preprocessor symbol not defined, using '0'
#pragma warning(default: 4917) //a GUID can only be associated with a class, interface or namespace
//leave this off! #pragma warning(default: 4217) //member template functions cannot be used for copy-assignment or copy-construction
//leave this off! #pragma warning(default: 4710) //function 'xxx' not inlined
|
//make sure you:
// 1) use the /Wall compiler switch
// 2) put '#include "WarningsOff.h"' before any system library includes
// 3) put '#include "WarningsOn.h"' after any system library includes
#pragma warning(disable: 4711) //selected for automatic inline expansion
#pragma warning(disable: 4201) //nonstandard extension used : nameless struct/union
#pragma warning(disable: 4786) //debug info truncated to 255 chars
#pragma warning(disable: 4820) //padding added
#pragma warning(disable: 4668) //preprocessor symbol not defined, using '0'
#pragma warning(disable: 4917) //a GUID can only be associated with a class, interface or namespace
#pragma warning(disable: 4217) //member template functions cannot be used for copy-assignment or copy-construction
#pragma warning(disable: 4710) //function 'xxx' not inlined
|