Skip to content

HDF5 1.10.x: Switch to checking defines instead of an enum#98

Merged
vfonov merged 1 commit intoBIC-MNI:developfrom
gdevenyi:fix_hdf1.10
Aug 9, 2018
Merged

HDF5 1.10.x: Switch to checking defines instead of an enum#98
vfonov merged 1 commit intoBIC-MNI:developfrom
gdevenyi:fix_hdf1.10

Conversation

@gdevenyi
Copy link
Contributor

@gdevenyi gdevenyi commented Aug 9, 2018

It turns out that HDF5 1.10 uses an typedef enum to define H5F_LIBVER_V18 so this code wasn't properly working.

I went back through the history of HDF5 releases and H5_VERS_MAJOR and H5_VERS_MINOR have been defines since long before 1.8 so this is a forward and backward compatible solution.

@gdevenyi gdevenyi changed the title Switch to checking defines instead of an enum HDF5 1.10.x: Switch to checking defines instead of an enum Aug 9, 2018
@vfonov vfonov merged commit ce4333c into BIC-MNI:develop Aug 9, 2018
@gdevenyi
Copy link
Contributor Author

gdevenyi commented Aug 9, 2018

@vfonov will you do an update to ITK's MINC or shall I?

@vfonov
Copy link
Member

vfonov commented Aug 9, 2018

go ahead

@gdevenyi
Copy link
Contributor Author

gdevenyi commented Aug 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants