Re: MallocDebug failure
Re: MallocDebug failure
- Subject: Re: MallocDebug failure
- From: "Sean McBride" <email@hidden>
- Date: Fri, 15 Jan 2010 15:48:41 -0500
- Organization: Rogue Research Inc.
On 1/15/10 2:41 PM, McLaughlin, Michael P. said:
>MallocDebug failed to launch my Cocoa app under Leopard (gcc 4.2/Debug
>config) with the following in the Report:
>
>Application Specific Information:
>objc[673]: '/Developer/usr/lib/libMallocDebug.A.dylib' was not compiled with
>-fobjc-gc or -fobjc-gc-only, but the application requires GC
>objc[673]: *** GC capability of application and some libraries did not match
>
>GC is required in my Build info. Is there something else I have to do? The
>Report implies that it is the dylib that is at fault.
MallocDebug does not support GC apps. <rdar://5297984> But I don't
expect that to ever change. You could try using Instruments.app. Also
google AUTO_USE_GUARDS (10.6 only). valgrind won't help you either,
because it also doesn't support GC apps.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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