discuss-gnustep
[Top][All Lists]
Advanced

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

Re: signature error NSPopUpButton with clang


From: Riccardo Mottola
Subject: Re: signature error NSPopUpButton with clang
Date: Mon, 29 Dec 2014 19:08:33 +0100
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

Hi,

David Chisnall wrote:
The issue is the declaration of wherePopUp - it should not be id, give it a 
sensible type.  Otherwise the method type will be picked at random.
that was it. I fixed to NSPopUpButton all instances that generated runtime errors, also I fixed other IBOutlets in the same header and all runtime warnings disappeared.

Shouldn't a cast have been enough? Theoretically in Obj-C you could use "id" for everything! Not my style of coding, but...

Another good side-effect is that the other problem with FileOperation hanging seems gone with this. I'll do further checks this evening, that would be even more mysterious.

Riccardo



reply via email to

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