Hi David,
I am getting a lot of errors from gcc 4.5 with this change:
Compiling file GSBlocks.m ...
GSBlocks.m: In function β+[GSBlock load]β:
GSBlocks.m:25:2: error: βforβ loop initial declarations are only allowed
in C99 mode
GSBlocks.m:25:2: note: use option -std=c99 or -std=gnu99 to compile y
Hi Fred,
This should just need the loop rewriting in C89 syntax (done in r32382) and a
few other tweaks. The forward declaration warnings were caused by my declaring
the function and forgetting that I was calling it via a macro normally.
The point of having this stuff in base is so that people
Now you did the fixes that I listed as the easy ones. You still didn't
add a proper heading for the file. Nor did you write a solution for
stupid linkers. Your idea of using #if __has_feature(blocks) should
work, but somebody has to put it in there.
Fred
Am 26.02.2011 20:28, schrieb David Chisnal
On 26 Feb 2011, at 20:40, Fred Kiefer wrote:
> Now you did the fixes that I listed as the easy ones. You still didn't
> add a proper heading for the file. Nor did you write a solution for
> stupid linkers. Your idea of using #if __has_feature(blocks) should
> work, but somebody has to put it in th
Original-Nachricht
> Datum: Sun, 27 Feb 2011 01:20:58 +
> Von: David Chisnall
> An: Fred Kiefer
> CC: GNUstep Developer
> Betreff: Re: [Gnustep-cvs] r32376 - in /libs/base/trunk/Source: GNUmakefile
> GSBlocks.m
> On 26 Feb 2011, at 20:40, Fred Kie
On 27 Feb 2011, at 08:35, Fred Kiefer wrote:
>
> Original-Nachricht
>> Datum: Sun, 27 Feb 2011 01:20:58 +
>> Von: David Chisnall
>> An: Fred Kiefer
>> CC: GNUstep Developer
>> Betreff: Re: [Gnustep-cvs] r32376 - in /libs/base/trunk