I don't get it! I have just put Xcode 4 on Mac and I am already hating everything about it. OK, some of it may be me, but this is crazy:
I have this warning - using result of assignment as condition without parentheses for this line:
even though I have -Wno-idiomatic-parentheses in Other Warning Flags. Plus, I have this line in the same file, but the compiler is ok with it:
What is it that I'm missing here?
I have this warning - using result of assignment as condition without parentheses for this line:
Code:
if (retImage = [imgDatabase imageWithAddress:imgAddress returnCode:NULL]) {
even though I have -Wno-idiomatic-parentheses in Other Warning Flags. Plus, I have this line in the same file, but the compiler is ok with it:
Code:
if (self = [super init]) {
What is it that I'm missing here?