diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-08-26 17:11:26 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-08-26 17:11:26 (GMT) |
commit | 0e548fb251e7f3f685d6fda8cc46ee46764ef4af (patch) | |
tree | cc21b16a8b8babf9a700d6fa00664b167801f7d4 /src/H5T.c | |
parent | 8194f34ef79a58dc5e57b374873be4e50ad7ad7b (diff) | |
download | hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.zip hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.tar.gz hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.tar.bz2 |
[svn-r24074] I took out the soft conversion functions H5T__conv_i_f and H5T__conv_f_i for OpenVMS because
they have problem to convert between integers and floating numbers. I also commented out the test
case in dt_arith.c for OpenVMS.
Tested on jam - simple change.
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1050,9 +1050,12 @@ H5T_init_interface(void) status = 0; status |= H5T_register(H5T_PERS_SOFT, "i_i", fixedpt, fixedpt, H5T__conv_i_i, H5AC_dxpl_id, FALSE); - status |= H5T_register(H5T_PERS_SOFT, "i_f", fixedpt, floatpt, H5T__conv_i_f, H5AC_dxpl_id, FALSE); status |= H5T_register(H5T_PERS_SOFT, "f_f", floatpt, floatpt, H5T__conv_f_f, H5AC_dxpl_id, FALSE); +#ifndef H5_VMS + /* Disable these two conversion function because OpenVMS has trouble with them - SLU 2013/8/26 */ + status |= H5T_register(H5T_PERS_SOFT, "i_f", fixedpt, floatpt, H5T__conv_i_f, H5AC_dxpl_id, FALSE); status |= H5T_register(H5T_PERS_SOFT, "f_i", floatpt, fixedpt, H5T__conv_f_i, H5AC_dxpl_id, FALSE); +#endif status |= H5T_register(H5T_PERS_SOFT, "s_s", string, string, H5T__conv_s_s, H5AC_dxpl_id, FALSE); status |= H5T_register(H5T_PERS_SOFT, "b_b", bitfield, bitfield, H5T__conv_b_b, H5AC_dxpl_id, FALSE); status |= H5T_register(H5T_PERS_SOFT, "ibo", fixedpt, fixedpt, H5T__conv_order, H5AC_dxpl_id, FALSE); |