Skip to content

BUG: Fix GDCM posix_memalign undefined with mingw#5792

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:release-5.4from
blowekamp:gdcm_mingw_release_5.4
Feb 11, 2026
Merged

BUG: Fix GDCM posix_memalign undefined with mingw#5792
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:release-5.4from
blowekamp:gdcm_mingw_release_5.4

Conversation

@blowekamp
Copy link
Member

Address compilation error, by switching to use _aligned_malloc.

PR Checklist

  • No API changes were made (or the changes have been approved)
  • No major design changes were made (or the changes have been approved)
  • Added test (or behavior not changed)
  • Updated API documentation (or API not changed)
  • Added license to new files (if any)
  • Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
  • Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

Address compilation error, by switching to use _aligned_malloc.
@github-actions github-actions bot added type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots area:ThirdParty Issues affecting the ThirdParty module labels Feb 11, 2026
@blowekamp
Copy link
Member Author

This same change has been merged into master: #5777

Once this change is merged into release-5.4 we should have an ITK hash that can build with mingw for R on windows. After the change builds on the dashboard tonight and no new issue are introduced this PR should be merged.

@hjmjohnson hjmjohnson merged commit ea28c4c into InsightSoftwareConsortium:release-5.4 Feb 11, 2026
18 checks passed
@blowekamp
Copy link
Member Author

Thanks for merging. I'll merge release-5.4 into release and main too.

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

Labels

area:ThirdParty Issues affecting the ThirdParty module type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants