Re: Mass of weird errors
Re: Mass of weird errors
- Subject: Re: Mass of weird errors
- From: Carl Hoefs <email@hidden>
- Date: Thu, 27 Oct 2016 11:34:43 -0700
On Oct 27, 2016, at 9:04 AM, Jens Alfke < email@hidden> wrote:
You’ve got a version of the ‘curses’ library installed in /opt/local, which is incompatible with the one in the SDK. And your header include paths are putting/opt/local/include ahead of the SDK’s usr/include. The result is that when the SDK’s <ncurses.h> includes <unctrl.h>, it gets the incompatible one from /opt/local, and it doesn’t work.
This is exactly right! A consistent 'cascading include order' can't be enforced, even in Xcode 8, so it will read, for example, <ncurses.h> from /opt/local just fine. But <ncurses.h> includes <unctrl.h> which Xcode will get from the SDK's usr/include! The different versions are incompatible, and much woe ensues.
-Carl
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden