gnustep-dev
[Top][All Lists]
Advanced

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

Re: multiple string tokens


From: Fred Kiefer
Subject: Re: multiple string tokens
Date: Sat, 20 Aug 2011 15:19:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

On 17.08.2011 19:32, Riccardo Mottola wrote:
David is making many log statements more portable / 64 bit compliant by
using a macro like this:

NSLog(@"_dispatch with unexpected status %" PRIdPTR, [self streamStatus]);


PRIdPTR will expand to the correct string.

gcc 2.95 on my sparc box barks

NSStream.m:198: syntax error before string constant

I think, but it is just a guess, that for some reason @"" and "" don't
get joined properly, while "" and "" do. Anyone has a better idea or
some memory about old compiler quirks or generally another 32/64 bit
option?

I temporarily reverted the change that caused this problem. After the next base release, which should happen early next week, the change will be put back in again and you will have to switch to a newer compiler :-)

Could you please check again if there are any other changes in GNUstep base that block compilation with gcc 2.95?



reply via email to

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