This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ extension "cast-as-lvalues": time to deprecate?
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