[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Again: compilation problem
From: Stephan Kulow <coolo () kde ! org>
Date: 2000-10-26 11:33:46
[Download RAW message or body]
Mario Weilguni wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> another try:
> - ---
> Does anybody have an idea why on my system compilation of this fails:
> kimgio.cpp: KSycocaEntry *entry = static_cast<KSycocaEntry *>(*it);
> ....
> kimageio.cpp:284: static_cast from `KSharedPtr<KSycocaEntry>' to
> `KSycocaEntry *'
> ....
>
> There are a few other locations in kio where the same happens too. I've a
> standard SuSE 7.0 with gcc-2.95.2, no special software installed. A test on a
> guaranted fresh SuSE 7.0 leads to the same problem. Any ideas?
Hmm, I have 2.95.2 too and it simply works. But you should be
able to use (*it).operator*() instead of the cast - even though
static_cast should do exactly that.
Greetings, Stephan
--
Frauen und Maenner passen vielleicht nicht zusammen, aber meine
allerschoensten Schrammen habe ich mir bei diesem Duell geholt.
-- Reinhard Mey
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic