How can I disable this kind of warning -
Comparison of constant -1 with expression of type 'int' is always true
It would appear for a code like this -
int x = -1;
if (x == -1)
// do stuff
So, how can I suppress this warning?
I can see a list of warnings to suppress in the Build Settings section of my target, went over them one by one but either I'm missing it or it's not there -
If it's not there, is there a compiler flag I can pass to suppress it?