Problem compiling kdelibs from trunk

David Faure faure at kde.org
Wed Jul 19 08:06:11 BST 2006


On Monday 17 July 2006 18:02, Dmitry Suzdalev wrote:
> Hi!
> 
> kdelibs' trunk doesn't compile for me both at work (gcc 4.0.2, Suse) and at 
> home (gcc 3.4.4, Gentoo).
> In both cases the same error appears:
> 
> /home/kde-devel/KDE-SVN/kdelibs/kdecore/knotifyclient.cpp:90: error: 'class 
> QDBusReply<void>' has no member named 'isValid'

> By looking at source (in qdbusreply.h) I can see that there's template 
> specialization - QDBusReply<void>, and, yes it has no member named isValid().
> But non-specialized version has.
No, they both have it.

$ grep isValid qdbusreply.h
    inline bool isValid() const { return !m_error.isValid(); }
    inline bool isValid() const { return !m_error.isValid(); }
$ svnurl
svn+ssh://dfaure@svn.kde.org/home/kde/trunk/qt-copy/tools/qdbus/src

> Who's wrong g++, code or me? ;)
Your Qt seems wrong; is qt-copy uptodate?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list