summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Group.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2003-03-20 02:10:46 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2003-03-20 02:10:46 (GMT)
commit5cc6567850b77f29803eece112bd4887ec507467 (patch)
tree2908df92b9a52ab7311e0d9231f1e05ca79bd86b /c++/src/H5Group.cpp
parentb2bc00b9ffde9c63e40bc33fdf9c5699c01d13fa (diff)
downloadhdf5-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/H5Group.cpp')
-rw-r--r--c++/src/H5Group.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/c++/src/H5Group.cpp b/c++/src/H5Group.cpp
index b8cc4a4..f805778 100644
--- a/c++/src/H5Group.cpp
+++ b/c++/src/H5Group.cpp
@@ -13,6 +13,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <string>
+#ifdef OLD_HEADER_FILENAME
+#include <iostream.h>
+#else
+#include <iostream>
+#endif
#include "H5Include.h"
#include "H5RefCounter.h"
@@ -151,7 +156,7 @@ Group::~Group()
try {
resetIdComponent( this ); }
catch (Exception close_error) { // thrown by p_close
- throw GroupIException("Group::~Group", close_error.getDetailMsg());
+ cerr << "Group::~Group" << close_error.getDetailMsg() << endl;
}
}