-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 4.1 on OS X 10.7 #1
base: master
Are you sure you want to change the base?
Conversation
…ect "Block.h" file is loaded when Foundation.h attempts to import <Block.h>. Hence project "Block.h" was renamed to "Block_fscript.h"
Thanks for the report. Le 25 juil. 2011 à 23:21, mugginsoft a écrit :
|
On 25 Jul 2011, at 22:31, pmougin wrote:
I thought that Block.m was rather long in the tooth but I didn't want to start extracting it. Regards Jonathan Mitchell Developer
|
…compatibiity with Xcode 4 when building F-script as part of a larger project or workspace.
I like this warning but in this case it generates hundreds of warnings. TODO: re-enable this warning and add the necessary pragmas.
Removed unnecessary pre decs in headers.
Modifying the return type is valid as both the old type and the new share the same base class.
…ableColumn initWithIdentifier. As of 10.7 the signature of NSTableColumn initWithIdentifier: has changed to - (id)initWithIdentifier:(NSString *)identifier;
…ld time and memory usage on Xcode 4.3.1. Before the refactor the build was consuming 4Gb+ and taking 10-15 minutes to complete. After the refactor the build time is about 20secs and memory usage is about 250MB.
…ate them from the -add<ClassName> methods.
Removed unnecessary Xcode project personal files
Corrected file permissions and housekeeping
They do seem to be present in /System/Library/Frameworks/OpenGL/Headers.
… is deprecated in the modern runtime. These warnings have not yet been resolved as there may be performance penalties on all arithmetic. However, the change may be necessary.
…he modern runtime. This will affect arithnetical efficiency but is necessary if a seg fault is to be avoided on tagged pointers.
…arnings: Method has no return type specified.
…l, Wextra when importing header into projects with tighter warnings.
Xcode 4.1 projects can be modernised.
One effect of this is to set the Base SDK to Latest OS version - 10.7 in this case.
This is the recommended configuration.
Unfortunately this seems to cause the following issue.
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'
CFBase.h wants to load the system Block.h however it persistently loads the project header. The issue doesn't arise using the 10.6 SDK as CFBase.h doesn't attempt to import Block.h
I couldn't get the build to load the correct system header so I reluctantly renamed the project header file to Block_fscript.h.