X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fcompiler.h;h=6fd52c5e3f6934c0c3067e356179f60d9378501c;hb=1623aee1e0d09ff69109a2a4229b5c495cd4a3b0;hp=7896c4a31a0319e80a3f233ad8f6aa82336aca3f;hpb=128a4a36cacdbfbc412b15a6b1f069c25df8d5d8;p=simgear.git diff --git a/simgear/compiler.h b/simgear/compiler.h index 7896c4a3..6fd52c5e 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -141,7 +141,6 @@ # define STL_STDEXCEPT # define STL_STRING # define STL_STRSTREAM - # else # error Time to upgrade. GNU compilers < 2.7 not supported # endif @@ -292,28 +291,24 @@ # define SG_HAVE_NATIVE_SGI_COMPILERS # define SG_EXPLICIT_FUNCTION_TMPL_ARGS +# define SG_CLASS_PARTIAL_SPECIALIZATION # define SG_NEED_AUTO_PTR # define SG_MEMBER_TEMPLATES # define SG_NAMESPACES # define SG_HAVE_STD -# define SG_CLASS_PARTIAL_SPECIALIZATION +# define SG_HAVE_STREAMBUF # define SG_HAVE_TRAITS +# define SG_HAVE_STD_INCLUDES # define STL_ALGORITHM # define STL_FUNCTIONAL -# define STL_IOMANIP -# define STL_IOSTREAM -# define STL_ITERATOR -# define STL_FSTREAM +# define STL_IOMANIP +# define STL_IOSTREAM +# define STL_ITERATOR +# define STL_FSTREAM # define STL_STDEXCEPT # define STL_STRING -# define STL_STRSTREAM - -// # define __STL_FUNCTION_TMPL_PARTIAL_ORDER -// typedef void PFNGLPOINTPARAMETERFEXTPROC - -#define glPointParameterfEXT glPointParameterfSGIS -#define glPointParameterfvEXT glPointParameterfvSGIS +# define STL_STRSTREAM #pragma set woff 1001,1012,1014,1116,1155,1172,1174 #pragma set woff 1401,1460,1551,1552,1681 @@ -322,7 +317,7 @@ #pragma set woff 1682,3303 #endif -# define SG_COMPILER_STR "SGI Irix compiler version " SG_STRINGIZE(_COMPILER_VERSION) +# define SG_COMPILER_STR "SGI MipsPro compiler version " SG_STRINGIZE(_COMPILER_VERSION) #endif // Native SGI compilers @@ -346,7 +341,7 @@ // // Intel C++ Compiler // -#if defined(__ICC) +#if defined(__ICC) || defined (__ECC) # define SG_NAMESPACES # define SG_HAVE_STD # define SG_HAVE_STREAMBUF