On Mon, May 25, 2015 at 12:01 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Mon, May 25, 2015 at 2:53 PM, Matt Turner <matts...@gmail.com> wrote:
>> On Mon, May 25, 2015 at 11:50 AM, Roland Scheidegger <srol...@vmware.com> 
>> 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.

Agreed. I wasn't commenting on the second.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to