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


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to