[cfe-dev] Missing dealloc analysis

David Chisnall csdavec at swansea.ac.uk
Thu Jul 3 03:39:19 PDT 2008


On 3 Jul 2008, at 06:35, Nikita Zhuk wrote:

> It's a
> good idea to check that dealloc is implemented and that it always
> calls [super dealloc]

One minor point:

GCC emits a warning if -dealloc does not call [super dealloc], which  
is very frustrating when you are creating a root class (or a category  
on a root class) for which super is invalid, since it seems impossible  
to suppress the warning.  Please don't replicate this bug!

David



More information about the cfe-dev mailing list