kdevelop-php fails to build
Milian Wolff
mail at milianw.de
Mon Nov 15 12:31:24 UTC 2010
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/abst
> 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/abst
> 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/abst
> 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/99cca852996beb264253607a42e48506a1281fd9
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
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101115/c350491c/attachment.sig>
More information about the KDevelop-devel
mailing list