stdafx.h
changeset 2436 7d5df545bd5d
parent 2225 f6ac54bad028
child 2482 374f6395847d
equal deleted inserted replaced
2435:9b9d43988058 2436:7d5df545bd5d
     1 /* $Id$ */
     1 /* $Id$ */
     2 
     2 
     3 #if !defined(_STDAFX_H)
     3 #ifndef STDAFX_H
     4 #define _STDAFX_H
     4 #define STDAFX_H
     5 
     5 
     6 #if defined(_MSC_VER)
     6 #if defined(_MSC_VER)
     7 #pragma once
     7 	#pragma once
     8 
     8 
     9 #define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
     9 	#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
    10 #pragma warning(disable: 4100) // parameter not used
    10 	#pragma warning(disable: 4018) // 'expression' : signed/unsigned mismatch
    11 #pragma warning(disable: 4244) // conversion
    11 	#pragma warning(disable: 4100) // 'identifier' : unreferenced formal parameter
    12 #pragma warning(disable: 4245) // conversion
    12 	#pragma warning(disable: 4127) // conditional expression is constant
    13 #pragma warning(disable: 4305) // 'initializing' : truncation from 'const int ' to 'char '
    13 	#pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union
    14 #pragma warning(disable: 4018) // warning C4018: '==' : signed/unsigned mismatch
    14 	#pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
    15 #pragma warning(disable: 4201) // nameless union
    15 	#pragma warning(disable: 4245) // 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
    16 #pragma warning(disable: 4514) // removed unref inline
    16 	#pragma warning(disable: 4276) // 'fucntion' : no prototype provided; assumed no parameters (MSVC BUG???)
    17 #pragma warning(disable: 4127) // constant conditional expression
    17 	#pragma warning(disable: 4305) // 'identifier' : truncation from 'type1' to 'type2'
    18 #pragma warning(disable: 4276) // MSVC BUG??? Complains about function body not declared when using function pointers
    18 	#pragma warning(disable: 4514) // 'function' : unreferenced inline function has been removed
    19 #pragma warning(disable: 4761) // warning C4761: integral size mismatch in argument; conversion supplied
    19 	#pragma warning(disable: 4761) // integral size mismatch in argument : conversion supplied
    20 #endif
    20 #endif
    21 
    21 
    22 #include <stdio.h>
    22 #include <stdio.h>
    23 #include <string.h>
    23 #include <string.h>
    24 #include <stdlib.h>
    24 #include <stdlib.h>
   250 #ifdef __AMIGA__
   250 #ifdef __AMIGA__
   251 // it seems AmigaOS already have a Point declared
   251 // it seems AmigaOS already have a Point declared
   252 #define Point OTTD_AMIGA_POINT
   252 #define Point OTTD_AMIGA_POINT
   253 #endif
   253 #endif
   254 
   254 
   255 #endif // !defined(_STDAFX_H)
   255 #endif /* STDAFX_H */