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

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to