[MacPorts] #66042: icu-devel 72.1 fails to build on 10.6.8: error: expected ':' before 'PRId64'

MacPorts noreply at macports.org
Fri Oct 21 07:45:53 UTC 2022


#66042: icu-devel 72.1 fails to build on 10.6.8: error: expected ':' before
'PRId64'
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  catap
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:
      Port:  icu-devel     |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > usual fix is to add this to cppflags or cxxflags:
 > {{{
 > -D__STDC_FORMAT_MACROS
 > }}}

 Thank you! I found that, but apparently a proper fix will be change the
 header to `<cinttypes>`:
 https://en.cppreference.com/w/cpp/header/cinttypes (changing header fixes
 the problem).

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


More information about the macports-tickets mailing list