From 36521869ae093f7ee9875072240b66bbb3c0e33a Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 15 Jan 2004 14:21:31 +0000 Subject: [PATCH] Make sure MispPro compilers < 7.4 still work --- simgear/compiler.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/simgear/compiler.h b/simgear/compiler.h index a709b901..824c9024 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -308,7 +308,7 @@ # define STL_FSTREAM # define STL_STDEXCEPT #if (_COMPILER_VERSION < 740) -# define STL_STRING +# define STL_STRING #else # define STL_STRING #endif @@ -319,6 +319,9 @@ #ifdef __cplusplus #pragma set woff 1682,3303 +#if (_COMPILER_VERSION >= 740) +# pragma set woff 3624 +#endif #endif # define SG_COMPILER_STR "SGI MipsPro compiler version " SG_STRINGIZE(_COMPILER_VERSION)