Don't Even Get Me Started.

If Xcode finds two different files with identical names in its header file search, it will either claim that the desired header is not found or it will silently include the wrong one.

But surely every copy of OSAtomic.h is identical, you quite reasonably protest.


The OSAtomic.h in Kernel.framework/PrivateHeaders/libkern has two extra spinlock functions, one of them is the OSLockTryLoc() prototypes that I have been desperately beating Apple's tools developers over their pointy little heads with a tire iron.

[ Reply ]