Bug 209230 - php-docs plugin won't compile
Summary: php-docs plugin won't compile
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 17:52 UTC by Alexander
Modified: 2009-11-01 17:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2009-10-02 17:52:21 UTC
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!
Comment 1 Milian Wolff 2009-10-02 17:55:55 UTC
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.
Comment 2 Milian Wolff 2009-10-31 20:20:10 UTC
ok, compiles and works. please test :)
Comment 3 Alexander 2009-11-01 17:37:08 UTC
Compiles and seems to work.

Thanks a lot!