Fix compilation issue with HDF5 and mingw.#5799
Draft
blowekamp wants to merge 2 commits intoInsightSoftwareConsortium:mainfrom
Draft
Fix compilation issue with HDF5 and mingw.#5799blowekamp wants to merge 2 commits intoInsightSoftwareConsortium:mainfrom
blowekamp wants to merge 2 commits intoInsightSoftwareConsortium:mainfrom
Conversation
See: HDFGroup/hdf5#5885 Explicitly disable detection of the problematic function.
This is change is pulled from commit b09008ea0379e7b113ffdde4402860ba467ace13 upstream. Define __STDC_WANT_IEC_60559_TYPES_EXT__ before including other headers (InsightSoftwareConsortium#5356) Some standard headers might implicitly include `float.h`. If that happens before `__STDC_WANT_IEC_60559_TYPES_EXT__` is defined, the macros that are needed for the `_Float16` data type (like `FLT16_MAX`) might not be defined. That is happening with mingw-w64 headers since the following change: mingw-w64/mingw-w64@b40b6a0 Define `__STDC_WANT_IEC_60559_TYPES_EXT__` before including other headers in `H5private.h` to make that scenario less likely.
dzenanz
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR includes
PR Checklist
Refer to the ITK Software Guide for
further development details if necessary.