Re: [U-Boot-Users] old code compiled with new gcc. error: lvalue required

2008-05-14 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I want to compile ppcboot 1.1.6 by ELDK 4.1. Well, ppcboot is very That's similar to asking the Wright Bothers to fly an A380. In short: it will not work. > There are about 20 errors. Is there any walkaround? eg, compile options to > gcc that ca

[U-Boot-Users] old code compiled with new gcc. error: lvalue required

2008-05-14 Thread 甜瓜
Howdy, I want to compile ppcboot 1.1.6 by ELDK 4.1. Well, ppcboot is very ancient code, but for some reason, I have to compile it. There are many exact same compile-time errors reported: error: lvalue required as increment/decrement operand. xsum += *((ushort *)ptr)++; *((ulong *)addr_s