src/stdafx.h
changeset 7643 eafa19c7f11c
parent 7524 6f535308d3df
child 7650 ebd88feaa190
equal deleted inserted replaced
7642:5b6e76857bce 7643:eafa19c7f11c
   151 # pragma warning(disable: 4200)  // nonstandard extension used : zero-sized array in struct/union
   151 # pragma warning(disable: 4200)  // nonstandard extension used : zero-sized array in struct/union
   152 
   152 
   153 # if _MSC_VER >= 1400              // MSVC 2005 safety checks
   153 # if _MSC_VER >= 1400              // MSVC 2005 safety checks
   154 #  pragma warning(disable: 4996)   // 'strdup' was declared deprecated
   154 #  pragma warning(disable: 4996)   // 'strdup' was declared deprecated
   155 #  define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions
   155 #  define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions
       
   156 #  pragma warning(disable: 6308)   // code analyzer: 'realloc' might return null pointer: assigning null pointer to 't_ptr', which is passed as an argument to 'realloc', will cause the original memory block to be leaked
       
   157 #  pragma warning(disable: 6011)   // code analyzer: Dereferencing NULL pointer 'pfGetAddrInfo': Lines: 995, 996, 998, 999, 1001
   156 # else /* _MSC_VER >= 1400  ( <1400 for MSVC2003) */
   158 # else /* _MSC_VER >= 1400  ( <1400 for MSVC2003) */
   157 #  pragma warning(disable: 4288)   // nonstandard extension used : 'y' : loop control variable declared in the for-loop is used outside the for-loop scope; it conflicts with the declaration in the outer scope
   159 #  pragma warning(disable: 4288)   // nonstandard extension used : 'y' : loop control variable declared in the for-loop is used outside the for-loop scope; it conflicts with the declaration in the outer scope
   158 #  pragma warning(disable: 4292)   // compiler limit : terminating debug information emission for enum 'StringIdEnum' with member 'STR_801D_COAL_CAR'
   160 #  pragma warning(disable: 4292)   // compiler limit : terminating debug information emission for enum 'StringIdEnum' with member 'STR_801D_COAL_CAR'
   159 # endif /* _MSC_VER >= 1400 */
   161 # endif /* _MSC_VER >= 1400 */
   160 
   162