Re: lvalue casting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux