[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler warnings building GNUstep gui
From: |
Jens Ayton |
Subject: |
Re: Compiler warnings building GNUstep gui |
Date: |
Thu, 8 Apr 2010 01:58:58 +0200 |
On Apr 6, 2010, at 13:03, David Chisnall wrote:
> On 6 Apr 2010, at 09:24, Fred Kiefer wrote:
>>
>> NSRulerMarker.m:189: warning: ‘-retain’ not found in protocol(s)
>
> I see this a lot in code ported from OS X. I'm not sure exactly why it's an
> error for us and not on OS X, but all of the Cocoa protocols are treated as
> conforming to the NSObject protocol (I've not checked if they explicitly do,
> or if the compiler just pretends that they do).
It's explicit.
--
Jens Ayton