This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g++-2.95 rejects cast to void


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]