From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: mikael.starvik@axis.com, dev-etrax@axis.com,
linux-kernel@vger.kernel.org
Subject: Re: cris/arch-v10/lib/memset.c compile error
Date: Thu, 14 Feb 2008 11:22:44 +0100 [thread overview]
Message-ID: <20080214102244.GZ11007@axis.com> (raw)
In-Reply-To: <20080213185703.GC14269@cs181133002.pp.htv.fi>
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
next prev parent reply other threads:[~2008-02-14 10:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 18:57 cris/arch-v10/lib/memset.c compile error Adrian Bunk
2008-02-14 10:22 ` Jesper Nilsson [this message]
2008-02-14 16:28 ` [PATCH] CRIS: Import memset.c from newlib, fixes compile error with newer (pre4.3) gcc Jesper Nilsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080214102244.GZ11007@axis.com \
--to=jesper.nilsson@axis.com \
--cc=bunk@kernel.org \
--cc=dev-etrax@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikael.starvik@axis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox