[MacPorts] #67403: imath, openexr broken with gcc: missing header for PRIx64 etc.
MacPorts
noreply at macports.org
Thu May 11 19:10:49 UTC 2023
#67403: imath, openexr broken with gcc: missing header for PRIx64 etc.
-----------------------------+----------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: imath, openexr |
-----------------------------+----------------------
Comment (by barracuda156):
Replying to [comment:5 kencu]:
> It's likely not the wrong header. It's just that older systems didn't
define this by default:
>
> {{{
> #define __STDC_FORMAT_MACROS 1
> }}}
>
> whereas newer systems do (10.7+, as I recal). We have added this define
in dozens of ports to fix this issue. It's a trivial little thing to add.
Yes, sure, `__STDC_FORMAT_MACROS` should be added, I remember those after
you pointed at that earlier.
--
Ticket URL: <https://trac.macports.org/ticket/67403#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list