discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error building gui


From: Riccardo Mottola
Subject: Re: error building gui
Date: Thu, 15 Aug 2013 08:42:14 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1

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
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]