Version: SVN (using KDE 4.3.1) Compiler: gcc 4.3.2 OS: Linux Installed from: SuSE RPMs The php-docs plugin from kdevelop4-extra-plugins won't compile as of today's kdevelop4, kdevplatform and php-docs SVN (2009-10-02). The error is: [ 10%] Building CXX object CMakeFiles/kdevphpdocs.dir/phpdocsplugin.cpp.o /0S/0tmp/DL-CVS/kdevelop4/kdevelop4-extra-plugins/php-docs/phpdocsplugin.cpp: In member function ‘virtual KSharedPtr<KDevelop::IDocumentation> PhpDocsPlugin::documentationForDeclaration(KDevelop::Declaration*)’: /0S/0tmp/DL-CVS/kdevelop4/kdevelop4-extra-plugins/php-docs/phpdocsplugin.cpp:155: error: cannot allocate an object of abstract type ‘PhpDocumentation’ /0S/0tmp/DL-CVS/kdevelop4/kdevelop4-extra-plugins/php-docs/phpdocumentation.h:35: note: because the following virtual functions are pure within ‘PhpDocumentation’: /usr/include/kdevplatform/interfaces/idocumentation.h:53: note: virtual KDevelop::IDocumentationProvider* KDevelop::IDocumentation::provider() /usr/include/KDE/../kpluginfactory.h: In static member function ‘static QObject* KPluginFactory::createInstance(QWidget*, QObject*, const QVariantList&) [with impl = PhpDocsPlugin, ParentType = QObject]’: /usr/include/KDE/../kpluginfactory.h:479: instantiated from ‘QObject* (* KPluginFactory::InheritanceChecker<impl>::createInstanceFunction(...))(QWidget*, QObject*, const QVariantList&) [with impl = PhpDocsPlugin]’ /0S/0tmp/DL-CVS/kdevelop4/kdevelop4-extra-plugins/php-docs/phpdocsplugin.cpp:49: instantiated from here /usr/include/KDE/../kpluginfactory.h:461: error: cannot allocate an object of abstract type ‘PhpDocsPlugin’ /0S/0tmp/DL-CVS/kdevelop4/kdevelop4-extra-plugins/php-docs/phpdocsplugin.h:28: note: because the following virtual functions are pure within ‘PhpDocsPlugin’: /usr/include/kdevplatform/interfaces/idocumentationprovider.h:45: note: virtual QAbstractListModel* KDevelop::IDocumentationProvider::indexModel() /usr/include/kdevplatform/interfaces/idocumentationprovider.h:48: note: virtual KSharedPtr<KDevelop::IDocumentation> KDevelop::IDocumentationProvider::documentationForIndex(const QModelIndex&) /usr/include/kdevplatform/interfaces/idocumentationprovider.h:51: note: virtual QIcon KDevelop::IDocumentationProvider::icon() const /usr/include/kdevplatform/interfaces/idocumentationprovider.h:54: note: virtual QString KDevelop::IDocumentationProvider::name() const make[2]: *** [CMakeFiles/kdevphpdocs.dir/phpdocsplugin.cpp.o] Error 1 make[1]: *** [CMakeFiles/kdevphpdocs.dir/all] Error 2 make: *** [all] Error 2 Thanks!
Yes, I know that. Don't use it for now. I'll have to get it working again some time, but there are other, more pressing, issues to solve first imo.
ok, compiles and works. please test :)
Compiles and seems to work. Thanks a lot!