[Mesa-dev] Omission? mesa-10.5.6

Roland Scheidegger sroland at vmware.com
Mon May 25 11:50:37 PDT 2015


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?

Roland

Am 25.05.2015 um 02:46 schrieb Roger Brown:
>  
> 
>   From mesa-10.5.6 compilation.
> 
>   Is this an oversight ?
> 
>  lp_query.c: In function..llvmpipe_check_render_cond..:
>  lp_query.c:317:23: warning: logical not is only applied
>  to the left hand side of comparison [-Wlogical-not-parentheses]
>  return (!result == lp->render_cond_cond);
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Ddev&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=Vjtt0vs_iqoI31UfJxBl7yv9I2FeiaeAYgMTLKRBc_I&m=hwpknz8ux6ctpQuq-7iYplqasR1s6BJr6CCTGMmX2A4&s=xCKcwFAn756vn1OwO7t9Q0XwWGDKYc6cJvqqVTAvNdE&e= 
> 



More information about the mesa-dev mailing list