disable warnings in msvc comilation

This commit is contained in:
Ianos Gnatiuc 2005-10-04 23:32:38 +00:00
parent 77e4461a7d
commit 4285622f3f
3 changed files with 6 additions and 8 deletions

View File

@ -28,7 +28,7 @@
#include <malloc.h> #include <malloc.h>
#endif #endif
#if defined(_MSC_VER) && defined(_DEBUG) #if defined(_MSC_VER)
/* C4786: 'identifier' : identifier was truncated to 'number' /* C4786: 'identifier' : identifier was truncated to 'number'
characters in the debug information characters in the debug information
*/ */

View File

@ -28,7 +28,7 @@
#include <malloc.h> #include <malloc.h>
#endif #endif
#if defined(_MSC_VER) && defined(_DEBUG) #if defined(_MSC_VER)
/* C4786: 'identifier' : identifier was truncated to 'number' /* C4786: 'identifier' : identifier was truncated to 'number'
characters in the debug information characters in the debug information
*/ */

View File

@ -90,12 +90,10 @@
#define __inline__ __inline #define __inline__ __inline
#define __extension__ #define __extension__
#define __MSVCRT__ #define __MSVCRT__
#ifdef _DEBUG /* C4786: 'identifier' : identifier was truncated to 'number' characters
/* C4786: 'identifier' : identifier was truncated to 'number' in the debug information
characters in the debug information */
*/ #pragma warning(disable: 4786)
#pragma warning(disable: 4786)
#endif
#endif #endif
/* --------------------------------------------------------------- */ /* --------------------------------------------------------------- */