On 24 Aug 2013, at 12:13, "Vincent R." <foru...@smartmobili.com> wrote:

> Le 24.08.2013 13:02, Vincent R. a écrit :
>> Le 23.08.2013 12:32, David Chisnall a écrit :
>>> I've been meaning to make this change for a little while.  It makes a
>>> few bits of static analysis easier.  I don't have time to do this next
>>> week, but if you send a patch I'd be happy to commit it.
>> 
>> Please find a small patch, tested with clang but not gcc.
> 
> Don't know if it's related but when I launch Gorm on the terminal I have some 
> warning like :
> 
> vincent@vincent-virtual-machine ~/objc2cs/gnustep/libobjc2/build $ Gorm
> Calling [NSBrowserDelegate -browser:numberOfRowsInColumn:] with incorrect 
> signature.  Method has i28@0:8@16i24, selector has q32@0:8@16q24
> Calling [NSBrowserDelegate -browser:titleOfColumn:] with incorrect signature. 
>  Method has @28@0:8@16i24, selector has @32@0:8@16q24
> Calling [NSTableViewDataSource -numberOfRowsInTableView:] with incorrect 
> signature.  Method has i24@0:8@16, selector has q24@0:8@16
> Calling [NSOutlineViewDataSource -outlineView:numberOfChildrenOfItem:] with 
> incorrect signature.  Method has i32@0:8@16@24, selector has q32@0:8@16@24
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32
> Calling [NSOutlineViewDataSource -outlineView:numberOfChildrenOfItem:] with 
> incorrect signature.  Method has i32@0:8@16@24, selector has q32@0:8@16@24
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32
> Calling [NSOutlineViewDataSource -outlineView:numberOfChildrenOfItem:] with 
> incorrect signature.  Method has i32@0:8@16@24, selector has q32@0:8@16@24
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32
> Calling [NSOutlineViewDataSource -outlineView:child:ofItem:] with incorrect 
> signature.  Method has @36@0:8@16i24@28, selector has @40@0:8@16q24@32

No, this is unrelated.  You should get compile-time warnings from Gorm as well 
- it still hasn't been completely updated to reflect the NS[U]Integer changes 
in the most recent release of -gui.  It's passing int where the receiver 
expects NSInteger (which, on LP64 platforms, means long or long long).  This 
mostly works correctly, because these values typically fit in an int and are 
passed in registers, so they're equivalent, but if any of the arguments needs 
to go on the stack (x86-64 passes up to 4 arguments in registers, including 
self and _cmd) then it's a problem.

David

-- Sent from my IBM 1620


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to