]> git.buserror.net Git - polintos/scott/priv.git/blob - lib/c++/stlport/vc_warning_disable.h
Add STLport 5.1.4
[polintos/scott/priv.git] / lib / c++ / stlport / vc_warning_disable.h
1 /* This header is used to turn off warnings of Microsoft compilers generated.
2  * while building STLport.
3  * For compiling user code, see stlport/config/_msvc_warnings_off.h.
4  */
5
6 #if (_MSC_VER < 1200) // VC5 and before
7 #  pragma warning( disable : 4018 ) // signed/unsigned mismatch
8 #  pragma warning( disable : 4290 ) // c++ exception specification ignored
9 #  pragma warning( disable : 4389 ) // '==' : signed/unsigned mismatch
10 #  pragma warning( disable : 4610 ) // struct '...' can never be instantiated - user defined constructor required
11 #endif
12
13 #if (_MSC_VER < 1300) // VC6/eVC4
14 #  pragma warning( disable : 4097 ) // typedef-name used as based class of (...)
15 #  pragma warning( disable : 4251 ) // DLL interface needed
16 #  pragma warning( disable : 4284 ) // for -> operator
17 #  pragma warning( disable : 4503 ) // decorated name length exceeded, name was truncated
18 #  pragma warning( disable : 4514 ) // unreferenced inline function has been removed
19 #  pragma warning( disable : 4660 ) // template-class specialization '...' is already instantiated
20 #  pragma warning( disable : 4701 ) // local variable 'base' may be used without having been initialized
21 #  pragma warning( disable : 4710 ) // function (...) not inlined
22 #  pragma warning( disable : 4786 ) // identifier truncated to 255 characters
23 #endif
24
25 #if (_MSC_VER <= 1310)
26 #  pragma warning( disable : 4511 ) // copy constructor cannot be generated
27 #endif
28
29 #if (_MSC_VER < 1300) && defined(UNDER_CE)
30 #  pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union
31 #  pragma warning( disable : 4214 ) // nonstandard extension used : bit field types other than int
32 #endif
33
34 #pragma warning( disable : 4075 ) // initializers put in unrecognized initialization area
35 //This warning is disable only for the c_locale_win32.c file compilation:
36 #pragma warning( disable : 4100 ) // unreferenced formal parameter
37 #pragma warning( disable : 4127 ) // conditional expression is constant
38 #pragma warning( disable : 4146 ) // unary minus applied to unsigned type
39 #pragma warning( disable : 4245 ) // conversion from 'enum ' to 'unsigned int', signed/unsigned mismatch
40 #pragma warning( disable : 4244 ) // implicit conversion: possible loss of data
41 #pragma warning( disable : 4512 ) // assignment operator could not be generated
42 #pragma warning( disable : 4571 ) // catch(...) blocks compiled with /EHs do not catch or re-throw Structured Exceptions
43 #pragma warning( disable : 4702 ) // unreachable code (appears in release with warning level4)