Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/xcode-users/jalkut%40red- 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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.