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

Simulator build failure in XCode 3.2.4 with iOS4.1 #1

Closed
dav opened this issue Oct 5, 2010 · 1 comment
Closed

Simulator build failure in XCode 3.2.4 with iOS4.1 #1

dav opened this issue Oct 5, 2010 · 1 comment

Comments

@dav
Copy link

dav commented Oct 5, 2010

Runs fine on my iPhone4 device, but when trying to build in the simulator there is this error in CA360_Prefix.pch line 59:

Expected function body after function declarator.

This is the line:

CG_EXTERN void CGPDFContextAddDocumentMetadata(CGContextRef context,
CFDataRef metadata) CG_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_0);

Not sure what's up, the code looks fine.

@neror
Copy link
Owner

neror commented Oct 5, 2010

It's a bug with the LLVM compiler in the 4.1 SDK. I just pushed up the fix to the project. It should be fine now.

If it's still not working after you pull, you can change the compiler to GCC 4.2 in the target settings. That will fix it as well.

This issue was closed.
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

No branches or pull requests

2 participants