[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337423: kdelibs4-dev: Ambigous overload for 'operator+' error in kresources/manager.h



Package: kdelibs4-dev
Version: 4:3.4.2-4
Severity: serious
Justification: no longer builds from source

When i try to build kopete from svn or using sources from apt-get source, it always failed with this error :

/usr/include/kde/kresources/manager.h: In member function 'QStringList KRES::Manager<T>::resourceTypeDescriptions() const': /usr/include/kde/kresources/manager.h:338: error: ambiguous overload for 'operator+' in '" (" + ((const KRES::Manager<T>*)this)->KRES::Manager<T>::mFactory->.KRES::Factory::typeDescription((* it))' /usr/share/qt3/include/qstring.h:1072: note: candidates are: const QString operator+(QChar, const QString&) <near match> /usr/share/qt3/include/qstring.h:1080: note: const QString operator+(char, const QString&) <near match>
make[2]: *** [addresseeitem.lo] Erreur 1
make[2]: Leaving directory `/home/xfacq/tmp/Dev/svndir/kdenetwork/kopete/libkopete/ui'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/xfacq/tmp/Dev/svndir/kdenetwork/kopete/libkopete'
make: *** [all-recursive] Erreur 1


I tried on Debian sid and etch.
My gcc version is : gcc (GCC) 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)

It seems to appears in sources that use KABC calls like :
KABC::Picture pic = mAddressee.photo();


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.6
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages kdelibs4-dev depends on:
ii kdelibs-bin 4:3.4.2-4 core binaries for all KDE applicat ii kdelibs4c2 4:3.4.2-4 core libraries for all KDE applica ii libart-2.0-dev 2.3.17-1 Library of functions for 2D graphi ii libarts1-dev 1.4.2-5 development files for the aRts sou
ii  libasound2-dev                1.0.9-3    ALSA library development files
ii libaspell-dev 0.60.4-1 Development files for applications ii libbz2-dev 1.0.2-10 high-quality block-sorting file co ii libcupsys2-dev 1.1.23-12 Common UNIX Printing System(tm) - ii libfam-dev 2.7.0-8 client library to control the FAM ii libidn11-dev 0.5.18-1 Development files GNU libidn, impl ii libjasper-1.701-dev 1.701.0-2 Development files for the JasPer J ii libkrb5-dev 1.3.6-5 Headers and development libraries ii libopenexr-dev 1.2.2-4 development files for the OpenEXR ii libpcre3-dev 6.4-1.0.1 Perl 5 Compatible Regular Expressi
ii  libqt3-mt-dev                 3:3.3.5-1  Qt development files (Threaded)
ii libsasl2-dev 2.1.19-1.6 Development files for authenticati ii libssl-dev 0.9.8a-3 SSL development libraries, header ii libtiff4-dev 3.7.4-1 Tag Image File Format library (TIF ii libxml2-dev 2.6.22-2 Development files for the GNOME XM
ii  libxml2-utils                 2.6.22-2   XML utilities
ii libxslt1-dev 1.1.15-1 XSLT processing library - developm

kdelibs4-dev recommends no packages.

-- no debconf information




Reply to: