"Fossies" - the Fresh Open Source Software Archive

Member "dmd-2.089.0/src/vcbuild/warnings.h" (2 Nov 2019, 3024 Bytes) of package /linux/misc/dmd-2.089.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #pragma warning(disable:4996) // This function or variable may be unsafe.
    2 #pragma warning(disable:4127) // conditional expression is constant
    3 #pragma warning(disable:4101) // unreferenced local variable
    4 #pragma warning(disable:4100) // unreferenced formal parameter
    5 #pragma warning(disable:4146) // unary minus operator applied to unsigned type, result still unsigned
    6 #pragma warning(disable:4244) // conversion from 'int' to 'unsigned short', possible loss of data
    7 #pragma warning(disable:4245) // conversion from 'int' to 'unsigned int', signed/unsigned mismatch
    8 #pragma warning(disable:4018) // signed/unsigned mismatch
    9 #pragma warning(disable:4389) // signed/unsigned mismatch
   10 #pragma warning(disable:4505) // unreferenced local function has been removed
   11 #pragma warning(disable:4701) // potentially uninitialized local variable 'm' used
   12 #pragma warning(disable:4201) // nonstandard extension used : nameless struct/union
   13 #pragma warning(disable:4189) // local variable is initialized but not referenced
   14 #pragma warning(disable:4102) // unreferenced label
   15 #pragma warning(disable:4800) // forcing value to bool 'true' or 'false' (performance warning)
   16 #pragma warning(disable:4804) // '+=' : unsafe use of type 'bool' in operation
   17 #pragma warning(disable:4390) // ';' : empty controlled statement found; is this the intent?
   18 #pragma warning(disable:4702) // unreachable code
   19 #pragma warning(disable:4703) // potentially uninitialized local pointer variable 'm' used
   20 #pragma warning(disable:4063) // case '0' is not a valid value for switch of enum
   21 #pragma warning(disable:4305) // 'initializing' : truncation from 'double' to 'float'
   22 #pragma warning(disable:4309) // 'initializing' : truncation of constant value
   23 #pragma warning(disable:4310) // cast truncates constant value
   24 #pragma warning(disable:4806) // '^' : unsafe operation: no value of type 'bool' promoted to type 'int' can equal the given constant
   25 #pragma warning(disable:4060) // switch statement contains no 'case' or 'default' labels
   26 #pragma warning(disable:4099) // type name first seen using 'struct' now seen using 'class'
   27 #pragma warning(disable:4725) // instruction may be inaccurate on some Pentiums
   28 #pragma warning(disable:4510) // 'CommaExp' : default constructor could not be generated
   29 #pragma warning(disable:4512) // 'CommaExp' : assignment operator could not be generated
   30 #pragma warning(disable:4610) // class 'CommaExp' can never be instantiated - user defined constructor required
   31 #pragma warning(disable:4838) // requires a narrowing conversion
   32 #pragma warning(disable:4577) // 'noexcept' used with no exception handling mode specified
   33 #pragma warning(disable:4805) // '|': unsafe mix of types in operation
   34 
   35 #ifdef _WIN64
   36 #pragma warning(disable:4366) // The result of the unary '&' operator may be unaligned
   37 #pragma warning(disable:4267) // conversion from 'size_t' to 'unsigned int', possible loss of data
   38 #endif
   39 
   40 #define LITTLE_ENDIAN 1
   41 #define __pascal
   42 #define MARS     1
   43 #define UNITTEST 1
   44 #define _M_I86   1
   45 #define DM_TARGET_CPU_X86 1