summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-12-04 08:49:52 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-12-04 08:49:52 (GMT)
commit1ad02a445920578654d257bb66aa1e8e7e368018 (patch)
treec7dcce90071bd44637b1eb48859d4b14b42c82eb /test/vfd.c
parent96429e48e356eacf926e48dbf0eedede012dbc2d (diff)
downloadhdf5-1ad02a445920578654d257bb66aa1e8e7e368018.zip
hdf5-1ad02a445920578654d257bb66aa1e8e7e368018.tar.gz
hdf5-1ad02a445920578654d257bb66aa1e8e7e368018.tar.bz2
Yanked -Wc++-compat from the flags used to build the C library in both
the Autotools and CMake.
Diffstat (limited to 'test/vfd.c')
-rw-r--r--test/vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd.c b/test/vfd.c
index 1de7fd5..4fc61da 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -1351,7 +1351,7 @@ test_multi(void)
HDmemset(memb_addr, 0, sizeof(memb_addr));
HDmemset(sv, 0, sizeof(sv));
- for(mt=H5FD_MEM_DEFAULT; mt<H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t,mt)) {
+ for(mt=H5FD_MEM_DEFAULT; mt<H5FD_MEM_NTYPES; mt++) {
memb_fapl[mt] = H5P_DEFAULT;
memb_map[mt] = H5FD_MEM_SUPER;
}
@@ -1586,7 +1586,7 @@ test_multi_compat(void)
HDmemset(memb_addr, 0, sizeof memb_addr);
HDmemset(sv, 0, sizeof sv);
- for(mt=H5FD_MEM_DEFAULT; mt<H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t,mt))
+ for(mt=H5FD_MEM_DEFAULT; mt<H5FD_MEM_NTYPES; mt++)
memb_map[mt] = H5FD_MEM_SUPER;
memb_map[H5FD_MEM_DRAW] = H5FD_MEM_DRAW;