• 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: Screensaver won't run on 10.6 even after porting to 64-bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screensaver won't run on 10.6 even after porting to 64-bit


  • Subject: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • From: Ben Haller <email@hidden>
  • Date: Sun, 11 Oct 2009 16:06:56 -0400

On 11-Oct-09, at 3:52 PM, Kyle Sluder wrote:

On Oct 11, 2009, at 12:44 PM, Ben Haller <email@hidden> wrote:

OK, makes sense. My only question: what's the best way to switch at compile time based on whether GC is enabled for the build? I.e. what do I #if or #ifdef? I could do it based on the arch or the SDK, but if there's a flag specifically for GC I'd rather use that...

The purpose of GC-supported rather than GC-required is that you don't do this. Rather, you write your code so that it works in either retain-release or garbage collected environments.

Yes, but my code also needs to compile as GC-unsupported against the 10.4 SDK, where any GC-specific calls that I might need to make will not compile. Am I missing something?


Ben Haller
Stick Software


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Screensaver won't run on 10.6 even after porting to 64-bit
      • From: Kyle Sluder <email@hidden>
    • Re: Screensaver won't run on 10.6 even after porting to 64-bit
      • From: Clark Cox <email@hidden>
References: 
 >Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Dave Keck <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Clark Cox <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Ben Haller <email@hidden>)
 >Re: Screensaver won't run on 10.6 even after porting to 64-bit (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Where to send different messages while RunLoop is running
  • Next by Date: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Previous by thread: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Next by thread: Re: Screensaver won't run on 10.6 even after porting to 64-bit
  • Index(es):
    • Date
    • Thread