On Mon, May 25, 2015 at 2:53 PM, Matt Turner <[email protected]> wrote: > On Mon, May 25, 2015 at 11:50 AM, Roland Scheidegger <[email protected]> > wrote: >> I can't see what's wrong with the code. >> I thought not using parantheses there is quite common, is that some new >> warning from some super duper new compiler version? > > It's that the compiler thinks that (!x == y) is a typo for !(x == y). > I have to say, I think the first does look strange.
I dunno... the second looks way stranger. x != y seems way more natural. While there's no substantially better way to write !x == y. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
