diff --git a/golded3/gealst.cpp b/golded3/gealst.cpp index 08f0c21..4a4613f 100644 --- a/golded3/gealst.cpp +++ b/golded3/gealst.cpp @@ -28,7 +28,7 @@ #include #endif -#if defined(_MSC_VER) && defined(_DEBUG) +#if defined(_MSC_VER) /* C4786: 'identifier' : identifier was truncated to 'number' characters in the debug information */ diff --git a/golded3/getpls.cpp b/golded3/getpls.cpp index a574be6..f135cf3 100644 --- a/golded3/getpls.cpp +++ b/golded3/getpls.cpp @@ -28,7 +28,7 @@ #include #endif -#if defined(_MSC_VER) && defined(_DEBUG) +#if defined(_MSC_VER) /* C4786: 'identifier' : identifier was truncated to 'number' characters in the debug information */ diff --git a/goldlib/gall/gcmpall.h b/goldlib/gall/gcmpall.h index e7276b4..2d8b787 100644 --- a/goldlib/gall/gcmpall.h +++ b/goldlib/gall/gcmpall.h @@ -90,12 +90,10 @@ #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 +/* C4786: 'identifier' : identifier was truncated to 'number' characters + in the debug information +*/ +#pragma warning(disable: 4786) #endif /* --------------------------------------------------------------- */