diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2003-03-20 02:10:46 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2003-03-20 02:10:46 (GMT) |
commit | 5cc6567850b77f29803eece112bd4887ec507467 (patch) | |
tree | 2908df92b9a52ab7311e0d9231f1e05ca79bd86b /c++/src/H5Attribute.cpp | |
parent | b2bc00b9ffde9c63e40bc33fdf9c5699c01d13fa (diff) | |
download | hdf5-5cc6567850b77f29803eece112bd4887ec507467.zip hdf5-5cc6567850b77f29803eece112bd4887ec507467.tar.gz hdf5-5cc6567850b77f29803eece112bd4887ec507467.tar.bz2 |
[svn-r6509] Purpose:
Adding new platform support
Description:
Added support for the C++ API on hpux11.00 with the compiler aCC.
Because aCC doesn't use "std," a new macro H5_NO_STD is provided
and used where "std" is presented in the library.
In addition, changed several cout's when reporting errors to cerr's.
Platforms tested:
HPUX 11.00 (kelgia)
Linux 2.2x (eirene)
IRIX 6.5.11 (modi4)
SunOS 5.7 (arabica) - by Elena
Misc. update:
Diffstat (limited to 'c++/src/H5Attribute.cpp')
-rw-r--r-- | c++/src/H5Attribute.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index 3d642a0..09e53d3 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -13,6 +13,11 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include <string> +#ifdef OLD_HEADER_FILENAME +#include <iostream.h> +#else +#include <iostream> +#endif #include "H5Include.h" #include "H5Exception.h" @@ -140,7 +145,7 @@ Attribute::~Attribute() try { resetIdComponent( this ); } catch (Exception close_error) { // thrown by p_close - throw AttributeIException("Attribute::~Attribute", close_error.getDetailMsg()); + cerr << "Attribute::~Attribute" << close_error.getDetailMsg() << endl; } } |