Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 9, 2018

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