kdevelop-mercurial doesn't compile

Miller Henry MillerHenry at JohnDeere.com
Thu Aug 25 14:28:33 UTC 2011


I'd like to try your kdevelop-mercurial plugin, but I'm unable to compile the latest git.  Is it supposed to work with 4.2.3, only the master git, or is it sill broken the point that I shouldn't waste my time?  I'm willing to use get kdevelop (so long as I can find something somewhat stable) if I need to, but I don't want to waste too much time.

This is the error I'm seeing:

[ 10%] Building CXX object CMakeFiles/kdevmercurial.dir/mercurialplugin.o
In file included from /home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:26:
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:90: warning: 'virtual KDevelop::DVcsJob* KDevelop::DistributedVersionControlPlugin::switchBranch(const QString&, const QString&)' was hidden
/home/hm68841/kde/kdev-mercurial/mercurialplugin.h:143: warning:   by 'KDevelop::VcsJob* MercurialPlugin::switchBranch(const KUrl&, const QString&)'
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:93: warning: 'virtual KDevelop::DVcsJob* KDevelop::DistributedVersionControlPlugin::branch(const QString&, const QString&, const QString&, const QStringList&)' was hidden
/home/hm68841/kde/kdev-mercurial/mercurialplugin.h:138: warning:   by 'KDevelop::VcsJob* MercurialPlugin::branch(const KUrl&, const KDevelop::VcsRevision&, const QString&)'
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:100: warning: 'virtual QStringList KDevelop::DistributedVersionControlPlugin::branches(const QString&)' was hidden
/home/hm68841/kde/kdev-mercurial/mercurialplugin.h:139: warning:   by 'KDevelop::VcsJob* MercurialPlugin::branches(const KUrl&)'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:160: warning: unused parameter 'directory'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:284: warning: unused parameter 'files'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:284: warning: unused parameter 'recursion'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:586: warning: unused parameter 'rev'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:609: warning: unused parameter 'repository'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:609: warning: unused parameter 'branchName'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:614: warning: unused parameter 'repository'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:614: warning: unused parameter 'oldBranchName'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:614: warning: unused parameter 'newBranchName'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:704: warning: unused parameter 'repo'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:904: warning: unused parameter 'job'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:904: warning: unused parameter 'commits'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:1137: warning: unused parameter 'localLocation'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:1137: warning: unused parameter 'name'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:1137: warning: unused parameter 'message'
In file included from /home/hm68841/kdevelop4/include/KDE/KPluginFactory:1,
                 from /home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:36:
/home/hm68841/kdevelop4/include/KDE/../kpluginfactory.h: In static member function 'static QObject* KPluginFactory::createInstance(QWidget*, QObject*, const QVariantList&) [with impl = MercurialPlugin, ParentType = QObject]':
/home/hm68841/kdevelop4/include/KDE/../kpluginfactory.h:495:   instantiated from 'QObject* (* KPluginFactory::InheritanceChecker<impl>::createInstanceFunction(...))(QWidget*, QObject*, const QVariantList&) [with impl = MercurialPlugin]'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.cpp:57:   instantiated from here
/home/hm68841/kdevelop4/include/KDE/../kpluginfactory.h:477: error: cannot allocate an object of abstract type 'MercurialPlugin'
/home/hm68841/kde/kdev-mercurial/mercurialplugin.h:55: note:   because the following virtual functions are pure within 'MercurialPlugin':
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:90: note:    virtual KDevelop::DVcsJob* KDevelop::DistributedVersionControlPlugin::switchBranch(const QString&, const QString&)
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:93: note:    virtual KDevelop::DVcsJob* KDevelop::DistributedVersionControlPlugin::branch(const QString&, const QString&, const QString&, const QStringList&)
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:97: note:    virtual QString KDevelop::DistributedVersionControlPlugin::curBranch(const QString&)
/home/hm68841/kdevelop4/include/kdevplatform/vcs/dvcs/dvcsplugin.h:100: note:   virtual QStringList KDevelop::DistributedVersionControlPlugin::branches(const QString&)
make[2]: *** [CMakeFiles/kdevmercurial.dir/mercurialplugin.o] Error 1
make[1]: *** [CMakeFiles/kdevmercurial.dir/all] Error 2
make: *** [all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110825/40dd729d/attachment.html>


More information about the KDevelop-devel mailing list