[swift-corelibs-dev] libdispatch import order / nondeterminism
Daniel A. Steffen
dsteffen at apple.com
Wed Feb 10 22:31:13 CST 2016
having -I /usr/local/include/dispatch doesn’t seem right to me, the C header include convention is all <dispatch/*.h> so the dispatch/ directory itself should not be part of the search path.
maybe that means that something different needs to happen to pick up the module files (AFAIK on Darwin this works differently by having a toplevel modulefile in /usr/include that references the submodules, I don’t know how modules are intended to work on other platforms)
> On Feb 10, 2016, at 18:09, Drew Crawford via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
>> On Feb 10, 2016, at 8:08 PM, Philippe Hausler <phausler at apple.com <mailto:phausler at apple.com>> wrote:
>> The -I/usr/local/include/dispatch probably sees time.h in there and thinks that is part of a system root header? Just a speculation.
> I agree 100%, but I don't know how to fix it.
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-corelibs-dev