Messages in this thread | | | Date | Thu, 14 Feb 2008 11:22:44 +0100 | From | Jesper Nilsson <> | Subject | Re: cris/arch-v10/lib/memset.c compile error |
| |
On Wed, Feb 13, 2008 at 08:57:03PM +0200, Adrian Bunk wrote: > Trying to compile a cris defconfig with an svn gcc (that will become > gcc 4.3) fails with the following error:
Ah, yes. Cast doesn't return an lvalue. I've also seen this (as a warning) when running with sparse with the 3.2.1 gcc.
I'll do something about that and get back to you with a patch.
> CC arch/cris/arch-v10/lib/memset.o > /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/cris/arch-v10/lib/memset.c: In function 'memset': > /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/cris/arch-v10/lib/memset.c:164: error: lvalue required as increment operand > [snip]
Thanks for the heads up.
> cu > Adrian
/^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com
| |