summaryrefslogtreecommitdiffstats
path: root/test/ohdr.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/ohdr.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/ohdr.c')
-rw-r--r--test/ohdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 55542b5..f526c87 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -1620,8 +1620,8 @@ main(void)
api_ctx_pushed = TRUE;
/* Loop through all the combinations of low/high library format bounds */
- 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++) {
const char *low_string; /* Message for library version low bound */
const char *high_string; /* Message for library version high bound */
char msg[80]; /* Message for file format version */