summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2007-03-08 09:50:55 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2007-03-08 09:50:55 (GMT)
commit5a4bf8171df9473047d1eda534ed9a6a4d0749d9 (patch)
tree1a793c349ab893f7db8f3374fd35cdd5bdd207fd /c++/test/h5cpputil.h
parent25bcff76811f8f038875f639688a09f641ff34ef (diff)
downloadhdf5-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/h5cpputil.h')
-rw-r--r--c++/test/h5cpputil.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c++/test/h5cpputil.h b/c++/test/h5cpputil.h
index 3c7efe1..bb08f45 100644
--- a/c++/test/h5cpputil.h
+++ b/c++/test/h5cpputil.h
@@ -95,6 +95,9 @@ class InvalidActionException : public Exception {
};
/* Prototypes for the test routines */
+#ifdef __cplusplus
+extern "C" {
+#endif
void test_attr(void);
void test_compound(void);
void test_file(void);
@@ -113,6 +116,11 @@ void cleanup_h5s(void);
void cleanup_reference(void);
void cleanup_types(void);
void cleanup_vlstrings(void);
+
+#ifdef __cplusplus
+}
+#endif
+
/* not yet
void cleanup_select(void);
void cleanup_time(void);