Disable MSVC warnings
This commit is contained in:
@@ -90,6 +90,12 @@
|
||||
#define __inline__ __inline
|
||||
#define __extension__
|
||||
#define __MSVCRT__
|
||||
#ifdef _DEBUG
|
||||
/* C4786: 'identifier' : identifier was truncated to 'number'
|
||||
characters in the debug information
|
||||
*/
|
||||
#pragma warning(disable: 4786)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* --------------------------------------------------------------- */
|
||||
|
@@ -31,9 +31,6 @@
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4200)
|
||||
#endif
|
||||
#include <gdefs.h>
|
||||
#if defined(__USE_NCURSES__)
|
||||
#include <gcurses.h>
|
||||
@@ -41,6 +38,9 @@
|
||||
#if defined(__WIN32__)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4200)
|
||||
#endif
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user