[MacPorts] #67403: imath, openexr broken with gcc: missing header for PRIx64 etc.

MacPorts noreply at macports.org
Thu May 11 19:08:14 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 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/67403#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list