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