discuss-gnustep
[Top][All Lists]
Advanced

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

Re: error building gui


From: Luboš Doležel
Subject: Re: error building gui
Date: Thu, 15 Aug 2013 09:09:35 +0200
User-agent: Roundcube Webmail/0.5

On Thu, 15 Aug 2013 08:42:14 +0200, Riccardo Mottola wrote:
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

Aaah, it uncovered another problem. Should be fixed.

--
Luboš Doležel



reply via email to

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