• 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: Jonathan del Strother <email@hidden>
  • Date: Sat, 30 Apr 2005 23:57:52 +0100

It's a pretty ugly kludge, but you could use this:

-(void)dealloc
{
  if (false)
    [super dealloc];
}

which seems to confuse the compiler into thinking it's there.

On 30 Apr 2005, at 17:35, Axel Andersson 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).

--
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:
40steelskies.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>)

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