graphite2 build error

Brandon Allbery allbery.b at gmail.com
Mon Oct 26 10:43:07 PDT 2015


On Mon, Oct 26, 2015 at 1:35 PM, rmgls <rmgls at orange.fr> wrote:

> gcc (or clang) -o toto toto.c
>
>      Funny thing, compils without any error!.
>

That's using /usr/include/unistd.h. If you look closely, cmake has forced
the build to use the "hidden" xcode toolchain includes, *not* /usr/include!
I don't have 10.11 or Xcode 7, but look for /Applications/Xcode.app/
Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/unistd.h.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151026/6991be89/attachment.html>


More information about the macports-users mailing list