diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 16:42:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 16:42:40 (GMT) |
commit | 4886a6c447dc445ed34d8c6ea162b57cbbcec72b (patch) | |
tree | df5e3f11b8af2766dcd07418331747c085245afb /c++/test | |
parent | a9c747deba6e588b2ec5bc624a53c976a9faa3bc (diff) | |
download | hdf5-4886a6c447dc445ed34d8c6ea162b57cbbcec72b.zip hdf5-4886a6c447dc445ed34d8c6ea162b57cbbcec72b.tar.gz hdf5-4886a6c447dc445ed34d8c6ea162b57cbbcec72b.tar.bz2 |
[svn-r4670] Purpose:
Backward Compatibility Fix
Description:
One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development
branch.
Solution:
Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing
to allow v1.4.x users to continue to use their source code without
modification.
These changes are for everything except the FORTRAN wrappers - I spoke with
Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/tfile.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp index 0bb2a36..9b0f49d 100644 --- a/c++/test/tfile.cpp +++ b/c++/test/tfile.cpp @@ -135,7 +135,11 @@ test_file_create(void) VERIFY(parm2, F1_LENGTH_SIZE, "FileCreatPropList::getSizes"); int iparm1; /*file-creation parameters */ +#ifdef H5_WANT_H5_V1_4_COMPAT + int iparm2; /*file-creation parameters */ +#else /* H5_WANT_H5_V1_4_COMPAT */ unsigned iparm2; /*file-creation parameters */ +#endif /* H5_WANT_H5_V1_4_COMPAT */ tmpl1.getSymk( iparm1, iparm2); VERIFY(iparm1, F1_SYM_INTERN_K, "FileCreatPropList::getSymk"); VERIFY(iparm2, F1_SYM_LEAF_K, "FileCreatPropList::getSymk"); @@ -185,7 +189,11 @@ test_file_create(void) VERIFY(parm2, F2_LENGTH_SIZE, "FileCreatPropList::getSizes"); int iparm1; /*file-creation parameters */ +#ifdef H5_WANT_H5_V1_4_COMPAT + int iparm2; /*file-creation parameters */ +#else /* H5_WANT_H5_V1_4_COMPAT */ unsigned iparm2; /*file-creation parameters */ +#endif /* H5_WANT_H5_V1_4_COMPAT */ tmpl1->getSymk( iparm1, iparm2); VERIFY(iparm1, F2_SYM_INTERN_K, "FileCreatPropList::getSymk"); VERIFY(iparm2, F2_SYM_LEAF_K, "FileCreatPropList::getSymk"); @@ -269,7 +277,11 @@ test_file_open(void) VERIFY(parm2, F2_LENGTH_SIZE, "FileCreatPropList::getSizes"); int iparm1; /*file-creation parameters */ +#ifdef H5_WANT_H5_V1_4_COMPAT + int iparm2; /*file-creation parameters */ +#else /* H5_WANT_H5_V1_4_COMPAT */ unsigned iparm2; /*file-creation parameters */ +#endif /* H5_WANT_H5_V1_4_COMPAT */ tmpl1.getSymk( iparm1, iparm2); VERIFY(iparm1, F2_SYM_INTERN_K, "FileCreatPropList::getSymk"); VERIFY(iparm2, F2_SYM_LEAF_K, "FileCreatPropList::getSymk"); |