os/ossrv/stdcpp/src/vc_warning_disable.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // vc_warning_disable.h
     2 #pragma warning( disable : 4786 ) // identifier truncated to 255 characters
     3 #pragma warning( disable : 4244 ) // implicit conversion: possible loss of data
     4 #pragma warning( disable : 4800 ) // forcing value to bool 'true' or 'false' (performance warning)
     5 #pragma warning( disable : 4189) // local variable is initialized but not referenced
     6 #pragma warning( disable : 4100) // unreferenced formal parameter
     7 #pragma warning( disable : 4245) // conversion from 'const int' to 'unsigned long', signed/unsigned mismatch
     8 #pragma warning( disable : 4660) // template-class specialization 'basic_filebuf<char,class _STLD::char_traits<char> >' is already instantiated
     9 #pragma warning( disable :  4701) // local variable 'base' may be used without having been initialized
    10 #pragma warning( disable : 4075) // initializers put in unrecognized initialization area
    11 #pragma warning( disable : 4673) // throwing class with private base class
    12 #pragma warning( disable : 4670) // throwing class with private base class
    13 #pragma warning( disable : 4018) // signed/unsigned mismatch
    14 #pragma warning( disable : 4505 ) // unreferenced local function has been removed
    15 #pragma warning( disable : 4146 ) // unary minus applied to unsigned type
    16 #pragma warning( disable : 4244 ) // arithmetic conversion - possible loss of data
    17 #pragma warning( disable : 4290 ) // c++ exception specification ignored
    18 
    19 // dwa 1/28/00 - actually I think this may indicate real bugs. We should look
    20 // into these
    21 #pragma warning( disable : 4018 ) // signed/unsigned mismatch
    22 #pragma warning( disable : 4251 ) // DLL interface needed
    23 #pragma warning( disable : 4284 ) // for -> operator