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

List:       atlantik-devel
Subject:    [atlantik-devel] Compile Error from CVS Build
From:       Chad Nouis <rookkey () yahoo ! com>
Date:       2002-07-29 4:23:38
[Download RAW message or body]

Compiling the kdegames package from the CVS sources
yields the following error:

display_widget.cpp: In method `void
BoardDisplay::buttonPressed ()':
display_widget.cpp:62: cannot convert `const QObject
*' to `QObject *'
in initialization
make[3]: *** [display_widget.lo] Error 1

This can be fixed by changing
atlantik/libatlantikui/display_widget.cpp line 62
from:

QObject *o = QObject::sender();

to:

QObject *o = const_cast<QObject*> (QObject::sender());

It's ugly, but I had to do it to allow compiling to
work again.

Chad Nouis

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
_______________________________________________
atlantik-devel mailing list
atlantik-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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