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

List:       kde-devel
Subject:    Bug#5814: KDE 2.0: kio doesn't compile on Tru64 UNIX
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-06-30 21:34:41
[Download RAW message or body]

On Fri, 30 Jun 2000, Rigoberto Corujo wrote:
> When I try to compile "kdelibs-1.91/kio" on Tru64 UNIX V5.0 I get the
> following error message.
>
> cxx: Error: kservicefactory.h, line 85: return type is not identical to
>           return type "KSycocaEntry *" of overridden virtual function
> function
>           "KSycocaFactory::createEntry(int)"
>   virtual KService * createEntry(int offset);
>
> This is because in the base class "KSycocaFactory", "createEntry" is a
> virtual function which returns a "KSycocaEntry*" type...

I was under the impression that this was allowed since KSycocaEntry is a base 
type for KService. We can change them all to use "KSycocaEntry *" but then we 
would need to add a bunch of casts from "KSycocaEntry *" to e.g. "KService *" 
wherever "createEntry" is called which isn't very nice IMO.

Cheers,
Waldo



-- 
Make way, KDE/Linux is coming to a desktop near you!
 
>> Visit http://master.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