[MacPorts] #37601: libc-headers installs stdio.h masking OS libc header
MacPorts
noreply at macports.org
Sat Jan 12 12:48:35 PST 2013
#37601: libc-headers installs stdio.h masking OS libc header
---------------------------+----------------------
Reporter: ciserlohn@… | Owner: mfeiri@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: libc-headers |
---------------------------+----------------------
Comment (by ciserlohn@…):
Replying to [comment:7 mfeiri@…]:
> Not sure what the difference is between the headers provided by the
libc-headers port and the OS libc headers on that 10.7 machine. I'll try
to investigate.
The difference is that <sys/cdefs.h> (which gets included by stdio.h) is
missing in the headers installed by libc-headers.
{{{__DARWIN_LDBL_COMPAT}}} is defined in cdefs.h which explains the error
shown in [comment:2 comment 2]. I don't know the cpp include machinery
good engough to explain why cdefs.h from /usr/include/sys is not used
instead. It should be in the include search path.
--
Ticket URL: <https://trac.macports.org/ticket/37601#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list