diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-17 17:20:07 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-17 17:20:07 (GMT) |
commit | a6b59791abe6c0dd03ffd70edb8fbe6460ad8971 (patch) | |
tree | b6e2fc0fbccb7926b1bf50d9f86450197f80cead /c++/src/H5Exception.cpp | |
parent | e12c0353503aa10aac9eb085011339402f30aaeb (diff) | |
download | hdf5-a6b59791abe6c0dd03ffd70edb8fbe6460ad8971.zip hdf5-a6b59791abe6c0dd03ffd70edb8fbe6460ad8971.tar.gz hdf5-a6b59791abe6c0dd03ffd70edb8fbe6460ad8971.tar.bz2 |
[svn-r6485] Purpose:
Bug Fix
Description:
"using namespace std" isn't supported on HP-UX. We ahve the H5_NO_STD
flag begin set, but it wasn't being used.
Solution:
Added the check to the #ifdef line to see if H5_NO_STD is defined
before trying to use it in the program.
Platforms tested:
Kelgia
Diffstat (limited to 'c++/src/H5Exception.cpp')
-rw-r--r-- | c++/src/H5Exception.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c++/src/H5Exception.cpp b/c++/src/H5Exception.cpp index 81987c2..c61e252 100644 --- a/c++/src/H5Exception.cpp +++ b/c++/src/H5Exception.cpp @@ -23,7 +23,9 @@ #ifndef H5_NO_NAMESPACE namespace H5 { +#ifndef H5_NO_STD using namespace std; +#endif // H5_NO_STD #endif // Default constructor |