Re: System header collision - XCode 4 OS 10.7
Re: System header collision - XCode 4 OS 10.7
- Subject: Re: System header collision - XCode 4 OS 10.7
- From: "email@hidden" <email@hidden>
- Date: Mon, 25 Jul 2011 15:33:05 +0100
On 24 Jul 2011, at 23:25, email@hidden wrote:
> An open source Xcode based project declares a project header Block.h.
>
> Importing Foundation.h ultimately attempts to load the system header Block.h.
> However, the project header is loaded in place of the system header and disaster results.
>
> What is the best way to ensure that the system header gets loaded?
>
Still trying to sort this. I have a crucial build setting like so:
ALWAYS_SEARCH_USER_PATHS = no
Yet the build transcript reports that Block .h (loaded by CFBase.h) is still being loaded from the project folder.
I have had some successful builds but cannot repeat them.
This has me thinking that its a cache or pch/hmap problem but I have cleaned, rebuilt and deleted repeatedly.
In file included from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/Block.h:4,
from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:45,
from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38,
from /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.h:4,
from /Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSAirplane.m:4:
/Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:15: error: expected ')' before 'NSNumber'
/Users/Jonathan/Documents/Computing/github/Mugginsoft/F-Script/FScriptFramework/FSNSObject.h:22: error: cannot find interface declaration for 'NSObject'
> Regards
>
> Jonathan Mitchell
>
> Developer
> Mugginsoft LLP
> http://www.mugginsoft.com
>
>
>
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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