[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New warnings (hopefully) in gcc 3.4
From: |
Nicola Pero |
Subject: |
Re: New warnings (hopefully) in gcc 3.4 |
Date: |
Wed, 3 Sep 2003 09:51:44 +0100 (BST) |
> In this case, I think it's just a matter of NSDistributedLock not
> following the conventions we have. Grepping through base and gui shows
> that there are only two -init* methods that don't return id:
>
> NSDistributedLock.h:
> - (NSDistributedLock*) initWithPath: (NSString*)aPath;
>
> NSWindow.h:
> - (NSWindow *) initWithWindowRef: (void *)windowRef;
>
> so I think these should be fixed to return id.
Yes - they certainly need to be fixed. All -init* methods should return
id.
Re: New warnings (hopefully) in gcc 3.4, Fred Kiefer, 2003/09/01
Re: New warnings (hopefully) in gcc 3.4, David Ayers, 2003/09/01
Re: New warnings (hopefully) in gcc 3.4, Nicola Pero, 2003/09/01