gnustep-dev
[Top][All Lists]
Advanced

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

multiple string tokens


From: Riccardo Mottola
Subject: multiple string tokens
Date: Wed, 17 Aug 2011 19:32:55 +0200
User-agent: Mozilla/5.0 (Windows NT 5.0; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2

Hi,

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?

Riccardo



reply via email to

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