[MacPorts] #58924: libogg @1.3.4: error: unknown type name 'uint16_t'

MacPorts noreply at macports.org
Thu Sep 5 10:04:22 UTC 2019


#58924: libogg @1.3.4: error: unknown type name 'uint16_t'
---------------------+------------------------------
  Reporter:  kencu   |      Owner:  kencu
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:  lion snowleopard
      Port:  libogg  |
---------------------+------------------------------

Comment (by jmroot):

 Replying to [comment:17 cjones051073]:
 > Replying to [comment:16 kencu]:
 > > Well some libogg dev specifically changed it away from <stdint.h> to
 <sys/types.h> to fix a problem, and it works on every system from 10.9+...
 so that's a tough sell to go back now.
 >
 > Ah, but that is not what they did. They changed it from
 >
 > {{{
 > #include <inttypes.h>
 > }}}
 >
 > to
 >
 > {{{
 > #include <sys/types.h>
 > }}}
 >
 > that is not the same thing.

 True – `inttypes.h` defines a bunch of unrelated macros, but unlike
 `sys/types.h`, it //is// guaranteed to include `stdint.h`.

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


More information about the macports-tickets mailing list