This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++-2.95 rejects cast to void
- To: haible at ilog dot fr, nathan at cs dot bris dot ac dot uk
- Subject: Re: g++-2.95 rejects cast to void
- From: mrs at wrs dot com (Mike Stump)
- Date: Thu, 17 Jun 1999 08:48:24 -0700
- Cc: egcs-bugs at egcs dot cygnus dot com, oliva at dcc dot unicamp dot br
> Date: Thu, 17 Jun 1999 12:04:45 +0100
> From: Nathan Sidwell <nathan@acm.org>
> > But 5.2.9/4 contains explicit language to skip the lvalue-to-rvalue
> > conversion, therefore the fact that the type is incomplete does not matter.
> >
> Okay, Bruno and Alexandre have convinced me, a patch will be
> forthcoming. This line of reasoning implies that
> g++.bugs/900428_01.C is wrong, even for volatile objects in
> statement expressions (6.2/1), because lvalue->rvalue never happens.
I question this. I don't think we should implement a gross
incompatibility with C, I have no faith that the decision that ANSI
C++ took was the right one. I favor postponing this one.