[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Error building kopete/libkopete/kopeteprotocol.cpp on IRIX
From: Albert Chin <kde-devel () mlists ! thewrittenword ! com>
Date: 2005-02-13 17:43:50
Message-ID: 20050213174349.GB62281 () mail1 ! thewrittenword ! com
[Download RAW message or body]
On Sun, Feb 13, 2005 at 01:19:53AM -0600, Albert Chin wrote:
> The SGI C++ compiler is returning the following error when building
> kopete/libkopete/kopeteprotocol.cpp from kdenetwork-3.3.2:
> cc-1070 CC: ERROR File = kopeteglobal.h, Line = 133
> The indicated type is incomplete.
>
> const ContactPropertyTmpl::Map &templateMap() const;
> ^
>
> cc-1323 CC: ERROR File = kopeteprotocol.cpp, Line = 49
> No operator "=" matches these operands.
>
> The operand types are: Kopete::ContactPropertyTmpl = const
> Kopete::Global::ContactPropertyTmpl.
> d->mStickLastSeen = Kopete::Global::Properties::self()->lastSeen();
> ^
>
> cc-1323 CC: ERROR File = kopeteprotocol.cpp, Line = 50
> No operator "=" matches these operands.
>
> The operand types are: Kopete::ContactPropertyTmpl = const
> Kopete::Global::ContactPropertyTmpl.
> d->mStickFullName = Kopete::Global::Properties::self()->fullName();
> ^
>
> cc-1278 CC: ERROR File = kopeteprotocol.cpp, Line = 125
> No instance of overloaded function "KopeteContact::property" matches the
> argument list.
>
> The argument types are: (const Kopete::Global::ContactPropertyTmpl
> ).
> sd[ QString::fromLatin1( "displayName" ) ] = \
> c->property(Kopete::Global::Properties::self()->nickName()).value().toString(); ^
>
> Any idea on how to fix?
Ok, got around it with the attached patch.
Now I have the following problem building
kopete/libkopete/kopetepassword.cpp:
cc-1238 CC: ERROR File = kopetepassword.cpp, Line = 158
The member "Kopete::Password::d" is inaccessible.
if ( mPassword.d->remembered && !mPassword.d->passwordFromKConfig.isNull() )
^
cc-1238 CC: ERROR File = kopetepassword.cpp, Line = 158
The member "Kopete::Password::d" is inaccessible.
if ( mPassword.d->remembered && !mPassword.d->passwordFromKConfig.isNull() )
^
Any ideas?
--
albert chin (china@thewrittenword.com)
-- snip snip
--- kopete/libkopete/kopeteglobal.h.orig Sun Feb 13 11:20:37 2005
+++ kopete/libkopete/kopeteglobal.h Sun Feb 13 11:35:23 2005
@@ -53,7 +53,7 @@
**/
class Properties
{
- friend class ContactPropertyTmpl;
+ friend class Kopete::ContactPropertyTmpl;
public:
/**
* \brief Singleton accessor for this class.
@@ -130,7 +130,7 @@
/**
* @return a map of all registered ContactPropertyTmpl object
*/
- const ContactPropertyTmpl::Map &templateMap() const;
+ const Kopete::ContactPropertyTmpl::Map &templateMap() const;
/**
* return true if a template with key @p key is already registered,
> > 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