From 4285622f3f6a3dea0930cf2154718a3faac86c2f Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Tue, 4 Oct 2005 23:32:38 +0000 Subject: [PATCH] disable warnings in msvc comilation --- golded3/gealst.cpp | 2 +- golded3/getpls.cpp | 2 +- goldlib/gall/gcmpall.h | 10 ++++------ 3 files changed, 6 insertions(+), 8 deletions(-) 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 /* --------------------------------------------------------------- */