Hi Luboš

Luboš Doležel wrote:
Hi, GCC doesn't have blocks support, that's why these macros exist. I've fixed GSBlocks.h, both the macro itself and the version checking that lead to the use of that legacy macro. Please let me know if it works for you now.
actually, right now, base doesn't compile on gcc at all:

Making all for library libgnustep-base...
 Compiling file NSArray.m ...
NSArray.m: In function '-[NSArray enumerateObjectsWithOptions:usingBlock:]':
NSArray.m:1743: error: 'BLOCK_SCOPE' undeclared (first use in this function)
NSArray.m:1743: error: (Each undeclared identifier is reported only once
NSArray.m:1743: error: for each function it appears in.)
NSArray.m:1743: error: expected ';' before 'BOOL'
NSArray.m:1744: warning: ISO C90 forbids mixed declarations and code
NSArray.m:1758: error: 'shouldStop' undeclared (first use in this function)


Riccardo

<<attachment: riccardo_mottola.vcf>>

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

Reply via email to