Skip to content

Commit

Permalink
BUG: Allow compilation against hdf5 1.14 versions.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Jul 15, 2023
1 parent ae4ede4 commit 0fcab55
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Source/H5Support/H5Utilities.h
Expand Up @@ -55,15 +55,24 @@
#endif

#if(H5_VERS_MINOR == 10)
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V18
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V18
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V110
#endif

#if(H5_VERS_MINOR == 12)
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V18
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V18
#endif

#if(H5_VERS_MINOR == 14)
#define HDF5_VERSION_LIB_LOWER_BOUNDS H5F_LIBVER_V110
#define HDF5_VERSION_LIB_UPPER_BOUNDS H5F_LIBVER_V110
#endif

#ifndef HDF5_VERSION_LIB_LOWER_BOUNDS
#error HDF5_VERSION_LIB_LOWER_BOUNDS is not defined. Please check the version of HDF5 that you are compiling against
#endif

namespace H5Support {

#define ENABLE_BITMASK_OPERATORS(x) \
Expand Down

0 comments on commit 0fcab55

Please sign in to comment.