[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    [PATCH][2.5.69] Make xconfig compile with gcc 3.3
From:       Bernhard Rosenkraenzer <bero () arklinux ! org>
Date:       2003-05-14 8:44:04
[Download RAW message or body]

make xconfig doesn't work with the soon to be released gcc 3.3.
The attached patch fixes it.

LLaP
bero

-- 
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php
["linux-2.5.69-xconfig-gcc-3.3.patch" (TEXT/PLAIN)]

--- linux-2.5.69/scripts/kconfig/qconf.cc.ark	2003-05-14 10:18:59.000000000 +0200
+++ linux-2.5.69/scripts/kconfig/qconf.cc	2003-05-14 10:19:35.000000000 +0200
@@ -288,7 +288,8 @@
 ConfigItem::~ConfigItem(void)
 {
 	if (menu) {
-		ConfigItem** ip = &(ConfigItem*)menu->data;
+		ConfigItem* i=(ConfigItem*)menu->data;
+		ConfigItem** ip = &i;
 		for (; *ip; ip = &(*ip)->nextItem) {
 			if (*ip == this) {
 				*ip = nextItem;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic