>>47,48
Some sort of "suggest parentheses around = used in boolean expression" warning.
suggest parentheses around = used in boolean expression
parentheses around =
Did you try actually following the instructions?
while ((a=*i++))
This is a very good warning; the extra parentheses are sortof ugly, but the tradeoff is helping you catch = instead of == 100% of the time. You get used to them and it helps readability afterwards. Actually it's frustrating that Apple doesn't ever build -Wall, because all Objective-C documentation code, templates, etc. suggests a shitload of these, like this idiom in every fucking class:
- (id)init {
if (self = [super init]) {
// some shit
}
return self;
}
with the obvious warning around the assignment again. Go ahead, create a project template in Xcode, turn on -Wall, and enjoy the warnings. I fucking hate Objective-C.