disable warnings in msvc comilation
This commit is contained in:
parent
77e4461a7d
commit
4285622f3f
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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
|
||||||
|
|
||||||
/* --------------------------------------------------------------- */
|
/* --------------------------------------------------------------- */
|
||||||
|
Reference in New Issue
Block a user