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: Wed, 14 Aug 2013 23:39:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 08/14/2013 10:10 PM, Riccardo Mottola wrote:
> Hi,
> 
> with the latest gui, when building, I get this error:
> 
>  Compiling file NSAlert.m ...
> In file included from ../Headers/Additions/GNUstepGUI/GMAppKit.h:54:0,
>                  from NSAlert.m:65:
> ../Headers/AppKit/NSSavePanel.h:85:1: error: expected declaration
> specifiers or '...' before ')' token
> ../Headers/AppKit/NSSavePanel.h:85:1: warning: no semicolon at end of
> struct or union [enabled by default]
> 
> GCC is choking on:
> DEFINE_BLOCK_TYPE(GSSavePanelCompletionHandler, void, NSInteger);
> 
> I suppose this is the macro defined in GSBlocks.h
> 
> perhaps this macro is not working properly? since which version GCC has
> block support?
> 
> Riccardo

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.

-- 
Luboš Doležel




reply via email to

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