• 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: Disable "missing [super dealloc] call" warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable "missing [super dealloc] call" warning


  • Subject: Re: Disable "missing [super dealloc] call" warning
  • From: Daniel Jalkut <email@hidden>
  • Date: Sat, 30 Apr 2005 10:46:01 -0700

If you're overriding a class completely, then it strikes me that you shouldn't be a subclass of that class.

What if you are just a subclass of NSObject and use poseAs: to "override" the other class?

Daniel

On Apr 30, 2005, at 10:15 AM, Axel Andersson wrote:

On Apr 30, 2005, at 18:49, Nick Zitzmann wrote:


Is there a flag or build setting to disable the "method possibly missing a [super dealloc] call" warning? I don't seem to be able to find it in either Xcode or gcc(1).


What exactly are you doing in the code that is causing the warning to be raised?



Not that it matters what I'm doing, but I'm overriding a class completely, and I don't want to let it run its own -dealloc method.


For the record, after reading Apple's gcc sources (objc/objc- act.c), there is no flag to disable the warning.

--
Axel Andersson
email@hidden
http://www.zankasoftware.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden


_______________________________________________ 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
References: 
 >Disable "missing [super dealloc] call" warning (From: Axel Andersson <email@hidden>)
 >Re: Disable "missing [super dealloc] call" warning (From: Nick Zitzmann <email@hidden>)
 >Re: Disable "missing [super dealloc] call" warning (From: Axel Andersson <email@hidden>)

  • Prev by Date: Re: Disable "missing [super dealloc] call" warning
  • Next by Date: <incomplete type> in debugger
  • Previous by thread: Re: Disable "missing [super dealloc] call" warning
  • Next by thread: Re: Disable "missing [super dealloc] call" warning
  • Index(es):
    • Date
    • Thread