diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-03-08 09:50:55 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-03-08 09:50:55 (GMT) |
commit | 5a4bf8171df9473047d1eda534ed9a6a4d0749d9 (patch) | |
tree | 1a793c349ab893f7db8f3374fd35cdd5bdd207fd /c++/test/th5s.cpp | |
parent | 25bcff76811f8f038875f639688a09f641ff34ef (diff) | |
download | hdf5-5a4bf8171df9473047d1eda534ed9a6a4d0749d9.zip hdf5-5a4bf8171df9473047d1eda534ed9a6a4d0749d9.tar.gz hdf5-5a4bf8171df9473047d1eda534ed9a6a4d0749d9.tar.bz2 |
[svn-r13474] Purpose: Fixed bugs
Description:
VMS revealed a problem in calling C++ test functions from C AddTest.
Solution:
Per Quincey's suggestion, added
#ifdef __cplusplus
extern "C"
#endif
to the called C++ functions.
Platforms tested
AIX 5.1 (copper)
Linux 2.6 (kagiso)
On pending: waiting for Elena to test on VMS when she comes back.
Diffstat (limited to 'c++/test/th5s.cpp')
-rw-r--r-- | c++/test/th5s.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp index 8ae34a6..9c49105 100644 --- a/c++/test/th5s.cpp +++ b/c++/test/th5s.cpp @@ -591,8 +591,10 @@ test_h5s_compound_scalar_read(void) * Modifications: *------------------------------------------------------------------------- */ -void -test_h5s(void) +#ifdef __cplusplus +extern "C" +#endif +void test_h5s(void) { // Output message about test being performed MESSAGE(5, ("Testing Dataspaces\n")); |