Skip to content
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

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open

Conversation

KosmicTask
Copy link

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.

…ect "Block.h" file is loaded when Foundation.h attempts

to import <Block.h>. Hence project "Block.h" was renamed to "Block_fscript.h"
@pmougin
Copy link
Owner

pmougin commented Jul 25, 2011

Thanks for the report.
I plan to remove the Block class from F-Script as it as been superseded by FSBlock. This should eliminate the problem.
Philippe

Le 25 juil. 2011 à 23:21, mugginsoft a écrit :

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.

Reply to this email directly or view it on GitHub:
#1

@KosmicTask
Copy link
Author

On 25 Jul 2011, at 22:31, pmougin wrote:

Thanks for the report.
I plan to remove the Block class from F-Script as it as been superseded by FSBlock. This should eliminate the problem.
Philippe

I thought that Block.m was rather long in the tooth but I didn't want to start extracting it.
My fix will do in the interim.

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com

Le 25 juil. 2011 à 23:21, mugginsoft a écrit :

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.

Reply to this email directly or view it on GitHub:
#1

Reply to this email directly or view it on GitHub:
#1 (comment)

Jonathan Mitchell added 27 commits August 3, 2011 20:45
…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.
tdbit and others added 21 commits March 21, 2012 20:14
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants