/home/ntakagi/work/STLport-5.1.5/src/vc_warning_disable.h

Go to the documentation of this file.
00001 /* This header is used to turn off warnings of Microsoft compilers generated.
00002  * while building STLport.
00003  * For compiling user code, see stlport/config/_msvc_warnings_off.h.
00004  */
00005 
00006 #if (_MSC_VER < 1200) // VC5 and before
00007 #  pragma warning( disable : 4018 ) // signed/unsigned mismatch
00008 #  pragma warning( disable : 4290 ) // c++ exception specification ignored
00009 #  pragma warning( disable : 4389 ) // '==' : signed/unsigned mismatch
00010 #  pragma warning( disable : 4610 ) // struct '...' can never be instantiated - user defined constructor required
00011 #endif
00012 
00013 #if (_MSC_VER < 1300) // VC6/eVC4
00014 #  pragma warning( disable : 4097 ) // typedef-name used as based class of (...)
00015 #  pragma warning( disable : 4251 ) // DLL interface needed
00016 #  pragma warning( disable : 4284 ) // for -> operator
00017 #  pragma warning( disable : 4503 ) // decorated name length exceeded, name was truncated
00018 #  pragma warning( disable : 4514 ) // unreferenced inline function has been removed
00019 #  pragma warning( disable : 4660 ) // template-class specialization '...' is already instantiated
00020 #  pragma warning( disable : 4701 ) // local variable 'base' may be used without having been initialized
00021 #  pragma warning( disable : 4710 ) // function (...) not inlined
00022 #  pragma warning( disable : 4786 ) // identifier truncated to 255 characters
00023 #endif
00024 
00025 #if (_MSC_VER <= 1310)
00026 #  pragma warning( disable : 4511 ) // copy constructor cannot be generated
00027 #endif
00028 
00029 #if (_MSC_VER < 1300) && defined(UNDER_CE)
00030 #  pragma warning( disable : 4201 ) // nonstandard extension used : nameless struct/union
00031 #  pragma warning( disable : 4214 ) // nonstandard extension used : bit field types other than int
00032 #endif
00033 
00034 #pragma warning( disable : 4075 ) // initializers put in unrecognized initialization area
00035 //This warning is disable only for the c_locale_win32.c file compilation:
00036 #pragma warning( disable : 4100 ) // unreferenced formal parameter
00037 #pragma warning( disable : 4127 ) // conditional expression is constant
00038 #pragma warning( disable : 4146 ) // unary minus applied to unsigned type
00039 #pragma warning( disable : 4245 ) // conversion from 'enum ' to 'unsigned int', signed/unsigned mismatch
00040 #pragma warning( disable : 4244 ) // implicit conversion: possible loss of data
00041 #pragma warning( disable : 4512 ) // assignment operator could not be generated
00042 #pragma warning( disable : 4571 ) // catch(...) blocks compiled with /EHs do not catch or re-throw Structured Exceptions
00043 #pragma warning( disable : 4702 ) // unreachable code (appears in release with warning level4)



Generated on Mon Mar 10 15:32:17 2008 by  doxygen 1.5.1