[MacPorts] #47498: gpsd @3.14: error: redefinition of typedef 'clockid_t'

MacPorts noreply at macports.org
Thu Apr 30 00:44:35 PDT 2015


#47498: gpsd @3.14: error: redefinition of typedef 'clockid_t'
------------------------+----------------------------------
  Reporter:  valerio@…  |      Owner:  ryandesign@…
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.3
Resolution:             |   Keywords:  snowleopard haspatch
      Port:  gpsd       |
------------------------+----------------------------------
Changes (by jmr@…):

 * keywords:  snowleopard => snowleopard haspatch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Someone forgot that #define and typedef are not the same thing.
 {{{
 #ifndef clockid_t
 typedef int clockid_t;
 # endif
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47498#comment:17>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list