Re: Panther Console Warning
Re: Panther Console Warning
- Subject: Re: Panther Console Warning
- From: lbland <email@hidden>
- Date: Tue, 1 Jul 2003 18:06:56 -0400
On Tuesday, July 1, 2003, at 05:10 PM, Jonathan Wight wrote:
Just tested my app on 10.3 DP1 and upon launch I found it generated
this
very worrying message in my console:
+[Object allocWithZone:] warning: Object compatibility method has been
executed at least once. Convert source code off it NOW!
Any idea where its coming from? I don't believe I'm manually calling or
overriding allocWithZone anywhere...
NSZones were depreciated a long time ago, or so it seems...
I think if you call
+ new
(also mostly depreciated I think) then allocWithZone: gets called.
the message indicates that it redirects to +alloc and is just warning
you that you need to update your code (it probably runs OK). If you are
concerned then run in gdb, break at allocWithZone and do a traceback to
find it.
Lance Bland
mailto:email@hidden
VVI
888-VVI-PLOT
http://www.vvi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.