-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
@aous72 Could this be addressed, please? OpenJPH is a dependency for OpenEXR now, and this breakage prevents from updating the latter.
The code in
OpenJPH/src/core/others/ojph_mem.c
Line 76 in b7d12b0
| return aligned_alloc(alignment, size); |
aligned_alloc is guaranteed to be available, but it is wrong. C11 does not guarantee it at all, since it is supplied by the OS, not by compiler or its runtime.Most of macOS versions do not have
aligned_alloc, but have posix_memalign and malloc.Metadata
Metadata
Assignees
Labels
No labels