C++ extension "cast-as-lvalues": time to deprecate?

Joseph S. Myers jsm28@cam.ac.uk
Fri May 9 22:39:00 GMT 2003


On Fri, 9 May 2003, Neil Booth wrote:

> > I would like it deprecated in C.
> 
> Cool, I agree.  You're the C maintainer; can we look forward to a
> patch?

I don't expect to be in a position to be actively maintaining again for
some months.  Half the deprecation should be easy - modify
pedantic_non_lvalue.  Getting a deprecation warning for the other half - 
casts of an lvalue to its own type (which -pedantic turns into a hard 
error, not a warning) may be more tricky.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc mailing list