[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: Michael Matz <matzmich () cs ! tu-berlin ! de>
Date: 2000-07-01 3:36:24
[Download RAW message or body]
Hi,
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
Ahh, nice to see a DEC (ar compaq) guy, may be, we can resolve the issues
with cxx and shared libs :)
> 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);
Your compiler doesn't understand covariant returns.
> I don't believe this is legal in C++. I also tried a similar test
> using "g++" and got the same error. I don't know how this would ever
> compile under any compiler.
It is legal C++. But covariant returns were not in some older definitions
of C++. I wonder, what version of g++ you tried, because egcs 1.1.2 and
gcc 2.95.2 accepts the above (and also produce working code out of it ;)
Hmm, I can't believe, that cxx does not understand covariant returns.
Ciao,
Michael.
>> 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