34 lines
1.7 KiB
C
34 lines
1.7 KiB
C
|
// hide these nasty warnings
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
|
||
|
#pragma warning(disable : 4018) // signed/unsigned mismatch
|
||
|
#pragma warning(disable : 4032)
|
||
|
#pragma warning(disable : 4051)
|
||
|
#pragma warning(disable : 4057) // slightly different base types
|
||
|
#pragma warning(disable : 4100) // unreferenced formal parameter
|
||
|
#pragma warning(disable : 4115)
|
||
|
#pragma warning(disable : 4125) // decimal digit terminates octal escape sequence
|
||
|
#pragma warning(disable : 4127) // conditional expression is constant
|
||
|
#pragma warning(disable : 4136)
|
||
|
#pragma warning(disable : 4152) // nonstandard extension, function/data pointer conversion in expression
|
||
|
#pragma warning(disable : 4201)
|
||
|
#pragma warning(disable : 4214)
|
||
|
#pragma warning(disable : 4244) // conversion from double to float
|
||
|
#pragma warning(disable : 4284) // return type not UDT
|
||
|
#pragma warning(disable : 4305) // truncation from const double to float
|
||
|
#pragma warning(disable : 4310) // cast truncates constant value
|
||
|
#pragma warning(disable : 4503) // decorated name length truncated
|
||
|
#pragma warning(disable: 4505) // unreferenced local function has been removed
|
||
|
#pragma warning(disable : 4511) //copy ctor could not be genned
|
||
|
#pragma warning(disable : 4512) //assignment op could not be genned
|
||
|
#pragma warning(disable : 4514) // unreffed inline removed
|
||
|
#pragma warning(disable : 4663) // c++ lang change
|
||
|
//#pragma warning(disable : 4702) // unreachable code
|
||
|
#pragma warning(disable : 4710) // not inlined
|
||
|
#pragma warning(disable : 4711) // selected for automatic inline expansion
|
||
|
#pragma warning(disable : 4220) // varargs matches remaining parameters
|
||
|
#pragma warning(disable : 4786) //identifier was truncated
|
||
|
|
||
|
#endif
|