mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
c8018386da
Description: + The C++ test failed with the new PGI compilers versions 12.4 and 12.5 + An exception thrown by an internal function, which was called by a constructor, was not propagating to the test program during the stack unwinding, so it couldn't be caught by the test and the program terminated. + Various trials and errors indicated that the problem is where an STD string converted to a char* being passed to the internal function, but confirmation has not been found yet. It could be a compiler bug. Solution: + Added a try/catch in the constructor around the internal function and re-throw the exception when it is caught. This is a workaround. + Unrelated minor fixes: removed unused variables and MESSAGE's; commented out tvlstr.cpp/test_read_vl_string_attribute because it may be redundant, and commented out H5Tpkg.h inclusion because TEST_ALIGNMENT is not added yet and probably not necessary in the C++ API. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers Linux/64 2.6 (koala) |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dsets.cpp | ||
h5cpputil.cpp | ||
h5cpputil.h | ||
H5srcdir_str.h.in | ||
Makefile.am | ||
Makefile.in | ||
tattr.cpp | ||
tcompound.cpp | ||
testhdf5.cpp | ||
tfile.cpp | ||
tfilter.cpp | ||
th5s.cpp | ||
th5s.h5 | ||
tlinks.cpp | ||
trefer.cpp | ||
ttypes.cpp | ||
tvlstr.cpp |