Try changing:
ConfigItem** ip = &(ConfigItem*)menu->data;
To:
ConfigItem **ip = (ConfigItem**)&menu->data;
Both should work... I've got no idea why GCC will shout on this one.
Gilboa
On Thu, 2003-06-26 at 20:01, Micha Feigin wrote:
> Somewhere in 2.5 there are two graphical configurations I am aware of.
>
> There is make xconfig which brings up a qt interface and a make gconfig
> which brings up a gtk interface.
> Don't know if there is anything other graphic.
> I know that make menuconfig still exists.
>
> As an extra for my last question. Solved the problem with some more qt
> packages, and setting the environment variable, but I get another wierd
> error which I couldn't figure out:
>
> scripts/kconfig/qconf.cc: In destructor `virtual
> ConfigItem::~ConfigItem()':
> scripts/kconfig/qconf.cc:291: error: non-lvalue in unary `&'
>
> The lines in the file under tje debian version (I know they change the
> source a bit, or at list the make files):
>
> ConfigItem::~ConfigItem(void)
> {
> if (menu) {
> this line ---> ConfigItem** ip = &(ConfigItem*)menu->data;
> for (; *ip; ip = &(*ip)->nextItem) {
> if (*ip == this) {
> *ip = nextItem;
> break;
> }
> }
> }
> }
>
> couldn't figure this one out I am afraid (apperently I don't remeber as
> much c as I thought).
>
> > Oded Arbel <[EMAIL PROTECTED]> writes:
> >
> > > Since when kernel configuration is dependant on Qt ? I don't remember
> > > this being the case, and it sounds really inapropriate to me.
> >
> > Since 2.5.something, and only the graphical configuration kit ("make
> > xconfig"), AFAIK.
> >
> > --
> > Oleg Goldshmidt | [EMAIL PROTECTED]
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]