[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Error building kdelibs/kross in trunk
From: Stephan Johach <lucardus () onlinehome ! de>
Date: 2006-12-16 12:59:56
Message-ID: 200612161359.56476.lucardus () onlinehome ! de
[Download RAW message or body]
Am Donnerstag, 14. Dezember 2006 20:07 schrieb Thiago Macieira:
> No, gcc 3.3.3 is a supported compiler. We have to fix those errors.
>
> >/home/lucardus/kdelibs/kross/core/manager.cpp:174: error: type `class
> > QPointer<QObject>' argument given to `delete', expected pointer
>
> We have to do the casting here. Can you change it.value() to
> static_cast<QObject*>(it.value()) ?
>
> For that matter, what happens if you replace the whole for (...) with
> qDeleteAll(d->modules) ?
It compiles with the qDeleteAll() too.
Stephan
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic