discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gcc warnings


From: Andreas Höschler
Subject: Re: gcc warnings
Date: Wed, 17 Aug 2011 15:58:54 +0200

Hi David and Richard,

>>  NSLog([localException description]);   
> 
> This is just plain wrong.   Do that, and you can get random stack corruption. 
>  You should always do this instead:
> 
> NSLog(@"%@", [localException description]);   

Thanks a lot for this explanation. Now the warning makes sense even to me! :-)

I will correct my code ...

Thanks,

 Andreas





reply via email to

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