summaryrefslogtreecommitdiffstats
path: root/test/objcopy.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-12-04 08:49:52 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:18 (GMT)
commite4f9ad3dbbe01feb975bd1d6d87753fe729bee6e (patch)
tree988f7c6fb0489c5be8e779379c46c34881a2105f /test/objcopy.c
parent715374934dfccfaed9bb0ecb540fac77180b5aa6 (diff)
downloadhdf5-e4f9ad3dbbe01feb975bd1d6d87753fe729bee6e.zip
hdf5-e4f9ad3dbbe01feb975bd1d6d87753fe729bee6e.tar.gz
hdf5-e4f9ad3dbbe01feb975bd1d6d87753fe729bee6e.tar.bz2
Yanked -Wc++-compat from the flags used to build the C library in both
the Autotools and CMake.
Diffstat (limited to 'test/objcopy.c')
-rw-r--r--test/objcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index 083d9af..751fe72 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -2187,8 +2187,8 @@ test_copy_dataset_versionbounds(hid_t fcpl_src, hid_t fapl_src)
/* Loop through all the combinations of low/high library format bounds,
skipping invalid combinations. Create a destination file and copy the
source dataset to it, then verify */
- for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; H5_INC_ENUM(H5F_libver_t, low)) {
- for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; H5_INC_ENUM(H5F_libver_t, high)) {
+ for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; low++) {
+ for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) {
/* Set version bounds */
H5E_BEGIN_TRY {