[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New warnings (hopefully) in gcc 3.4
From: |
Alexander Malmberg |
Subject: |
Re: New warnings (hopefully) in gcc 3.4 |
Date: |
Thu, 04 Sep 2003 18:48:11 +0200 |
Nicola Pero wrote:
> > 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.
Fixed in cvs.
- Alexander Malmberg
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