#47498: gpsd @3.14: error: redefinition of typedef 'clockid_t' ------------------------+-------------------------- Reporter: valerio@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: gpsd | ------------------------+-------------------------- Comment (by ryandesign@…): Oh. I was hoping it was just a compiler problem. And on my Yosemite system, I was able to reproduce the error if build gpsd with MacPorts gcc 4.3, 4.4, or 4.5, but it built fine with gcc 4.6, 4.7 and 4.8. Using clang on Yosemite, a warning is emitted instead: {{{ ./gpsd_config.h:303:13: warning: redefinition of typedef 'clockid_t' is a C11 feature [-Wtypedef-redefinition] typedef int clockid_t; ^ ./gpsd_config.h:303:13: note: previous definition is here typedef int clockid_t; ^ 1 warning generated. }}} I'll ask the developer if the code can be changed so that there are no redefinitions. -- Ticket URL: <https://trac.macports.org/ticket/47498#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X