[uClibc] first try of gcc 4.0.0 compiling for ppc

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Jun 10 12:43:57 UTC 2005


On Fri, 2005-06-10 14:12:49 +0200, Wojciech Kromer <wojciech.kromer at dgt.com.pl> wrote:
> 
> >Nope, something that only caused a warning 3.4.3 is not valid code
> >in 4.0

> By the way  I still can't get why:
> 
> Casted lvalues aren't allowed any longer. So change the code to not
> require the lefthand cast at all.

IIRC this was clearified in the ISO C99 standard to which such a new GCC
should default to. Maybe that warning/error goes away with -std=c90 or
something like that. Though, instead of working around you may just fix
the issue to comply with current standards :)

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050610/e86134db/attachment-0002.pgp 


More information about the uClibc mailing list