opensubscriber
   Find in this group all groups
 
Unknown more information…

g : gnustep-dev@gnu.org 19 May 2012 • 2:40AM -0400

Re: Getting Objective-C 2.0 working
by David Chisnall

REPLY TO AUTHOR
 
REPLY TO GROUP




On 18 May 2012, at 18:41, Laurent Michel wrote:

> Calling [GSMutableSet -enumerateObjectsUsingBlock:] with incorrect signature.  Method has v12@0:4^{?=^vii^?}8, selector has v12@0:4@?8

This sounds like you did not compile GNUstep with a compiler with blocks support (which also means that you will get exciting things happening if you try subclassing NSRegularExpression).  In this case, GNUstep will fall back to defining the block type as a struct and doing some hackery to invoke the block.

Try adding -fblocks to the CFLAGS your GNUstep install.  This is default on *BSD, but not on some other operating systems.  It should be implicit if you are using the GNU runtime and specify the non-fragile ABI though, so the fact that it isn't implies that yo are using the fragile ABI (which I would recommend against).  Try specifying --disable-mixed-abi (or something like that, try --help to find the correct option) to configure for base.

David

-- Sent from my Apple II
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu....
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.