On Mon, Oct 26, 2015 at 1:35 PM, rmgls <rm...@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 allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users