diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-04-30 19:32:25 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-04-30 19:32:25 (GMT) |
commit | bfa57861844fec57e445d9b0cbc61f44e0ef1916 (patch) | |
tree | e9d6ff4f3ec3776c06a7aee16a2983772a197780 /fortran | |
parent | 315c1f9eb00cb5e7e04fd4fa984399df92a7a765 (diff) | |
download | hdf5-bfa57861844fec57e445d9b0cbc61f44e0ef1916.zip hdf5-bfa57861844fec57e445d9b0cbc61f44e0ef1916.tar.gz hdf5-bfa57861844fec57e445d9b0cbc61f44e0ef1916.tar.bz2 |
[svn-r26986] Removed H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero and
has been listed as deprecated.
Fixes: HDFFV-1074
Tested on:
h5committest
32-bit Linux w/ C++ and Fortran and multi VFD
32-bit Linux w/ C++ and Fortran and multi VFD (no deprec symbols)
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/src/H5_f.c | 5 | ||||
-rw-r--r-- | fortran/src/H5f90global.f90 | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/fortran/src/H5_f.c b/fortran/src/H5_f.c index a149109..1641989 100644 --- a/fortran/src/H5_f.c +++ b/fortran/src/H5_f.c @@ -421,12 +421,17 @@ nh5init_flags_c( int_f *h5d_flags, size_t_f *h5d_size_flags, /* * H5F flags + * + * Note that H5F_ACC_DEBUG is deprecated (nonfunctional) but retained + * for backward compatibility since it's in the public API. */ h5f_flags[0] = (int_f)H5F_ACC_RDWR; h5f_flags[1] = (int_f)H5F_ACC_RDONLY; h5f_flags[2] = (int_f)H5F_ACC_TRUNC; h5f_flags[3] = (int_f)H5F_ACC_EXCL; +#ifndef H5_NO_DEPRECATED_SYMBOLS h5f_flags[4] = (int_f)H5F_ACC_DEBUG; +#endif /* H5_NO_DEPRECATED_SYMBOLS */ h5f_flags[5] = (int_f)H5F_SCOPE_LOCAL; h5f_flags[6] = (int_f)H5F_SCOPE_GLOBAL; h5f_flags[7] = (int_f)H5F_CLOSE_DEFAULT; diff --git a/fortran/src/H5f90global.f90 b/fortran/src/H5f90global.f90 index ca50e20..0e371f5 100644 --- a/fortran/src/H5f90global.f90 +++ b/fortran/src/H5f90global.f90 @@ -234,6 +234,9 @@ MODULE H5GLOBAL ! ! H5F flags (DO NOT FORGET TO UPDATE WHEN NEW FLAGS ARE ADDED !) ! + ! NOTE: H5F_ACC_DEBUG is deprecated (nonfunctional) but retained for + ! backward compatibility since it's in the public API. + ! ! H5F flags declaration ! INTEGER, PARAMETER :: H5F_FLAGS_LEN = 19 |