• 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: Panther Console Warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Panther Console Warning (From: Jonathan Wight <email@hidden>)

  • Prev by Date: Re: Strong language about Cocoa and Qt.
  • Next by Date: Re: Cocoa Design Patterns Book and Online Resources?
  • Previous by thread: Re: Panther Console Warning
  • Next by thread: Accessing Aqua metrics without Carbon
  • Index(es):
    • Date
    • Thread