kdevelop-php fails to build
Davide
netcelli.tux at gmail.com
Mon Nov 15 12:50:20 UTC 2010
On Monday 15 November 2010 13:31:24 Milian Wolff wrote:
> Andreas Pakulat, 15.11.2010:
> > On 14.11.10 17:00:09, Milian Wolff wrote:
> > > Davide, 14.11.2010:
> > > > kdevelop-php in branch master fails to build.
> > >
> > > did'nt I fix that yesterday? I thought so...
> >
> > No you didn't (just cloned php and updated platform) ;)
> >
> > /home/andreas/src/kdevelop-php/parser/php.g:196:3: warning: style of line
> > directive is a GCC extension
> > /home/andreas/src/kdevelop-php/duchain/builders/usebuilder.cpp: In member
> > function ‘virtual void
> > Php::UseBuilder::visitUnaryExpression(Php::UnaryExpressionAst*)’:
> > /home/andreas/src/kdevelop-php/duchain/builders/usebuilder.cpp:158:
> > error: no matching function for call to
> > ‘Php::UseBuilder::newUse(Php::UnaryExpressionAst*&,
> > KDevelop::Declaration*&)’
> > /home/andreas/kdevelop/include/kdevplatform/language/duchain/builders/abs
> > t ractusebuilder.h:86: note: candidates are: void
> > KDevelop::AbstractUseBuilder<T, NameT,
> > LanguageSpecificUseBuilderBase>::newUse(NameT*) [with T = Php::AstNode,
> > NameT = Php::IdentifierAst, LanguageSpecificUseBuilderBase =
> > Php::ContextBuilder]
> > /home/andreas/kdevelop/include/kdevplatform/language/duchain/builders/abs
> > t ractusebuilder.h:114: note: void
> > KDevelop::AbstractUseBuilder<T, NameT,
> > LanguageSpecificUseBuilderBase>::newUse(T*, const
> > KDevelop::DeclarationPointer&) [with T = Php::AstNode, NameT =
> > Php::IdentifierAst, LanguageSpecificUseBuilderBase = Php::ContextBuilder]
> > /home/andreas/kdevelop/include/kdevplatform/language/duchain/builders/abs
> > t ractusebuilder.h:125: note: void
> > KDevelop::AbstractUseBuilder<T, NameT,
> > LanguageSpecificUseBuilderBase>::newUse(T*, const
> > KDevelop::RangeInRevision&, const KDevelop::DeclarationPointer&) [with T
> > = Php::AstNode, NameT = Php::IdentifierAst,
> > LanguageSpecificUseBuilderBase = Php::ContextBuilder] make[2]: ***
> > [duchain/CMakeFiles/kdev4phpduchain.dir/builders/usebuilder.o] Error 1
> > make[1]: *** [duchain/CMakeFiles/kdev4phpduchain.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > Andreas
>
> this one should fix it I thought:
> http://gitorious.org/kdevelop/php/commit/99cca852996beb264253607a42e48506a1
> 281fd9
>
> look esp. at the changeset in usebuilder.cpp loc 140: dec is now a
> DeclarationPointer hence your error message is outdated.
>
> Gitorious bug giving you outdated sources?
>
> Bye
>>> Unpacking source...
Hello,
repository is cloned by including that commit:
* GIT update -->
* repository: git://gitorious.org/kdevelop/php.git
* at the commit: 99cca852996beb264253607a42e48506a1281fd9
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/kdevelop-php"
So I think it is not fixed.
More information about the KDevelop-devel
mailing list