diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-12-04 08:49:52 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-12-16 16:13:47 (GMT) |
commit | 957940befb6358345840a6943e8ff736cbdd11f7 (patch) | |
tree | f99b0d8ff9ef22e06af698320933df2eea84a3af /test/gen_filespace.c | |
parent | 19f32485cf50b1797583e9f31acccd7e55b8a2a2 (diff) | |
download | hdf5-957940befb6358345840a6943e8ff736cbdd11f7.zip hdf5-957940befb6358345840a6943e8ff736cbdd11f7.tar.gz hdf5-957940befb6358345840a6943e8ff736cbdd11f7.tar.bz2 |
Yanked -Wc++-compat from the flags used to build the C library in both
the Autotools and CMake.
Diffstat (limited to 'test/gen_filespace.c')
-rw-r--r-- | test/gen_filespace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/gen_filespace.c b/test/gen_filespace.c index 4397836..f4a4f3f 100644 --- a/test/gen_filespace.c +++ b/test/gen_filespace.c @@ -29,7 +29,6 @@ const char *FILENAMES[] = { #define NUM_ELMTS 100 #define FALSE 0 #define TRUE 1 -#define INC_ENUM(TYPE,VAR) (VAR)=((TYPE)((VAR)+1)) /* * Compile and run this program in the trunk to generate @@ -58,7 +57,7 @@ int main(void) unsigned fs_persist; /* Persisting free-space or not */ j = 0; - for(fs_strategy = H5F_FSPACE_STRATEGY_FSM_AGGR; fs_strategy < H5F_FSPACE_STRATEGY_NTYPES; INC_ENUM(H5F_fspace_strategy_t, fs_strategy)) { + for(fs_strategy = H5F_FSPACE_STRATEGY_FSM_AGGR; fs_strategy < H5F_FSPACE_STRATEGY_NTYPES; fs_strategy++) { for(fs_persist = FALSE; fs_persist <= TRUE; fs_persist++) { if(fs_persist && fs_strategy >= H5F_FSPACE_STRATEGY_AGGR) |