I wrote a gist a while ago: https://gist.github.com/611157. It compiled and worked ok.
I came back to it recently and it no longer complied.
I noticed it compiles with LLVM 2.0 with no problems or warnings (and then runs and works!)
With LLVM GCC 4.2 it fails to compile. I get the following error
error: incompatible block pointer types initializing 'signed char (^)(struct objc_object *, struct NSString *)', expected 'BOOL (^)(struct objc_object *, struct objc_object *)'
I have the feeling I have a declaration missing or wrong, but I don't know, so I thought I would ask.
Any ideas anyone?