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!