On Sun, Dec 13, 2009 at 11:44 PM, Joe The Programmer
<joetheappleprogram...@gmail.com> wrote:
> Great, thanks.  Garbage Collection is not currently being used.  This code 
> previously was built with the 10.4 SDK which did not support GC.  Now it 
> builds with the 10.5 SDK, so I would assume is GC capable.

Turning on GC is not the solution to your problem.  Fixing your memory
management bugs is the solution.

> Is GC as easy to implement as toggling the GCC_ENABLE_OBJC_GC build setting 
> to either supported or required?  It was set to unsupported.  I changed the 
> setting to supported, and my code compiled and linked fine.  However, the 
> debugger reported FlashInApp.framework was not built with GC and stopped.  
> Perhaps there is a version of Flash'In'App framework that supports GC, I 
> don't know.

I doubt there is.  They would just build the library as GC-supported then.

> You were right, those same messages appeared in Console.app.  It didn't occur 
> to me to check there.  Like you said, uncaught exceptions should be treated 
> as crashes regardless.

There's a big debate lying behind this statement.  In this case, yes,
you should not allow this exception to survive.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to