gnustep-dev
[Top][All Lists]
Advanced

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

Re: [Gnustep-cvs] r34996 - in /libs/base/trunk: ChangeLog Headers/Founda


From: Fred Kiefer
Subject: Re: [Gnustep-cvs] r34996 - in /libs/base/trunk: ChangeLog Headers/Foundation/NSOperation.h Headers/GNUstepBase/GSBlocks.h Source/NSOperation.m Tests/base/NSOperation/basic.m
Date: Tue, 27 Mar 2012 11:07:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2

On 26.03.2012 16:47, Niels Grewe wrote:
Author: thebeing
Date: Mon Mar 26 16:47:07 2012
New Revision: 34996

URL: http://svn.gna.org/viewcvs/gnustep?rev=34996&view=rev
Log:
Add completion block support to NSOperation.

Modified:
     libs/base/trunk/ChangeLog
     libs/base/trunk/Headers/Foundation/NSOperation.h
     libs/base/trunk/Headers/GNUstepBase/GSBlocks.h
     libs/base/trunk/Source/NSOperation.m
     libs/base/trunk/Tests/base/NSOperation/basic.m

This change breaks compilation on my OpenSuse 12.1 machine (64bit, gcc 4.6.2). The output I get is a bit cryptic:

Compiling file NSJSONSerialization.m ...
In file included from ../Headers/Foundation/Foundation.h:92:0,
                 from NSJSONSerialization.m:10:
../Headers/Foundation/NSOperation.h:154:1: error: expected declaration specifiers or ‘...’ before ‘)’ token ../Headers/Foundation/NSOperation.h:154:1: warning: no semicolon at end of struct or union [enabled by default]
make[4]: *** [obj/libgnustep-base.obj/NSJSONSerialization.m.o] Fehler 1
make[3]: *** [internal-library-all_] Fehler 2
make[2]: *** [libgnustep-base.all.library.variables] Fehler 2
make[1]: *** [internal-all] Fehler 2
make: *** [internal-all] Fehler 2

The problem seems to be the block type definition with just two arguments. All the other block definitions have at least four arguments.



reply via email to

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