[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:
This commit is contained in:
Binh-Minh Ribler
2003-03-19 21:10:46 -05:00
parent b2bc00b9ff
commit 5cc6567850
8 changed files with 42 additions and 13 deletions

View File

@@ -13,6 +13,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <string>
#ifdef OLD_HEADER_FILENAME
#include <iostream.h>
#else
#include <iostream>
#endif
#include "H5Include.h"
#include "H5RefCounter.h"
@@ -257,7 +262,7 @@ DataSet::~DataSet()
try {
resetIdComponent( this ); }
catch (Exception close_error) { // thrown by p_close
throw DataSetIException("DataSet::~DataSet", close_error.getDetailMsg());
cerr << "DataSet::~DataSet" << close_error.getDetailMsg() << endl;
}
}