From: Rudmer van Dijk <rudmer@legolas.dynup.net>
To: linux-kernel@vger.kernel.org
Cc: Roman Zippel <zippel@linux-m68k.org>
Subject: [PATCH] 2.5.70-bk6 make xconfig fails
Date: Sun, 1 Jun 2003 15:41:48 +0200 [thread overview]
Message-ID: <200306011541.48530.rudmer@legolas.dynup.net> (raw)
Hi,
this is with gcc 3.3, no error with gcc 2.95.3
g++ -Wp,-MD,scripts/kconfig/.qconf.o.d -O2 -I/opt/qt/include -c -o
scripts/kconfig/qconf.o scripts/kconfig/qconf.cc
scripts/kconfig/qconf.cc: In destructor `virtual ConfigItem::~ConfigItem()':
scripts/kconfig/qconf.cc:291: error: non-lvalue in unary `&'
make[1]: *** [scripts/kconfig/qconf.o] Error 1
make: *** [scripts/kconfig/qconf] Error 2
following patch fixes it for gcc 3.3 (and still compiles with gcc 2.95.3).
Rudmer
--- linux-2.5.70-bk6/scripts/kconfig/qconf.cc.orig 2003-06-01
15:19:51.000000000 +0200
+++ linux-2.5.70-bk6/scripts/kconfig/qconf.cc 2003-06-01 15:25:01.000000000
+0200
@@ -288,7 +288,7 @@
ConfigItem::~ConfigItem(void)
{
if (menu) {
- ConfigItem** ip = &(ConfigItem*)menu->data;
+ ConfigItem** ip = (ConfigItem**)&menu->data;
for (; *ip; ip = &(*ip)->nextItem) {
if (*ip == this) {
*ip = nextItem;
reply other threads:[~2003-06-01 13:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200306011541.48530.rudmer@legolas.dynup.net \
--to=rudmer@legolas.dynup.net \
--cc=linux-kernel@vger.kernel.org \
--cc=zippel@linux-m68k.org \
/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
all inboxes | Powered by JetHome®