Re: cris/arch-v10/lib/memset.c compile error
From: Jesper Nilsson
Date: Thu Feb 14 2008 - 05:26:08 EST
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@xxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/