lvalue problems with GCC-HEAD

Jan-Benedict Glaw jbglaw@lug-owl.de
Mon May 10 15:24:00 GMT 2004


Hi!

I'm currently investing some time trying to get binutils/gcc/glibc HEAD
work together. Binutils build fine, as well as the bootstrap compiler.

However, the bootstrap compiler fails to build glibc parts because of
lvalue casts, like this:

gconv_simple.c: In function `ucs4_internal_loop':
gconv_simple.c:268: error: invalid lvalue in increment

...which reads like this:

    266         }
    267 
    268       *((uint32_t *) outptr)++ = inval;
    269     }
    270 
    271   *inptrp = inptr;
    272   *outptrp = outptr;

Do you know if glibc will be "fixed", or if there's switch for gcc to
allow these lvalues?

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20040510/bf37082f/attachment.sig>


More information about the crossgcc mailing list