discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSLog and " character


From: Riccardo Mottola
Subject: Re: NSLog and " character
Date: Wed, 18 Jan 2012 17:38:42 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20120104 Icedove/8.0

Hi,

yes, it falls into the category "missing the obvious".

It crashes on cocoa too, I can confirm that i was into this before. the line should obviously have been:

 NSLog(@"token: %@", token);

when your debug introduces another bug...

Riccardo

On 01/18/2012 04:59 PM, Gregory Casamento wrote:
Since you have the %@ in the line which reads NSLog(@"token: %@") the
presence of the %@ implies that there will be a set of parameters in
the va_arg list which is passed into that function.

You don't have anything there.   I have seen this failure on OPENSTEP
and Cocoa as well as GNUste.   So this shouldn't be considered a
problem/bug.

GC





reply via email to

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