-
Notifications
You must be signed in to change notification settings - Fork 128
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
added check H5_USE_1xx_API to make sure H5 is not using older API. #3156
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rebase this on release_28 re-target it for that branch so it can easily go into a patch release?
Fixes #3149 |
HDF5 offers a simpler way to achieve this. I recommend calling #if H5_VERSION_GE(1, 10, 5)
herr_t ret = H5Oget_info1(m_FileId, &oinfo);
#else
herr_t ret = H5Oget_info(m_FileId, &oinfo);
#endif |
Yes, I am aware of that. I just happen to prefer using the name get_info instead of get_info. |
The condition Do you have CI infrastructure set up to test with both older and newer HDF5 versions? |
You are right. It should be ||. Updated and checked with 1.13 with DEFAULT_API_VERSION=v18 |
Rebased |
No description provided.