discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Getting rid of unwanted warnings


From: Benhur Stein
Subject: Fwd: Getting rid of unwanted warnings
Date: Thu, 26 Jan 2006 18:23:20 -0200

Oops, I replied to David instead of to the list.

---------- Forwarded message ----------
From: Benhur Stein <benhur.stein@gmail.com>
Date: Jan 26, 2006 6:21 PM
Subject: Re: Getting rid of unwanted warnings
To: David Ayers <d.ayers@inode.at>


On 1/26/06, David Ayers <d.ayers@inode.at> wrote:
> Andreas Höschler schrieb:
> My personal preference would be to adapt NSUserDefault's signature (I
> think we have yet another mismatching signature in Additions somewhere).

One of the mismatches is in -representedObject, that
has a different signature for NSCell and NSRulerMarker. That, combined
with [NSControl selectedCell] returning id instead of NSCell * gives a
warning for code like:

  x = [[matrix selectedCell] representedObject];

Note that in the java version of NSMatrix selectedCell returns NSCell..

Cheers,
Benhur

reply via email to

[Prev in Thread] Current Thread [Next in Thread]