Seeming flaw in Xcode 10
Ken Cunningham
ken.cunningham.webuse at gmail.com
Sun Nov 11 23:54:55 UTC 2018
> On Nov 11, 2018, at 3:07 PM, Perry E. Metzger <pmetzger at macports.org> wrote:
>
> No, that works if <myheader.h> is in the system includes path, and
> that's standards conformant.
What I know about this, no doubt incomplete, comes from here:
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/build_system_release_notes_for_xcode_10
The legacy header map that was generated when the Always Search User Paths (ALWAYS_SEARCH_USER_PATHS) setting was YES is not supported by the new build system. Instead, set ALWAYS_SEARCH_USER_PATHS to NO and migrate to using modern header include syntax. Add any needed header files that are in the project repository to the Xcode project to ensure they are available for use in #include (via the project wide header map). Use quote-style include ("example.h") for project headers, and reserve angle-bracket include (<example.h>) for system headers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181111/a25739c1/attachment.html>
More information about the macports-dev
mailing list