Re: 10.4 --> 10.5
Re: 10.4 --> 10.5
- Subject: Re: 10.4 --> 10.5
- From: Chris Espinosa <email@hidden>
- Date: Fri, 30 Jan 2009 14:50:27 -0800
On Jan 30, 2009, at 2:38 PM, Jeff Hellman wrote: built with 10.4 as the deployment target and Base SDK.
I'd like to use the CalendarStore Leopard Framework while maintaining 10.4 compatibility.. As I understand it, I should be able to change the Base SDK to 10.5, keep the deployment target as 10.4 and weak link to the CalendarStore framework.
I can't my program to compile with these settings.
I'm simply using the following import command:
#import <CalendarStore/CalendarStore.h>
and on compilation, I get about 40 syntax errors that lead me to believe I'm not truly building on 10.5(I think)....Here are a few of the errors:
In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalendarStore.h:11, /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalTask.h:26: error: syntax error before 'CalPriority'
The line in question is
NSUInteger CalPriority ;
which is pretty straightforward, as NSUInteger is defined in NSObjCRuntime.h. Your source file is Objective-C, right, and you are importing AppKit or Cocoa in your prefix file, and using gcc 4.0 or later, no?
Including the entire compiler invocation, not just the output, would help us diagnose this better. Just drag and drop the line that says "Compiling" from the Build Results window right into the Mail reply.
Chris |
_______________________________________________
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