On 17 mar 2009, at 08.44, Roland King wrote:
I assumed that -Wall meant .. all. What does Wextra, Winit-self,
Wundeclared-selector add? And why aren't they part of all?
-Wall can't very well include everything, since a lot of the available
warnings are very special in purpose and not gene
I assumed that -Wall meant .. all. What does Wextra, Winit-self,
Wundeclared-selector add? And why aren't they part of all?
On Mar 17, 2009, at 11:16 PM, Joar Wingfors wrote:
On 17 mar 2009, at 06.32, Michele Barboni wrote:
if(value = nil) return nil;
missed a "=".. sorry..
.
On 17 mar 2009, at 06.32, Michele Barboni wrote:
if(value = nil) return nil;
missed a "=".. sorry..
...and that's why it's great to re-train yourself to type it the other
way around:
if (nil == value)
A stricter set of compiler warnings helps too, of course:
-
On Mar 16, 2009, at 8:40 PM, Michele Barboni wrote:
if(value = nil) return nil;
missed a "=".. sorry..
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the m