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

List:       kde-devel
Subject:    Re: kdesdk/kompare/komparepart compile fails
From:       Otto Bruggeman <bruggie () home ! nl>
Date:       2002-02-18 21:01:59
[Download RAW message or body]

On Mon, 18 Feb 2002, Malte Starostik wrote:
> > Ugh those buggy compilers :) I'll see what i can do to fix this... i dont
> > have a gcc 2.96 compiler so i'll guess the cause here and see what i can
> > do...

There is a :) at the end... so dont take it too seriously then :) We had
problems with gcc 2.96 before and had to release another version (kdiff
2.0 beta3).

> It's not a compiler bug, in the headers you have
>
> class KompareModelList : public QObject, Kompare { /* ... */ };
>
> class KomparePart : public KParts::ReadWritePart, Kompare
> {
> /* ... */
> protected slots:
> 	void slotSetStatus(Kompare::Status);
> };
>
> while in the .cpp there is
>
> void KomparePart::slotSetStatus(KompareModelList::Status) { /* ... */ }
>
> Since KompareModelList privately inherits Kompare, KompareModelList::Status is
> correctly marked inaccessible (apart from the definition slightly mismatching
> the declaration).

That was the whole problem.. this one slipped through the cracks during
the move of this enum from KompareModelList to class Kompare. Fixed in cvs
now...

Otto

 
>> Visit http://mail.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