Index: assert.h =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/assert.h,v retrieving revision 1.1 retrieving revision 1.3 diff -c -3 -p -r1.1 -r1.3 *** assert.h 1 Nov 2002 14:00:28 -0000 1.1 --- assert.h 27 Jan 2006 14:16:50 -0000 1.3 *************** _CRTIMP void __cdecl _assert(void *, voi *** 53,58 **** } #endif ! #define assert(exp) (void)( (exp) || (_assert(#exp, __FILE__, __LINE__), 0) ) #endif /* NDEBUG */ --- 53,58 ---- } #endif ! #define assert(exp) ((void)0) #endif /* NDEBUG */ Index: deque =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/deque,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** deque 1 Nov 2002 14:00:28 -0000 1.1 --- deque 21 Oct 2007 19:58:47 -0000 1.2 *************** public: *** 245,253 **** size_type _Block = _Myoff / _DEQUESIZ; size_type _Off = _Myoff - _Block * _DEQUESIZ; ! if (_Mydeque->_Mapsize <= _Block) ! _Block -= _Mydeque->_Mapsize; ! return ((_Mydeque->_Map)[_Block][_Off]); } _Tptr operator->() const --- 245,253 ---- size_type _Block = _Myoff / _DEQUESIZ; size_type _Off = _Myoff - _Block * _DEQUESIZ; ! if (this->_Mydeque->_Mapsize <= _Block) ! _Block -= this->_Mydeque->_Mapsize; ! return ((this->_Mydeque->_Map)[_Block][_Off]); } _Tptr operator->() const *************** public: *** 787,793 **** void swap(_Myt& _Right) { // exchange contents with _Right ! if (_Alval == _Right._Alval) { // same allocator, swap control information std::swap(_Map, _Right._Map); std::swap(_Mapsize, _Right._Mapsize); --- 787,793 ---- void swap(_Myt& _Right) { // exchange contents with _Right ! if (this->_Alval == _Right._Alval) { // same allocator, swap control information std::swap(_Map, _Right._Map); std::swap(_Mapsize, _Right._Mapsize); *************** protected: *** 891,917 **** _Mapptr _Myptr = _Newmap + _Myboff; _Myptr = _Uninitialized_copy(_Map + _Myboff, ! _Map + _Mapsize, _Myptr, _Almap); // copy from initial to end if (_Myboff <= _Count) { // increment greater than offset of initial block _Myptr = _Uninitialized_copy(_Map, ! _Map + _Myboff, _Myptr, _Almap); // copy rest of old _Uninitialized_fill_n(_Myptr, _Count - _Myboff, ! (_Tptr)0, _Almap); // clear suffix of new _Uninitialized_fill_n(_Newmap, _Myboff, ! (_Tptr)0, _Almap); // clear prefix of new } else { // increment not greater than offset of initial block _Uninitialized_copy(_Map, ! _Map + _Count, _Myptr, _Almap); // copy more old to end _Myptr = _Uninitialized_copy(_Map + _Count, ! _Map + _Myboff, _Newmap, _Almap); // copy rest of old _Uninitialized_fill_n(_Myptr, _Count, ! (_Tptr)0, _Almap); // clear rest to initial block } ! _Destroy_range(_Map + _Myboff, _Map + _Mapsize, _Almap); this->_Almap.deallocate(_Map, _Mapsize); // free storage for old _Map = _Newmap; // point at new --- 891,917 ---- _Mapptr _Myptr = _Newmap + _Myboff; _Myptr = _Uninitialized_copy(_Map + _Myboff, ! _Map + _Mapsize, _Myptr, this->_Almap); // copy from initial to end if (_Myboff <= _Count) { // increment greater than offset of initial block _Myptr = _Uninitialized_copy(_Map, ! _Map + _Myboff, _Myptr, this->_Almap); // copy rest of old _Uninitialized_fill_n(_Myptr, _Count - _Myboff, ! (_Tptr)0, this->_Almap); // clear suffix of new _Uninitialized_fill_n(_Newmap, _Myboff, ! (_Tptr)0, this->_Almap); // clear prefix of new } else { // increment not greater than offset of initial block _Uninitialized_copy(_Map, ! _Map + _Count, _Myptr, this->_Almap); // copy more old to end _Myptr = _Uninitialized_copy(_Map + _Count, ! _Map + _Myboff, _Newmap, this->_Almap); // copy rest of old _Uninitialized_fill_n(_Myptr, _Count, ! (_Tptr)0, this->_Almap); // clear rest to initial block } ! _Destroy_range(_Map + _Myboff, _Map + _Mapsize, this->_Almap); this->_Almap.deallocate(_Map, _Mapsize); // free storage for old _Map = _Newmap; // point at new Index: functional =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/functional,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** functional 1 Nov 2002 14:00:28 -0000 1.1 --- functional 21 Oct 2007 19:58:47 -0000 1.2 *************** public: *** 343,349 **** } protected: ! _Result (__cdecl *_Pfun)(_Arg); // the function pointer }; // TEMPLATE CLASS pointer_to_binary_function --- 343,350 ---- } protected: ! typedef _Result (__cdecl *_PfunType)(_Arg); ! _PfunType _Pfun; // the function pointer }; // TEMPLATE CLASS pointer_to_binary_function *************** public: *** 366,372 **** } protected: ! _Result (__cdecl *_Pfun)(_Arg1, _Arg2); // the function pointer }; // TEMPLATE FUNCTION ptr_fun --- 367,374 ---- } protected: ! typedef _Result (__cdecl *_PfunType)(_Arg1, _Arg2); ! _PfunType _Pfun; // the function pointer }; // TEMPLATE FUNCTION ptr_fun Index: istream =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/istream,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** istream 1 Nov 2002 14:00:28 -0000 1.1 --- istream 21 Oct 2007 19:58:47 -0000 1.2 *************** public: *** 70,76 **** explicit sentry(_Myt& _Istr, bool _Noskip = false) : _Sentry_base(_Istr) { // construct locking and calling _Ipfx ! _Ok = _Myistr._Ipfx(_Noskip); } operator bool() const --- 70,76 ---- explicit sentry(_Myt& _Istr, bool _Noskip = false) : _Sentry_base(_Istr) { // construct locking and calling _Ipfx ! _Ok = this->_Myistr._Ipfx(_Noskip); } operator bool() const Index: limits =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/limits,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** limits 1 Nov 2002 14:00:28 -0000 1.1 --- limits 21 Oct 2007 19:58:47 -0000 1.2 *************** struct _CRTIMP2 _Num_base *** 66,83 **** _STCONS(int, radix, 0); }; // TEMPLATE CLASS numeric_limits template class numeric_limits : public _Num_base { // numeric limits for arbitrary type _Ty (say little or nothing) public: ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (_Ty(0)); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (_Ty(0)); } --- 66,84 ---- _STCONS(int, radix, 0); }; + #define __GCCXML_AVOID_MACRO_EXPANSION // TEMPLATE CLASS numeric_limits template class numeric_limits : public _Num_base { // numeric limits for arbitrary type _Ty (say little or nothing) public: ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (_Ty(0)); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (_Ty(0)); } *************** template<> class _CRTIMP2 numeric_limits *** 154,165 **** public: typedef char _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (CHAR_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (CHAR_MAX); } --- 155,166 ---- public: typedef char _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (CHAR_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (CHAR_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 207,218 **** public: typedef bool _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (false); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (true); } --- 208,219 ---- public: typedef bool _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (false); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (true); } *************** template<> class _CRTIMP2 numeric_limits *** 260,271 **** public: typedef signed char _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (SCHAR_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (SCHAR_MAX); } --- 261,272 ---- public: typedef signed char _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (SCHAR_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (SCHAR_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 312,323 **** public: typedef unsigned char _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (0); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (UCHAR_MAX); } --- 313,324 ---- public: typedef unsigned char _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (0); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (UCHAR_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 364,375 **** public: typedef short _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (SHRT_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (SHRT_MAX); } --- 365,376 ---- public: typedef short _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (SHRT_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (SHRT_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 417,428 **** public: typedef unsigned short _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (0); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (USHRT_MAX); } --- 418,429 ---- public: typedef unsigned short _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (0); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (USHRT_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 471,482 **** public: typedef wchar_t _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (0); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (USHRT_MAX); } --- 472,483 ---- public: typedef wchar_t _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (0); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (USHRT_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 525,536 **** public: typedef int _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (INT_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (INT_MAX); } --- 526,537 ---- public: typedef int _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (INT_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (INT_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 578,589 **** public: typedef unsigned int _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (0); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (UINT_MAX); } --- 579,590 ---- public: typedef unsigned int _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (0); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (UINT_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 631,642 **** public: typedef long _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (LONG_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (LONG_MAX); } --- 632,643 ---- public: typedef long _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (LONG_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (LONG_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 684,695 **** public: typedef unsigned long _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (0); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (ULONG_MAX); } --- 685,696 ---- public: typedef unsigned long _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (0); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (ULONG_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 738,749 **** public: typedef _LONGLONG _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (-_LLONG_MAX - _C2); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (_LLONG_MAX); } --- 739,750 ---- public: typedef _LONGLONG _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (-_LLONG_MAX - _C2); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (_LLONG_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 791,802 **** public: typedef _ULONGLONG _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (0); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (_ULLONG_MAX); } --- 792,803 ---- public: typedef _ULONGLONG _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (0); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (_ULLONG_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 845,856 **** public: typedef float _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (FLT_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (FLT_MAX); } --- 846,857 ---- public: typedef float _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (FLT_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (FLT_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 900,911 **** public: typedef double _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (DBL_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (DBL_MAX); } --- 901,912 ---- public: typedef double _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (DBL_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (DBL_MAX); } *************** template<> class _CRTIMP2 numeric_limits *** 955,966 **** public: typedef long double _Ty; ! static _Ty (__cdecl min)() _THROW0() { // return minimum value return (LDBL_MIN); } ! static _Ty (__cdecl max)() _THROW0() { // return maximum value return (LDBL_MAX); } --- 956,967 ---- public: typedef long double _Ty; ! static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return minimum value return (LDBL_MIN); } ! static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() { // return maximum value return (LDBL_MAX); } Index: list =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/list,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** list 1 Nov 2002 14:00:28 -0000 1.1 --- list 21 Oct 2007 19:58:47 -0000 1.2 *************** public: *** 233,239 **** reference operator*() const { // return designated value ! return (_Myval(_Ptr)); } --- 233,239 ---- reference operator*() const { // return designated value ! return (_Myval(this->_Ptr)); } *************** public: *** 244,250 **** iterator& operator++() { // preincrement ! _Ptr = _Next(_Ptr); return (*this); } --- 244,250 ---- iterator& operator++() { // preincrement ! this->_Ptr = _Next(this->_Ptr); return (*this); } *************** public: *** 257,263 **** iterator& operator--() { // predecrement ! _Ptr = _Prev(_Ptr); return (*this); } --- 257,263 ---- iterator& operator--() { // predecrement ! this->_Ptr = _Prev(this->_Ptr); return (*this); } Index: ostream =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/ostream,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** ostream 1 Nov 2002 14:00:28 -0000 1.1 --- ostream 21 Oct 2007 19:58:47 -0000 1.2 *************** public: *** 93,102 **** { // destroy the object #if _HAS_EXCEPTIONS if (!uncaught_exception()) ! _Myostr._Osfx(); } #else ! _Myostr._Osfx(); } #endif --- 93,102 ---- { // destroy the object #if _HAS_EXCEPTIONS if (!uncaught_exception()) ! this->_Myostr._Osfx(); } #else ! this->_Myostr._Osfx(); } #endif Index: process.h =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/process.h,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** process.h 1 Nov 2002 14:00:28 -0000 1.1 --- process.h 1 Feb 2005 20:40:08 -0000 1.2 *************** _CRTIMP int __cdecl _wsystem(const wchar *** 177,183 **** */ intptr_t __cdecl _loaddll(char *); int __cdecl _unloaddll(intptr_t); ! int (__cdecl * __cdecl _getdllprocaddr(intptr_t, char *, intptr_t))(); /* --------- The preceding functions are OBSOLETE --------- */ --- 177,184 ---- */ intptr_t __cdecl _loaddll(char *); int __cdecl _unloaddll(intptr_t); ! typedef int (__cdecl * _getdllprocaddr_type)(); ! _getdllprocaddr_type __cdecl _getdllprocaddr(intptr_t, char *, intptr_t); /* --------- The preceding functions are OBSOLETE --------- */ Index: signal.h =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/signal.h,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** signal.h 1 Nov 2002 14:00:28 -0000 1.1 --- signal.h 17 May 2004 17:34:46 -0000 1.2 *************** extern void * _pxcptinfoptrs; *** 89,95 **** /* Function prototypes */ ! _CRTIMP void (__cdecl * __cdecl signal(int, void (__cdecl *)(int)))(int); _CRTIMP int __cdecl raise(int); --- 89,96 ---- /* Function prototypes */ ! typedef void (__cdecl * __signal_handler_t)(int); ! _CRTIMP __signal_handler_t __cdecl signal(int, __signal_handler_t); _CRTIMP int __cdecl raise(int); Index: stddef.h =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/stddef.h,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** stddef.h 1 Nov 2002 14:00:28 -0000 1.1 --- stddef.h 9 Jan 2009 13:47:14 -0000 1.2 *************** typedef unsigned short wchar_t; *** 122,132 **** --- 122,135 ---- /* Define offsetof macro */ + #define offsetof(s,m) ((size_t)__builtin_offsetof(s,m)) + #if 0 /* replaced for gccxml */ #ifdef _WIN64 #define offsetof(s,m) (size_t)( (ptrdiff_t)&(((s *)0)->m) ) #else #define offsetof(s,m) (size_t)&(((s *)0)->m) #endif + #endif /* 0 */ #ifdef _MT Index: typeinfo.h =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/typeinfo.h,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** typeinfo.h 1 Nov 2002 14:00:28 -0000 1.1 --- typeinfo.h 17 May 2004 14:29:56 -0000 1.2 *************** *** 37,42 **** --- 37,43 ---- #endif /* _DLL */ #endif /* _CRTIMP */ + namespace std { class type_info { public: _CRTIMP virtual ~type_info(); *************** private: *** 51,57 **** type_info(const type_info& rhs); type_info& operator=(const type_info& rhs); }; ! // This include must occur below the definition of class type_info #include --- 52,59 ---- type_info(const type_info& rhs); type_info& operator=(const type_info& rhs); }; ! } ! using std::type_info; // This include must occur below the definition of class type_info #include Index: valarray =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/valarray,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** valarray 1 Nov 2002 14:00:28 -0000 1.1 --- valarray 21 Oct 2007 19:58:47 -0000 1.2 *************** *** 5,10 **** --- 5,12 ---- #include #include + #define __GCCXML_AVOID_MACRO_EXPANSION + #pragma pack(push,8) #pragma warning(push,3) *************** public: *** 306,312 **** return (_Sum); } ! _Ty min() const { // return smallest of all elements _Ty _Min = _Myptr[0]; for (size_t _Idx = 0; ++_Idx < size(); ) --- 308,314 ---- return (_Sum); } ! _Ty min __GCCXML_AVOID_MACRO_EXPANSION() const { // return smallest of all elements _Ty _Min = _Myptr[0]; for (size_t _Idx = 0; ++_Idx < size(); ) *************** public: *** 315,321 **** return (_Min); } ! _Ty max() const { // return largest of all elements _Ty _Max = _Myptr[0]; for (size_t _Idx = 0; ++_Idx < size(); ) --- 317,323 ---- return (_Min); } ! _Ty max __GCCXML_AVOID_MACRO_EXPANSION() const { // return largest of all elements _Ty _Max = _Myptr[0]; for (size_t _Idx = 0; ++_Idx < size(); ) Index: xdebug =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/xdebug,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** xdebug 1 Nov 2002 14:00:28 -0000 1.1 --- xdebug 21 Oct 2007 19:58:47 -0000 1.2 *************** template *** 53,59 **** --- 53,61 ---- { // delete from the debug CRT heap even if operator delete differs if (_Ptr != 0) { + #if 0 _Ptr->~_Ty(); + #endif // delete as _NORMAL_BLOCK, not _CRT_BLOCK, since we might have // facets allocated by normal new. free(_Ptr); *************** template *** 66,71 **** --- 68,75 ---- : public allocator<_Ty> { // an allocator which uses the debug CRT heap public: + typedef typename allocator<_Ty>::pointer pointer; + typedef typename allocator<_Ty>::size_type size_type; template struct rebind Index: xlocale =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/xlocale,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** xlocale 1 Nov 2002 14:00:28 -0000 1.1 --- xlocale 1 Nov 2002 16:01:12 -0000 1.2 *************** *** 13,18 **** --- 13,21 ---- #pragma warning(push,3) _STD_BEGIN + class _CRTIMP2 locale; + template class collate; + template const _Facet& __cdecl use_facet(const locale& _Loc); // TEMPLATE CLASS _Locbase template Index: xstddef =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/xstddef,v retrieving revision 1.1 retrieving revision 1.3 diff -c -3 -p -r1.1 -r1.3 *** xstddef 1 Nov 2002 14:00:28 -0000 1.1 --- xstddef 18 Mar 2003 20:42:54 -0000 1.3 *************** _STD_BEGIN *** 22,28 **** #define _RERAISE throw #define _THROW0() throw () ! #define _THROW1(x) throw (...) #define _THROW(x, y) throw x(y) #else /* no exceptions */ #define _TRY_BEGIN {{ --- 22,28 ---- #define _RERAISE throw #define _THROW0() throw () ! #define _THROW1(x) throw (x) #define _THROW(x, y) throw x(y) #else /* no exceptions */ #define _TRY_BEGIN {{ *************** _STD_BEGIN *** 42,48 **** #define _TEMPLATE template<> #ifndef _TEMPLATE_STAT ! #define _TEMPLATE_STAT template<> #endif #ifndef _TEMPLATE_MEMBER --- 42,48 ---- #define _TEMPLATE template<> #ifndef _TEMPLATE_STAT ! #define _TEMPLATE_STAT #endif #ifndef _TEMPLATE_MEMBER Index: xstring =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/xstring,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** xstring 1 Nov 2002 14:00:28 -0000 1.1 --- xstring 21 Oct 2007 19:58:47 -0000 1.2 *************** private: *** 1281,1289 **** template ! const /* typename */ basic_string<_Elem, _Traits, _Alloc>::size_type basic_string<_Elem, _Traits, _Alloc>::npos = ! (basic_string<_Elem, _Traits, _Alloc>::size_type)(-1); typedef basic_string, allocator > string; --- 1281,1289 ---- template ! const typename basic_string<_Elem, _Traits, _Alloc>::size_type basic_string<_Elem, _Traits, _Alloc>::npos = ! (typename basic_string<_Elem, _Traits, _Alloc>::size_type)(-1); typedef basic_string, allocator > string; Index: xtree =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/xtree,v retrieving revision 1.1 retrieving revision 1.2 diff -c -3 -p -r1.1 -r1.2 *** xtree 1 Nov 2002 14:00:28 -0000 1.1 --- xtree 21 Oct 2007 19:58:47 -0000 1.2 *************** public: *** 307,313 **** reference operator*() const { // return designated value ! return (_Myval(_Ptr)); } pointer operator->() const --- 307,313 ---- reference operator*() const { // return designated value ! return (_Myval(this->_Ptr)); } pointer operator->() const *************** public: *** 317,323 **** iterator& operator++() { // preincrement ! _Inc(); return (*this); } --- 317,323 ---- iterator& operator++() { // preincrement ! this->_Inc(); return (*this); } *************** public: *** 330,336 **** iterator& operator--() { // predecrement ! _Dec(); return (*this); } --- 330,336 ---- iterator& operator--() { // predecrement ! this->_Dec(); return (*this); } Index: yvals.h =================================================================== RCS file: /cvsroot/GxInclude/Vc7/Include/yvals.h,v retrieving revision 1.1 retrieving revision 1.3 diff -c -3 -p -r1.1 -r1.3 *** yvals.h 1 Nov 2002 14:00:28 -0000 1.1 --- yvals.h 18 Mar 2005 22:21:50 -0000 1.3 *************** _STD_END *** 93,100 **** /* VC++ COMPILER PARAMETERS */ #define _LONGLONG __int64 #define _ULONGLONG unsigned __int64 ! #define _LLONG_MAX 0x7fffffffffffffff ! #define _ULLONG_MAX 0xffffffffffffffff /* INTEGER PROPERTIES */ #define _C2 1 /* 0 if not 2's complement */ --- 93,100 ---- /* VC++ COMPILER PARAMETERS */ #define _LONGLONG __int64 #define _ULONGLONG unsigned __int64 ! #define _LLONG_MAX 0x7fffffffffffffffi64 ! #define _ULLONG_MAX 0xffffffffffffffffui64 /* INTEGER PROPERTIES */ #define _C2 1 /* 0 if not 2's complement */