• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 10.4 --> 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.4 --> 10.5


  • Subject: Re: 10.4 --> 10.5
  • From: Jeff Hellman <email@hidden>
  • Date: Fri, 30 Jan 2009 14:59:25 -0800

On Fri, Jan 30, 2009 at 2:50 PM, Chris Espinosa <email@hidden> wrote:
>
> 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

Thanks for looking into this, Chris---

Here's the compiler invocation and subsequent syntax error.

Hi Chris-

Thanks for the help...here's the entire compiler invocation....I am
using GCC 4.0 and ObjC

cd /Users/jeffhellman/Desktop/PlanbookLive
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch ppc
-fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks
-Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mtune=G5 -mmacosx-version-min=10.4
-I/Users/jeffhellman/Desktop/PlanbookLive/build/PlanBook3.build/Release/Planbook.build/Planbook.hmap
-F/Users/jeffhellman/Desktop/PlanbookLive/build/Release
-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive/../connection/trunk/build/Release
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive/../ConnectionKit/1.0/build/Release
-F/Users/jeffhellman/Desktop/PlanbookLive/../ConnectionKit/1.0/build/Release
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-F/Users/jeffhellman/Desktop/PlanbookLive
-I/Users/jeffhellman/Desktop/PlanbookLive/build/Release/include
-I/Users/jeffhellman/Desktop/PlanbookLive/build/PlanBook3.build/Release/Planbook.build/DerivedSources
-include /var/folders/6V/6VmsuuYLFbeUenxIv9g4j++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/PlanBook3_Prefix-hgplqcenwkhelndzrpcmnrfsgbvn/PlanBook3_Prefix.pch
-c /Users/jeffhellman/Desktop/PlanbookLive/AppController.m -o
/Users/jeffhellman/Desktop/PlanbookLive/build/PlanBook3.build/Release/Planbook.build/Objects-normal/ppc/AppController.o
In file included from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalendarStore.h:11,
                 from /Users/jeffhellman/Desktop/PlanbookLive/AppController.m:4:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalTask.h:26:
error: syntax error before 'CalPriority'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalTask.h:31:
error: syntax error before 'CalPriority'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalTask.h:39:
error: syntax error before 'CalPriority'
In file included from
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalendarStore.h:13,
                 from /Users/jeffhellman/Desktop/PlanbookLive/AppController.m:4:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:32:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:36:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:40:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:51:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:55:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:56:
error: syntax error before 'NSInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:82:
error: syntax error before 'const'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:93:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:117:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:121:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:125:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:132:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:136:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:142:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:149:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:154:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:162:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:183:
error: syntax error before 'NSUInteger'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CalendarStore.framework/Headers/CalRecurrenceRule.h:192:
error: syntax error before 'NSUInteger'


--
Jeff Hellman
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

  • Follow-Ups:
    • Re: 10.4 --> 10.5
      • From: Chris Espinosa <email@hidden>
References: 
 >10.4 --> 10.5 (From: Jeff Hellman <email@hidden>)
 >Re: 10.4 --> 10.5 (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: 10.4 --> 10.5
  • Next by Date: Re: 10.4 --> 10.5
  • Previous by thread: Re: 10.4 --> 10.5
  • Next by thread: Re: 10.4 --> 10.5
  • Index(es):
    • Date
    • Thread