This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping: PATCH to generate error for address of cast
- From: Jason Merrill <jason at redhat dot com>
- To: Matt Austern <austern at apple dot com>
- Cc: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>,Nathan Sidwell <nathan at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Aug 2002 22:52:15 +0100
- Subject: Re: Ping: PATCH to generate error for address of cast
- References: <49BB3283-B466-11D6-95E6-000393B2ABA2@apple.com>
On Tue, 20 Aug 2002 10:57:27 -0700, Matt Austern <austern@apple.com> wrote:
> My proposed solution: add new functions, non_cast_lvalue_p and
> non_cast_lvalue_or_else, in the C++ front end only. Annoying and
> none too pretty, but I don't see a better alternative.
Seems like a reasonable interim solution.
Jason