gcc4_0 screwed...
Arjan van de Ven
arjanv at redhat.com
Mon Apr 18 13:02:49 UTC 2005
> color.c:498: error: invalid lvalue in increment
> color.c:499: error: invalid lvalue in increment
> make[3]: *** [color.lo] Error 1
>
> for (x=0; x < (width / 4); x++) {
> n1 = *(((unsigned int *) src1)++);
> n2 = *(((unsigned int *) src2)++);
> n3 = (n1 & 0xFF00FF00) >> 8;
> n4 = (n2 & 0xFF00FF00) >> 8;
> n1 &= 0x00FF00FF;
> n2 &= 0x00FF00FF;
>
> and that doesn't seem to be ´lazy code´...
no it's just plain broken and invalid code; gcc won't be "fixed" to
accept this invalid code in the future..
> RTjpeg.c:101: error: invalid lvalue in assignment
> (uint8_t)strm[0]=(uint8_t)(data[RTjpeg_ZZ[0]]>254) ? 254:((data
> [RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]);
eh what does it mean to cast that strm[0] ???????
I think that's invalid code too
> I don't think that upgrading is a bad idea, but I do think that
I think you might just need a binutils upgrade just as well
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050418/16711bb8/attachment.sig>
More information about the fedora-devel-list
mailing list