Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile failure #1

Open
OvermindDL1 opened this issue Jun 17, 2011 · 1 comment
Open

Compile failure #1

OvermindDL1 opened this issue Jun 17, 2011 · 1 comment

Comments

@OvermindDL1
Copy link

Getting this when trying to compile the current head:
overminddl1@overmind:~/erlang/kdevelop-erlang/git/build$ make
Scanning dependencies of target kdev4erlangparser_automoc
[ 0%] Built target kdev4erlangparser_automoc
[ 3%] Generating erlangast.h, erlangparser.h, erlangparser.cpp, erlangvisitor.h, erlangvisitor.cpp, erlangdefaultvisitor.h, erlangdefaultvisitor.cpp, erlangtokentext.h
** WARNING found FIRST/FIRST conflict in tryClause:
Rule ``(atom1 COLON expr=expr | VARIABLE COLON expr=expr | expr=expr)''
Terminals [
VARIABLE,
ATOM_LITERAL
]

1 conflicts total: 0 FIRST/FOLLOW conflicts, 1 FIRST/FIRST conflicts.
Scanning dependencies of target kdev4erlangparser
[ 6%] Building CXX object parser/CMakeFiles/kdev4erlangparser.dir/kdev4erlangparser_automoc.o
[ 6%] Generating erlangast.h, erlangparser.h, erlangparser.cpp, erlangvisitor.h, erlangvisitor.cpp, erlangdefaultvisitor.h, erlangdefaultvisitor.cpp, erlangtokentext.h
** WARNING found FIRST/FIRST conflict in tryClause:
Rule ``(atom1 COLON expr=expr | VARIABLE COLON expr=expr | expr=expr)''
Terminals [
ATOM_LITERAL,
VARIABLE
]

1 conflicts total: 0 FIRST/FOLLOW conflicts, 1 FIRST/FIRST conflicts.
[ 9%] Building CXX object parser/CMakeFiles/kdev4erlangparser.dir/erlangparser.o
In file included from /home/overminddl1/erlang/kdevelop-erlang/git/build/parser/erlangparser.cpp:8:0:
/home/overminddl1/erlang/kdevelop-erlang/git/kdevelop-erlang/parser/erlang.g: In member function âvoid erlang::Parser::tokenize(const QString&, int)â:
/home/overminddl1/erlang/kdevelop-erlang/git/kdevelop-erlang/parser/erlang.g:573:9: warning: variable âlastDocCommentBeginâ set but not used [-Wunused-but-set-variable]
/home/overminddl1/erlang/kdevelop-erlang/git/kdevelop-erlang/parser/erlang.g:574:9: warning: variable âlastDocCommentEndâ set but not used [-Wunused-but-set-variable]
/home/overminddl1/erlang/kdevelop-erlang/git/kdevelop-erlang/parser/erlang.g: In member function âvoid erlang::Parser::reportProblem(erlang::Parser::ProblemType, const QString&)â:
/home/overminddl1/erlang/kdevelop-erlang/git/kdevelop-erlang/parser/erlang.g:634:114: error: no matching function for call to âKDevelop::DocumentRange::DocumentRange(QString&, KTextEditor::Range)â
/home/overminddl1/erlang/kdevelop-erlang/git/kdevelop-erlang/parser/erlang.g:634:114: note: candidates are:
/usr/include/kdevplatform/language/interfaces/../editor/documentrange.h:40:12: note: KDevelop::DocumentRange::DocumentRange(const KDevelop::IndexedString&, const KDevelop::SimpleRange&)
/usr/include/kdevplatform/language/interfaces/../editor/documentrange.h:40:12: note: no known conversion for argument 1 from âQStringâ to âconst KDevelop::IndexedString&â
/usr/include/kdevplatform/language/interfaces/../editor/documentrange.h:37:5: note: KDevelop::DocumentRange::DocumentRange()
/usr/include/kdevplatform/language/interfaces/../editor/documentrange.h:37:5: note: candidate expects 0 arguments, 2 provided
/usr/include/kdevplatform/language/interfaces/../editor/documentrange.h:34:35: note: KDevelop::DocumentRange::DocumentRange(const KDevelop::DocumentRange&)
/usr/include/kdevplatform/language/interfaces/../editor/documentrange.h:34:35: note: candidate expects 1 argument, 2 provided
make[2]: *** [parser/CMakeFiles/kdev4erlangparser.dir/erlangparser.o] Error 1
make[1]: *** [parser/CMakeFiles/kdev4erlangparser.dir/all] Error 2
make: *** [all] Error 2

As it says: no known conversion for argument 1 from âQStringâ to âconst KDevelop::IndexedString

@OvermindDL1
Copy link
Author

Do note, this is with Kubuntu 11.04 and the dev libraries installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant