use of cast expressions as lvalues is deprecated

random@bubblescope.net random@bubblescope.net
Wed Sep 7 11:24:00 GMT 2005


Shaun Jackman wrote:

>Is there a -Wno-xxx option to disable "warning: use of cast
>expressions as lvalues is deprecated"?
>
>In general, how do I find the -Wno-xxx option for a given warning?
>
>Please cc me in your reply. Thanks,
>Shaun
>  
>
One thing to note. In gcc 4.1 (out soonish), this code is going to
produce an error and just not compile, so it would be well worth fixing it.

Chris



More information about the Gcc-help mailing list