Hi Thomas! Am 13.08.2012 10:29, schrieb Thomas Davie: > Note, you also don't need to do anything anywhere near as complex to get > libdispatch either. A simply sudo apt-get install libdispatch was enough for > me.
The goal here is to use the GNUstep runtime (and libdispatch) for Objective-C code. The runtime needs to include the interface required for using blocks with Objective-C (for example, it needs to properly retain or copy Objective-C objects referenced in the block while copying blocks to the heap). When you are using libdispatch from the package, it links against libBlocksRuntime as the blocks runtime interface, which knows nothing about the GNUstep runtime and doesn't do quite the right things. So using the package doesn't get you anywhere in this scenario, hence the minor annoyances described earlier. Cheers, Niels _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
