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: Ivan Vučica
Subject: Re: signature error NSPopUpButton with clang
Date: Thu, 25 Dec 2014 17:23:21 +0000

Did you try breaking on libobjc2's objc_selector_type_mismatch()?

http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk/sendmsg2.c

On Thu, Dec 25, 2014 at 3:45 PM, Riccardo Mottola <riccardo.mottola@libero.it> wrote:
Hi,

while running GWorkspace with clang, I get the following:

Calling [NSPopUpButton -itemAtIndex:] with incorrect signature. Method has @12@0:4i8, selector has @12@0:4I8


what's the problem? most probably an int vs. NSInteger mismatch? I don't remember exactly the shorthands used in signature.

But the real question is how can I know where it is coming from? I checked if GWorkspace would give compilation warnings with itemAtIndex somewhere and it didn't. Can I trap that in gdb? or Perhaps it is coming from gui?

Riccardo

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



--
Ivan Vučica
ivan@vucica.net

reply via email to

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