This is the mail archive of the gcc-patches@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: [V3 PATCH] char extraction uses wrong cast


On Tue, Feb 06, 2001 at 04:20:45PM +0000, Jason Merrill wrote:
> >>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
> 
> > As discussed on the V3 list, the code for "is >> c" where c was specified
> > as a signed or signed char was wrong 
> > (static_cast's don't yield lvalues).
>                 ^to non-reference types

I figured anybody already watching would know the details.  :-)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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