Re: Still can't figure out this overrelease bug
Re: Still can't figure out this overrelease bug
- Subject: Re: Still can't figure out this overrelease bug
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 10 Jun 2005 20:23:17 +0100
Hi Chaz,
your code does not compile:
@interface NSObject ( ReleaseLogger )
- (oneway void)release;
@end
@implementation NSObject ( ReleaseLogger )
- (oneway void)release {
NSLog( @"RELEASING: %p (%@)\n retcount: %i", self, self, [self
retainCount] );
[super release];
}
@end
In function `void -[NSObject(ReleaseLogger) release](NSObject*,
objc_selector*)':
error: no super class declared in interface for `NSObject'
error: 'super' was not declared in this scope
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden