[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:       Rigoberto Corujo <rcorujo () unx ! dec ! com>
Date:       2000-07-03 11:42:07
[Download RAW message or body]

Hi Michael,

I got in contact with one of our C++ compiler guys, Ken Block, who said that
this will be addressed in the next release of the C++ compiler.  He is going
to send me a kit of the new compiler to try.

Thank you very much for responding so quickly.

Rigoberto

> 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