I have the following code

  [mutarray enumerateObjectsWithOptions:NSEnumerationReverse 
usingBlock:^(NSObject *o, NSUInteger idx, BOOL *stop) {
    ...}];

This compiles and runs fine on one installation of gnustep on Ubuntu16, but on 
a different installation, I get the following runtime error:

Calling [GSMutableArray -enumerateObjectsWithOptions:usingBlock:] with 
incorrect signature.  Method has v32@0:8Q16^{?=^vii^?}24, selector has 
v32@0:8Q16@?24

I believe my failing installation has an older version of gnustep-base.  Both 
use clang 3.8.0-2ubuntu4.  Both installations of gnustep are from git repos.  I 
believe the failing one is an older installation, so I am not very concerned 
about it.  But I am wary.

Has anyone else seen this?  I tried modifying the block in a number of ways, 
and couldn’t find an incantation that worked.

Thanks,
Tom

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to