Hi Yuri, Maybe the -fnon-lvalue-assign flag will do what you need. But I think you should change the code to be compliant. (type)expr ---becomes---> *(type *)&expr cond ? expr1 : expr2 ---becomes---> *(cond ? &expr1 : &expr2) HTH, --Eljay
Hi Yuri, Maybe the -fnon-lvalue-assign flag will do what you need. But I think you should change the code to be compliant. (type)expr ---becomes---> *(type *)&expr cond ? expr1 : expr2 ---becomes---> *(cond ? &expr1 : &expr2) HTH, --Eljay