# HG changeset patch # User jwe # Date 1041642626 0 # Node ID 64c444ac1feec1924976ef1f8a21fa0bb55c9467 # Parent 2cc12970de72866cb72e55b202e0053b6fcbd2cd [project @ 2003-01-04 01:10:25 by jwe] diff --git a/doc/ChangeLog b/doc/ChangeLog --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-03 John W. Eaton + + * interpreter/munge-texi.cc: Define __USE_STD_IOSTREAM if using + Compaq C++. + 2002-12-03 John W. Eaton * interpreter/Makefile.in (%.o : %.c): No longer need diff --git a/doc/interpreter/munge-texi.cc b/doc/interpreter/munge-texi.cc --- a/doc/interpreter/munge-texi.cc +++ b/doc/interpreter/munge-texi.cc @@ -20,6 +20,10 @@ */ +#if defined (__DECCXX) +#define __USE_STD_IOSTREAM +#endif + #include #include #include diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,8 @@ 2003-01-03 John W. Eaton + * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete + to correspond to placement new operator. + * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. (DET::value_will_underflow): Likewise. * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. diff --git a/liboctave/oct-alloc.h b/liboctave/oct-alloc.h --- a/liboctave/oct-alloc.h +++ b/liboctave/oct-alloc.h @@ -63,6 +63,8 @@ public: \ void *operator new (size_t size, void *p) \ { return ::operator new (size, p); } \ + void operator delete (void *p, void *) \ + { return ::operator delete (p); } \ void *operator new (size_t size) { return allocator.alloc (size); } \ void operator delete (void *p, size_t size) { allocator.free (p, size); } \ private: \ diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2003-01-03 John W. Eaton + * gethelp.cc: Define __USE_STD_IOSTREAM if using Compaq C++. + * miscellaneous/tempname.m: New file. * miscellaneous/tempdir.m: New file. diff --git a/scripts/gethelp.cc b/scripts/gethelp.cc --- a/scripts/gethelp.cc +++ b/scripts/gethelp.cc @@ -1,3 +1,7 @@ +#if defined (__DECCXX) +#define __USE_STD_IOSTREAM +#endif + #include #include diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2003-01-03 John W. Eaton + * mkgendoc: In generated code, define __USE_STD_IOSTREAM if using + Compaq C++. + * Makefile.in (distclean): Also remove doc-files and gendoc.cc. * input.cc (initialize_command_input): Use const for diff --git a/src/mkgendoc b/src/mkgendoc --- a/src/mkgendoc +++ b/src/mkgendoc @@ -15,6 +15,10 @@ cat << \EOF // DO NOT EDIT! Generated automatically by mkgendoc +#if defined (__DECCXX) +#define __USE_STD_IOSTREAM +#endif + #include #include