if test "x$CXX" = "xCC" -o "x$CXX" = "xccache CC"; then
AR="$CXX -ar"
ARFLAGS="-o"
- CXXFLAGS="$CXXFLAGS -I$(top_srcdir)/simgear/compatibility"
+ CXXFLAGS="$CXXFLAGS -I$(top_srcdir)/simgear/compatibility/MIPSpro740"
compatibility_DIR="compatibility"
+ MIPSpro_DIRS="MIPSpro740"
+ AC_MSG_CHECKING([for MIPSpro compiler version 7.4 or newer])
+ AC_TRY_RUN([
+ int main() {
+ if ( _COMPILER_VERSION < 740 ) {
+ return -1;
+ }
+ return 0;
+ }
+
+ ], AC_MSG_RESULT(yes),
+ [ AC_MSG_RESULT(no)
+ CXXFLAGS="$CXXFLAGS -I$(top_srcdir)/simgear/compatibility/MIPSpro721"
+ MIPSpro_DIRS="$(MIPSpro_DIRS) MIPSpro721"
+ AC_MSG_WARN([Using our own subset of the STL headers])
+ ], AC_MSG_RESULT(yes))
+ AC_SUBST(MIPSpro_DIRS)
fi
;;
*)
simgear/Makefile \
simgear/version.h \
simgear/compatibility/Makefile \
+ simgear/compatibility/MIPSpro721/Makefile \
+ simgear/compatibility/MIPSpro740/Makefile \
simgear/bucket/Makefile \
simgear/debug/Makefile \
simgear/ephemeris/Makefile \
--- /dev/null
+Makefile
+Makefile.in
--- /dev/null
+includedir = @includedir@/compatibility/
+
+include_HEADERS = \
+ iostream \
+ strstream \
+ sstream \
+ istream \
+ fstream \
+ iterator \
+ iomanip \
+ new \
+ streambuf \
+ \
+ irix_string
--- /dev/null
+
+#ifndef __SG_FSTREAM
+#define __SG_FSTREAM 1
+
+# if defined(sgi) && !defined(__GNUC__)
+
+# include <fstream.h>
+
+ namespace std {
+ using ::fstream;
+ using ::ofstream;
+ using ::ifstream;
+ };
+
+
+# endif
+
+#endif // !__SG_FSTREAM
+
--- /dev/null
+
+#ifndef __SG_IOMANIP
+#define __SG_IOMANIP 1
+
+# include <iomanip.h>
+
+namespace std {
+
+ using ::setw;
+ using ::setprecision;
+
+ inline int setfill(int f) { ::setfill(f); }
+};
+
+#endif // !__SG_IOMANIP
+
--- /dev/null
+
+#ifndef __SG_IOSTREAM
+#define __SG_IOSTREAM 1
+
+# if defined(sgi) && !defined(__GNUC__)
+
+# include <fstream>
+# include <iostream.h>
+
+ class ios_base : public ios {
+ public:
+
+ typedef int openmode;
+ typedef int seekdir;
+
+ enum { binary = 0 };
+ };
+
+ namespace std {
+ using ::cin;
+ using ::cout;
+ using ::cerr;
+ using ::clog;
+ using ::endl;
+
+ using ::ios;
+ using ::ios_base;
+ using ::iostream;
+ using ::istream;
+ using ::ostream;
+
+ using ::dec;
+ using ::oct;
+ using ::hex;
+
+ enum { skipws=ios::skipws,
+ left=ios::left, right=ios::right, internal=ios::internal,
+ showbase=ios::showbase, showpoint=ios::showpoint,
+ uppercase=ios::uppercase, showpos=ios::showpos,
+ scientific=ios::scientific, fixed=ios::fixed,
+ unitbuf=ios::unitbuf, stdio=ios::stdio
+#if _BOOL && __EDG_ABI_COMPATIBILITY_VERSION>227 /* bool support */
+ ,boolalpha=ios::boolalpha
+#endif /* bool support */
+ };
+
+ };
+
+# endif
+
+#endif // !__SG_IOSTREAM
+
--- /dev/null
+
+#ifndef __SGI_HXX
+#define __SGI_HXX 1
+
+#ifdef __cplusplus
+
+#include <string>
+
+inline bool
+operator!=( const std::string& lhs, const char* rhs)
+{
+ return lhs.compare( rhs ) != 0;
+}
+
+inline bool
+operator!=( const char* lhs, const std::string& rhs)
+{
+ return rhs.compare( lhs ) != 0;
+}
+
+inline bool
+operator==( const std::string& lhs, const char* rhs)
+{
+ return lhs.compare( rhs ) == 0;
+}
+
+inline bool
+operator==( const char* lhs, const std::string& rhs)
+{
+ return rhs.compare( lhs ) == 0;
+}
+
+inline std::string
+operator+(const std::string& lhs, const char* rhs)
+{
+ return lhs + std::string(rhs);
+}
+
+inline std::string
+operator+(const char* lhs, const std::string& rhs)
+{
+ return std::string(lhs) + rhs;
+}
+
+#endif /* __cplusplus */
+
+#endif /* !__SGI_HXX */
--- /dev/null
+
+#ifndef __SG_ISTREAM
+#define __SG_ISTREAM 1
+
+# include <iostream>
+
+# if defined(sgi) && !defined(__GNUC__)
+
+# include <stream.h>
+# include <string>
+
+ using std::getline;
+
+# endif
+
+#endif // !__SG_ISTREAM
+
--- /dev/null
+
+#ifndef __SG_ITERATOR
+#define __SG_ITERATOR 1
+
+# include <iterator.h>
+
+#endif // !__SG_ITERATOR
+
--- /dev/null
+
+#ifndef __SG_NEW
+#define __SG_NEW 1
+
+#if defined(sgi) && !defined(__GNUC__)
+
+# include <new.h>
+
+#endif
+
+#endif // !__SG_NEW
+
--- /dev/null
+
+#ifndef __SG_SSTREAM
+#define __SG_SSTREAM 1
+
+# include <iostream>
+# include <strstream>
+# include <string>
+
+namespace std {
+
+ class ostringstream : public ostrstream {
+ public:
+ std::string str() { return string(ostrstream::str()); }
+ };
+
+
+ typedef istrstream istringstream;
+
+};
+
+#endif // !__SG_SSTREAM
+
--- /dev/null
+
+#ifndef __SG_STREAMBUF
+#define __SG_STREAMBUF 1
+
+# include <iostream>
+# include <char_traits.h>
+
+//
+// Until we find a good way to rename the original streambuf class
+// and derive our own streambuf class from that, define this variable
+// for now so the code can inherit our streambuf class instead.
+//
+# define SG_NEED_STREAMBUF_HACK 1
+
+class __streambuf : virtual public streambuf {
+public:
+
+ typedef std::char_traits<char> traits_type;
+ typedef std::char_traits<char>::int_type int_type;
+
+ typedef streampos pos_type;
+ typedef streamoff off_type;
+};
+
+
+# if defined(sgi) && !defined(__GNUC__)
+
+# define pubsync sync
+
+ namespace std {
+ using ::streambuf;
+ using ::streampos;
+ using ::streamoff;
+ };
+# endif
+
+#endif // !__SG_STREAMBUF
+
--- /dev/null
+
+#ifndef __SG_STRSTREAM
+#define __SG_STRSTREAM 1
+
+# include <strstream.h>
+
+# if defined(sgi) && !defined(__GNUC__)
+
+ namespace std {
+ using ::ends;
+
+ using ::strstream;
+ using ::istrstream;
+ using ::ostrstream;
+ };
+
+# endif
+
+#endif // !__SG_STRSTREAM
+
--- /dev/null
+Makefile
+Makefile.in
--- /dev/null
+includedir = @includedir@/compatibility
+
+EXTRA_DIST = README
+
+include_HEADERS = \
+ cfloat \
+ csetjmp \
+ cstdio \
+ cwchar \
+ cassert \
+ climits \
+ csignal \
+ cstdlib \
+ cwctype \
+ cctype \
+ clocale \
+ cstdarg \
+ cstring \
+ cerrno \
+ cmath \
+ cstddef \
+ ctime
--- /dev/null
+
+The following header files where taken from the boost clib package
+(http://www.boost.org):
+
+cassert climits csignal cstdlib cwctype
+cctype clocale cstdarg cstring
+cerrno cmath cstddef ctime
+cfloat csetjmp cstdio cwchar
+
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CASSERT_HEADER
+#define __CASSERT_HEADER
+
+#include <assert.h>
+
+#endif // CASSERT_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CCTYPE_HEADER
+#define __CCTYPE_HEADER
+
+#include <ctype.h>
+
+namespace std {
+ using ::isalnum;
+ using ::isdigit;
+ using ::isprint;
+ using ::isupper;
+ using ::tolower;
+ using ::isalpha;
+ using ::isgraph;
+ using ::ispunct;
+ using ::isxdigit;
+ using ::toupper;
+ using ::iscntrl;
+ using ::islower;
+ using ::isspace;
+}
+
+#endif // CCTYPE_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CERRNO_HEADER
+#define __CERRNO_HEADER
+
+#include <errno.h>
+
+#endif // CERRNO_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CFLOAT_HEADER
+#define __CFLOAT_HEADER
+
+#include <float.h>
+
+#endif // CFLOAT_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CLIMITS_HEADER
+#define __CLIMITS_HEADER
+
+#include <limits.h>
+
+#endif // CLIMITS_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CLOCALE_HEADER
+#define __CLOCALE_HEADER
+
+#include <locale.h>
+
+namespace std {
+ using ::lconv;
+ using ::localeconv;
+ using ::setlocale;
+}
+
+#endif // CLOCALE_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CMATH_HEADER
+#define __CMATH_HEADER
+
+#include <math.h>
+
+namespace std {
+ using ::acos;
+ using ::cos;
+ using ::fmod;
+ using ::modf;
+ using ::tan;
+ using ::asin;
+ using ::cosh;
+ using ::frexp;
+ using ::pow;
+ using ::tanh;
+ using ::atan;
+ using ::exp;
+ using ::ldexp;
+ using ::sin;
+ using ::atan2;
+ using ::fabs;
+ using ::log;
+ using ::sinh;
+ using ::ceil;
+ using ::floor;
+ using ::log10;
+ using ::sqrt;
+}
+
+#endif // CMATH_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSETJMP_HEADER
+#define __CSETJMP_HEADER
+
+#include <setjmp.h>
+
+namespace std {
+ using ::jmp_buf;
+ using ::longjmp;
+}
+
+#endif // CSETJMP_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSIGNAL_HEADER
+#define __CSIGNAL_HEADER
+
+#include <signal.h>
+
+namespace std {
+ using ::sig_atomic_t;
+ using ::raise;
+ using ::signal;
+}
+
+#endif // CSIGNAL_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSTDARG_HEADER
+#define __CSTDARG_HEADER
+
+#include <stdarg.h>
+
+namespace std {
+ using ::va_list;
+}
+
+#endif // CSTDARG_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSTDDEF_HEADER
+#define __CSTDDEF_HEADER
+
+#include <stddef.h>
+
+namespace std {
+ using ::ptrdiff_t;
+ using ::size_t;
+}
+
+#endif // CSTDDEF_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSTDIO_HEADER
+#define __CSTDIO_HEADER
+
+#include <stdio.h>
+
+namespace std {
+ using ::FILE;
+ using ::fpos_t;
+ using ::size_t;
+ using ::clearerr;
+ using ::fgets;
+ using ::fscanf;
+ using ::gets;
+ using ::rename;
+ using ::tmpfile;
+ using ::fclose;
+ using ::fopen;
+ using ::fseek;
+ using ::perror;
+ using ::rewind;
+ using ::tmpnam;
+ using ::feof;
+ using ::fprintf;
+ using ::fsetpos;
+ using ::printf;
+ using ::scanf;
+ using ::ungetc;
+ using ::ferror;
+ using ::fputc;
+ using ::ftell;
+ using ::putc;
+ using ::setbuf;
+ using ::vfprintf;
+ using ::fflush;
+ using ::fputs;
+ using ::fwrite;
+ using ::putchar;
+ using ::setvbuf;
+ using ::vprintf;
+ using ::fgetc;
+ using ::fread;
+ using ::getc;
+ using ::puts;
+ using ::sprintf;
+ using ::vsprintf;
+ using ::fgetpos;
+ using ::freopen;
+ using ::getchar;
+ using ::remove;
+ using ::sscanf;
+}
+
+#endif // CSTDIO_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSTDLIB_HEADER
+#define __CSTDLIB_HEADER
+
+#include <stdlib.h>
+
+namespace std {
+ using ::abort;
+ using ::atexit;
+ using ::exit;
+ using ::getenv;
+ using ::system;
+ using ::calloc;
+ using ::malloc;
+ using ::free;
+ using ::realloc;
+ using ::atol;
+ using ::mblen;
+ using ::strtod;
+ using ::wctomb;
+ using ::atof;
+ using ::mbstowcs;
+ using ::strtol;
+ using ::wcstombs;
+ using ::atoi;
+ using ::mbtowc;
+ using ::strtoul;
+ using ::bsearch;
+ using ::qsort;
+ using ::div_t;
+ using ::ldiv_t;
+ using ::abs;
+ using ::labs;
+ using ::srand;
+ using ::div;
+ using ::ldiv;
+ using ::rand;
+}
+
+#endif // CSTDLIB_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CSTRING_HEADER
+#define __CSTRING_HEADER
+
+#include <string.h>
+
+namespace std {
+ using ::size_t;
+ using ::memchr;
+ using ::strcat;
+ using ::strcspn;
+ using ::strncpy;
+ using ::strtok;
+ using ::memcmp;
+ using ::strchr;
+ using ::strerror;
+ using ::strpbrk;
+ using ::strxfrm;
+ using ::memcpy;
+ using ::strcmp;
+ using ::strlen;
+ using ::strrchr;
+ using ::memmove;
+ using ::strcoll;
+ using ::strncat;
+ using ::strspn;
+ using ::memset;
+ using ::strcpy;
+ using ::strncmp;
+ using ::strstr;
+}
+
+#endif // CSTRING_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CTIME_HEADER
+#define __CTIME_HEADER
+
+#include <time.h>
+
+namespace std {
+ using ::size_t;
+ using ::clock_t;
+ using ::time_t;
+ using ::tm;
+ using ::asctime;
+ using ::clock;
+ using ::difftime;
+ using ::localtime;
+ using ::strftime;
+ using ::ctime;
+ using ::gmtime;
+ using ::mktime;
+ using ::time;
+}
+
+#endif // CTIME_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CWCHAR_HEADER
+#define __CWCHAR_HEADER
+
+#include <wchar.h>
+
+namespace std {
+ using ::mbstate_t;
+ using ::wint_t;
+ using ::size_t;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::btowc;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::getwchar;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::ungetwc;
+#endif
+ using ::wcscpy;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wcsrtombs;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wmemchr;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::fgetwc;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::mbrlen;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::vfwprintf;
+#endif
+#endif
+ using ::wcscspn;
+ using ::wcsspn;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wmemcmp;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::fgetws;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::mbrtowc;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::vswprintf;
+#endif
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::wcsftime;
+#endif
+ using ::wcsstr;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wmemcpy;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::fputwc;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::mbsinit;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::vwprintf;
+#endif
+#endif
+ using ::wcslen;
+ using ::wcstod;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wmemmove;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::fputws;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::mbsrtowcs;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wcrtomb;
+#endif
+ using ::wcsncat;
+ using ::wcstok;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wmemset;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__DECCXX_VER) && __DECCXX_VER <= 60290024)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::fwide;
+#endif
+#endif
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::putwc;
+#endif
+ using ::wcscat;
+ using ::wcsncmp;
+ using ::wcstol;
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wprintf;
+#endif
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::fwprintf;
+#endif
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::putwchar;
+#endif
+ using ::wcschr;
+ using ::wcsncpy;
+ using ::wcstoul;
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wscanf;
+#endif
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::fwscanf;
+#endif
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::swprintf;
+#endif
+#endif
+ using ::wcscmp;
+ using ::wcspbrk;
+ using ::wcsxfrm;
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+ using ::getwc;
+#endif
+#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::swscanf;
+#endif
+#endif
+ using ::wcscoll;
+ using ::wcsrchr;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wctob;
+#endif
+}
+
+#endif // CWCHAR_HEADER
--- /dev/null
+// This file is automatically generated. Do not edit.
+// ['../../../libs/compatibility/generate_cpp_c_headers.py']
+// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
+
+#ifndef __CWCTYPE_HEADER
+#define __CWCTYPE_HEADER
+
+#include <wctype.h>
+
+namespace std {
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wctrans_t;
+#endif
+ using ::wctype_t;
+ using ::wint_t;
+ using ::iswalnum;
+ using ::iswctype;
+ using ::iswlower;
+ using ::iswspace;
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::towctrans;
+#endif
+#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
+ using ::wctrans;
+#endif
+ using ::iswalpha;
+ using ::iswdigit;
+ using ::iswprint;
+ using ::iswupper;
+ using ::towlower;
+ using ::wctype;
+ using ::iswcntrl;
+ using ::iswgraph;
+ using ::iswpunct;
+ using ::iswxdigit;
+ using ::towupper;
+}
+
+#endif // CWCTYPE_HEADER
-includedir = @includedir@/compatibility
-
-EXTRA_DIST = README
-
-include_HEADERS = \
- cfloat \
- csetjmp \
- cstdio \
- cwchar \
- iostream \
- strstream \
- sstream \
- cassert \
- climits \
- csignal \
- cstdlib \
- cwctype \
- istream \
- cctype \
- clocale \
- cstdarg \
- cstring \
- fstream \
- iterator \
- cerrno \
- cmath \
- cstddef \
- ctime \
- iomanip \
- new \
- streambuf \
- \
- irix_string
+SUBDIRS = $(MIPSpro_DIRS)
+++ /dev/null
-
-The following header files where taken from the boost clib package
-(http://www.boost.org):
-
-cassert climits csignal cstdlib cwctype
-cctype clocale cstdarg cstring
-cerrno cmath cstddef ctime
-cfloat csetjmp cstdio cwchar
-
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CASSERT_HEADER
-#define __CASSERT_HEADER
-
-#include <assert.h>
-
-#endif // CASSERT_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CCTYPE_HEADER
-#define __CCTYPE_HEADER
-
-#include <ctype.h>
-
-namespace std {
- using ::isalnum;
- using ::isdigit;
- using ::isprint;
- using ::isupper;
- using ::tolower;
- using ::isalpha;
- using ::isgraph;
- using ::ispunct;
- using ::isxdigit;
- using ::toupper;
- using ::iscntrl;
- using ::islower;
- using ::isspace;
-}
-
-#endif // CCTYPE_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CERRNO_HEADER
-#define __CERRNO_HEADER
-
-#include <errno.h>
-
-#endif // CERRNO_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CFLOAT_HEADER
-#define __CFLOAT_HEADER
-
-#include <float.h>
-
-#endif // CFLOAT_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CLIMITS_HEADER
-#define __CLIMITS_HEADER
-
-#include <limits.h>
-
-#endif // CLIMITS_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CLOCALE_HEADER
-#define __CLOCALE_HEADER
-
-#include <locale.h>
-
-namespace std {
- using ::lconv;
- using ::localeconv;
- using ::setlocale;
-}
-
-#endif // CLOCALE_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CMATH_HEADER
-#define __CMATH_HEADER
-
-#include <math.h>
-
-namespace std {
- using ::acos;
- using ::cos;
- using ::fmod;
- using ::modf;
- using ::tan;
- using ::asin;
- using ::cosh;
- using ::frexp;
- using ::pow;
- using ::tanh;
- using ::atan;
- using ::exp;
- using ::ldexp;
- using ::sin;
- using ::atan2;
- using ::fabs;
- using ::log;
- using ::sinh;
- using ::ceil;
- using ::floor;
- using ::log10;
- using ::sqrt;
-}
-
-#endif // CMATH_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSETJMP_HEADER
-#define __CSETJMP_HEADER
-
-#include <setjmp.h>
-
-namespace std {
- using ::jmp_buf;
- using ::longjmp;
-}
-
-#endif // CSETJMP_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSIGNAL_HEADER
-#define __CSIGNAL_HEADER
-
-#include <signal.h>
-
-namespace std {
- using ::sig_atomic_t;
- using ::raise;
- using ::signal;
-}
-
-#endif // CSIGNAL_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSTDARG_HEADER
-#define __CSTDARG_HEADER
-
-#include <stdarg.h>
-
-namespace std {
- using ::va_list;
-}
-
-#endif // CSTDARG_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSTDDEF_HEADER
-#define __CSTDDEF_HEADER
-
-#include <stddef.h>
-
-namespace std {
- using ::ptrdiff_t;
- using ::size_t;
-}
-
-#endif // CSTDDEF_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSTDIO_HEADER
-#define __CSTDIO_HEADER
-
-#include <stdio.h>
-
-namespace std {
- using ::FILE;
- using ::fpos_t;
- using ::size_t;
- using ::clearerr;
- using ::fgets;
- using ::fscanf;
- using ::gets;
- using ::rename;
- using ::tmpfile;
- using ::fclose;
- using ::fopen;
- using ::fseek;
- using ::perror;
- using ::rewind;
- using ::tmpnam;
- using ::feof;
- using ::fprintf;
- using ::fsetpos;
- using ::printf;
- using ::scanf;
- using ::ungetc;
- using ::ferror;
- using ::fputc;
- using ::ftell;
- using ::putc;
- using ::setbuf;
- using ::vfprintf;
- using ::fflush;
- using ::fputs;
- using ::fwrite;
- using ::putchar;
- using ::setvbuf;
- using ::vprintf;
- using ::fgetc;
- using ::fread;
- using ::getc;
- using ::puts;
- using ::sprintf;
- using ::vsprintf;
- using ::fgetpos;
- using ::freopen;
- using ::getchar;
- using ::remove;
- using ::sscanf;
-}
-
-#endif // CSTDIO_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSTDLIB_HEADER
-#define __CSTDLIB_HEADER
-
-#include <stdlib.h>
-
-namespace std {
- using ::abort;
- using ::atexit;
- using ::exit;
- using ::getenv;
- using ::system;
- using ::calloc;
- using ::malloc;
- using ::free;
- using ::realloc;
- using ::atol;
- using ::mblen;
- using ::strtod;
- using ::wctomb;
- using ::atof;
- using ::mbstowcs;
- using ::strtol;
- using ::wcstombs;
- using ::atoi;
- using ::mbtowc;
- using ::strtoul;
- using ::bsearch;
- using ::qsort;
- using ::div_t;
- using ::ldiv_t;
- using ::abs;
- using ::labs;
- using ::srand;
- using ::div;
- using ::ldiv;
- using ::rand;
-}
-
-#endif // CSTDLIB_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CSTRING_HEADER
-#define __CSTRING_HEADER
-
-#include <string.h>
-
-namespace std {
- using ::size_t;
- using ::memchr;
- using ::strcat;
- using ::strcspn;
- using ::strncpy;
- using ::strtok;
- using ::memcmp;
- using ::strchr;
- using ::strerror;
- using ::strpbrk;
- using ::strxfrm;
- using ::memcpy;
- using ::strcmp;
- using ::strlen;
- using ::strrchr;
- using ::memmove;
- using ::strcoll;
- using ::strncat;
- using ::strspn;
- using ::memset;
- using ::strcpy;
- using ::strncmp;
- using ::strstr;
-}
-
-#endif // CSTRING_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CTIME_HEADER
-#define __CTIME_HEADER
-
-#include <time.h>
-
-namespace std {
- using ::size_t;
- using ::clock_t;
- using ::time_t;
- using ::tm;
- using ::asctime;
- using ::clock;
- using ::difftime;
- using ::localtime;
- using ::strftime;
- using ::ctime;
- using ::gmtime;
- using ::mktime;
- using ::time;
-}
-
-#endif // CTIME_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CWCHAR_HEADER
-#define __CWCHAR_HEADER
-
-#include <wchar.h>
-
-namespace std {
- using ::mbstate_t;
- using ::wint_t;
- using ::size_t;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::btowc;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::getwchar;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::ungetwc;
-#endif
- using ::wcscpy;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wcsrtombs;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wmemchr;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::fgetwc;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::mbrlen;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::vfwprintf;
-#endif
-#endif
- using ::wcscspn;
- using ::wcsspn;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wmemcmp;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::fgetws;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::mbrtowc;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::vswprintf;
-#endif
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::wcsftime;
-#endif
- using ::wcsstr;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wmemcpy;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::fputwc;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::mbsinit;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::vwprintf;
-#endif
-#endif
- using ::wcslen;
- using ::wcstod;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wmemmove;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::fputws;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::mbsrtowcs;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wcrtomb;
-#endif
- using ::wcsncat;
- using ::wcstok;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wmemset;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__DECCXX_VER) && __DECCXX_VER <= 60290024)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::fwide;
-#endif
-#endif
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::putwc;
-#endif
- using ::wcscat;
- using ::wcsncmp;
- using ::wcstol;
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wprintf;
-#endif
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::fwprintf;
-#endif
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::putwchar;
-#endif
- using ::wcschr;
- using ::wcsncpy;
- using ::wcstoul;
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wscanf;
-#endif
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::fwscanf;
-#endif
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::swprintf;
-#endif
-#endif
- using ::wcscmp;
- using ::wcspbrk;
- using ::wcsxfrm;
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
- using ::getwc;
-#endif
-#if !(defined(__linux) && defined(__DECCXX_VER) && __DECCXX_VER <= 60390005)
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::swscanf;
-#endif
-#endif
- using ::wcscoll;
- using ::wcsrchr;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wctob;
-#endif
-}
-
-#endif // CWCHAR_HEADER
+++ /dev/null
-// This file is automatically generated. Do not edit.
-// ['../../../libs/compatibility/generate_cpp_c_headers.py']
-// Mon Apr 16 15:16:00 2001 ('PST', 'PDT')
-
-#ifndef __CWCTYPE_HEADER
-#define __CWCTYPE_HEADER
-
-#include <wctype.h>
-
-namespace std {
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wctrans_t;
-#endif
- using ::wctype_t;
- using ::wint_t;
- using ::iswalnum;
- using ::iswctype;
- using ::iswlower;
- using ::iswspace;
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::towctrans;
-#endif
-#if !(defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
- using ::wctrans;
-#endif
- using ::iswalpha;
- using ::iswdigit;
- using ::iswprint;
- using ::iswupper;
- using ::towlower;
- using ::wctype;
- using ::iswcntrl;
- using ::iswgraph;
- using ::iswpunct;
- using ::iswxdigit;
- using ::towupper;
-}
-
-#endif // CWCTYPE_HEADER
+++ /dev/null
-
-#ifndef __SG_FSTREAM
-#define __SG_FSTREAM 1
-
-# if defined(sgi) && !defined(__GNUC__)
-
-# include <fstream.h>
-
- namespace std {
- using ::fstream;
- using ::ofstream;
- using ::ifstream;
- };
-
-
-# endif
-
-#endif // !__SG_FSTREAM
-
+++ /dev/null
-
-#ifndef __SG_IOMANIP
-#define __SG_IOMANIP 1
-
-# include <iomanip.h>
-
-namespace std {
-
- using ::setw;
- using ::setprecision;
-
- inline int setfill(int f) { ::setfill(f); }
-};
-
-#endif // !__SG_IOMANIP
-
+++ /dev/null
-
-#ifndef __SG_IOSTREAM
-#define __SG_IOSTREAM 1
-
-# if defined(sgi) && !defined(__GNUC__)
-
-# include <fstream>
-# include <iostream.h>
-
- class ios_base : public ios {
- public:
-
- typedef int openmode;
- typedef int seekdir;
-
- enum { binary = 0 };
- };
-
- namespace std {
- using ::cin;
- using ::cout;
- using ::cerr;
- using ::clog;
- using ::endl;
-
- using ::ios;
- using ::ios_base;
- using ::iostream;
- using ::istream;
- using ::ostream;
-
- using ::dec;
- using ::oct;
- using ::hex;
-
- enum { skipws=ios::skipws,
- left=ios::left, right=ios::right, internal=ios::internal,
- showbase=ios::showbase, showpoint=ios::showpoint,
- uppercase=ios::uppercase, showpos=ios::showpos,
- scientific=ios::scientific, fixed=ios::fixed,
- unitbuf=ios::unitbuf, stdio=ios::stdio
-#if _BOOL && __EDG_ABI_COMPATIBILITY_VERSION>227 /* bool support */
- ,boolalpha=ios::boolalpha
-#endif /* bool support */
- };
-
- };
-
-# endif
-
-#endif // !__SG_IOSTREAM
-
+++ /dev/null
-
-#ifndef __SGI_HXX
-#define __SGI_HXX 1
-
-#ifdef __cplusplus
-
-#include <string>
-
-inline bool
-operator!=( const std::string& lhs, const char* rhs)
-{
- return lhs.compare( rhs ) != 0;
-}
-
-inline bool
-operator!=( const char* lhs, const std::string& rhs)
-{
- return rhs.compare( lhs ) != 0;
-}
-
-inline bool
-operator==( const std::string& lhs, const char* rhs)
-{
- return lhs.compare( rhs ) == 0;
-}
-
-inline bool
-operator==( const char* lhs, const std::string& rhs)
-{
- return rhs.compare( lhs ) == 0;
-}
-
-inline std::string
-operator+(const std::string& lhs, const char* rhs)
-{
- return lhs + std::string(rhs);
-}
-
-inline std::string
-operator+(const char* lhs, const std::string& rhs)
-{
- return std::string(lhs) + rhs;
-}
-
-#endif /* __cplusplus */
-
-#endif /* !__SGI_HXX */
+++ /dev/null
-
-#ifndef __SG_ISTREAM
-#define __SG_ISTREAM 1
-
-# include <iostream>
-
-# if defined(sgi) && !defined(__GNUC__)
-
-# include <stream.h>
-# include <string>
-
- using std::getline;
-
-# endif
-
-#endif // !__SG_ISTREAM
-
+++ /dev/null
-
-#ifndef __SG_ITERATOR
-#define __SG_ITERATOR 1
-
-# include <iterator.h>
-
-#endif // !__SG_ITERATOR
-
+++ /dev/null
-
-#ifndef __SG_NEW
-#define __SG_NEW 1
-
-#if defined(sgi) && !defined(__GNUC__)
-
-# include <new.h>
-
-#endif
-
-#endif // !__SG_NEW
-
+++ /dev/null
-
-#ifndef __SG_SSTREAM
-#define __SG_SSTREAM 1
-
-# include <iostream>
-# include <strstream>
-# include <string>
-
-namespace std {
-
- class ostringstream : public ostrstream {
- public:
- std::string str() { return string(ostrstream::str()); }
- };
-
-
- typedef istrstream istringstream;
-
-};
-
-#endif // !__SG_SSTREAM
-
+++ /dev/null
-
-#ifndef __SG_STREAMBUF
-#define __SG_STREAMBUF 1
-
-# include <iostream>
-# include <char_traits.h>
-
-//
-// Until we find a good way to rename the original streambuf class
-// and derive our own streambuf class from that, define this variable
-// for now so the code can inherit our streambuf class instead.
-//
-# define SG_NEED_STREAMBUF_HACK 1
-
-class __streambuf : virtual public streambuf {
-public:
-
- typedef std::char_traits<char> traits_type;
- typedef std::char_traits<char>::int_type int_type;
-
- typedef streampos pos_type;
- typedef streamoff off_type;
-};
-
-
-# if defined(sgi) && !defined(__GNUC__)
-
-# define pubsync sync
-
- namespace std {
- using ::streambuf;
- using ::streampos;
- using ::streamoff;
- };
-# endif
-
-#endif // !__SG_STREAMBUF
-
+++ /dev/null
-
-#ifndef __SG_STRSTREAM
-#define __SG_STRSTREAM 1
-
-# include <strstream.h>
-
-# if defined(sgi) && !defined(__GNUC__)
-
- namespace std {
- using ::ends;
-
- using ::strstream;
- using ::istrstream;
- using ::ostrstream;
- };
-
-# endif
-
-#endif // !__SG_STRSTREAM
-
// Default values for every type.
////////////////////////////////////////////////////////////////////////
-const bool SGRawValue<bool>::DefaultValue = false;
-const int SGRawValue<int>::DefaultValue = 0;
-const long SGRawValue<long>::DefaultValue = 0L;
-const float SGRawValue<float>::DefaultValue = 0.0;
-const double SGRawValue<double>::DefaultValue = 0.0L;
-const char * const SGRawValue<const char *>::DefaultValue = "";
+template<> const bool SGRawValue<bool>::DefaultValue = false;
+template<> const int SGRawValue<int>::DefaultValue = 0;
+template<> const long SGRawValue<long>::DefaultValue = 0L;
+template<> const float SGRawValue<float>::DefaultValue = 0.0;
+template<> const double SGRawValue<double>::DefaultValue = 0.0L;
+template<> const char * const SGRawValue<const char *>::DefaultValue = "";
\f
{
public:
typedef SkyBaseBVTree<Object, BoundingVolume> BaseTree;
- typedef BaseTree::BV BV;
- typedef BaseTree::NodeObject NodeObject;
- typedef BaseTree::Node Node;
+ typedef typename SkyBaseBVTree<Object, BoundingVolume>::BV BV;
+ typedef typename BaseTree::NodeObject NodeObject;
+ typedef typename BaseTree::Node Node;
void Clear()
{
class SkyBoundingBoxSplitter
{
public:
- typedef SkyBaseBVTree<Object, SkyMinMaxBox>::NodeObject NodeObjectBox;
+ typedef typename SkyBaseBVTree<Object, SkyMinMaxBox>::NodeObject NodeObjectBox;
//typedef SkyBaseBVTree<Object, SkyBoundingSphere>::NodeObject NodeObjectSphere;
#if _MSC_VER == 1200
{
public:
typedef SkyMinMaxBox BV;
- typedef SkyBaseBVTree<Object, BV>::NodeObject NodeObject;
+ typedef typename SkyBaseBVTree<Object, BV>::NodeObject NodeObject;
SkyAABBTreeSplitter(const NodeObject* pObjs, unsigned int iNumObjs) : _splitter(pObjs, iNumObjs) {}