• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mass of weird errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Mass of weird errors (From: tridiak <email@hidden>)
 >Re: Mass of weird errors (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Mass of weird errors
  • Next by Date: Xcode 8 Assets.car "16-bit" gotcha and solution.
  • Previous by thread: Re: Mass of weird errors
  • Next by thread: Re: Mass of weird errors
  • Index(es):
    • Date
    • Thread