From 9d7f1ef0c046907b4a3c2afd19ea7522c64c38d1 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 10 Aug 2006 22:06:46 +0000 Subject: [PATCH] Adjust pragmas. --- stepmania/src/archutils/Win32/arch_setup.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/stepmania/src/archutils/Win32/arch_setup.h b/stepmania/src/archutils/Win32/arch_setup.h index ac28d21808..b34692b0f2 100644 --- a/stepmania/src/archutils/Win32/arch_setup.h +++ b/stepmania/src/archutils/Win32/arch_setup.h @@ -13,6 +13,12 @@ #endif #if defined(_MSC_VER) + +#if _MSC_VER == 1400 // VC8 specific warnings +#pragma warning (disable : 4996) // deprecated functions vs "ISO C++ conformant names". (stricmp vs _stricmp) +#pragma warning (disable : 4005) // macro redefinitions (ARRAYSIZE) +#endif + #define snprintf _snprintf // Unsure if this goes with __MINGW32__ right now. #pragma warning (disable : 4201) // nonstandard extension used : nameless struct/union (Windows headers do this) @@ -32,11 +38,6 @@ #pragma warning (disable : 4505) // removed unferenced local function from integer.cpp & algebra.h #pragma warning (disable : 4244) // converting of data = possible data loss. (This pragma should eventually go away) -#if _MSC_VER == 1400 // VC8 specific warnings -#pragma warning (disable : 4996) // deprecated functions vs "ISO C++ conformant names". (stricmp vs _stricmp) -#pragma warning (disable : 4005) // macro redefinitions (ARRAYSIZE) -#endif - /* Fix VC breakage. */ #define PATH_MAX _MAX_PATH