| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
The warning is this_______________________________________________
warning: `return' with a value, in function returning void
On 01/02/2004, at 10:26 AM, Jvrn Salewski wrote:
am 01.02.2004 1:03 Uhr schrieb Greg Hulands unter_______________________________________________
email@hidden:
Hi,
In an old project I have just started to bring up to date for panther
I
have a convention in the dealloc method to return
The dealloc method to override returns void, nothing else.
[super dealloc].
This is not only your convention, but everybody does so, since calling
[super dealloc] is explained in the documentation of the dealloc
message
(NSObject) as being mandatory in subclasses (of NSObject):
"the subclass method should incorporate superclass versions of dealloc
through a message to super"
This
is in every class, so it is generating a lot of warnings.
What sort of warnings. Could you give us a quote?Is there a
way to suppress this warning in GCC 3.3?
Generally one shouldn't suppress warnings but remedy their cause.
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.