httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apache-2.0/src/lib/apr/file_io/unix readwrite.c
Date Wed, 12 Apr 2000 01:19:37 GMT
> On Tue, 11 Apr 2000, Greg Stein wrote:
> 
> > Or the He-Man way:
> > 
> >     *((char *)buf)++ = ...
> 
> i think this is a gcc extension (although maybe it's in C99 now) -- in C89
> the result of a cast is always an rvalue; and ++ requires an lvalue.
> 
> -dean

I was hoping to get a chance to cut and paste the error message that
he-men get when they try that with c89 on OS/390, but there is no need
now as you have repeated the key part ("++ requires an lvalue").

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message