[cfe-dev] Error while compiling clang 2.9 on linux

Diptansu Das diptansu at gmail.com
Thu Apr 14 10:23:16 PDT 2011


error is :


llvm-2.9/tools/clang/lib/AST/Expr.cpp:111: note:
clang::SourceLocation <unnamed>::getExprLocImpl(const clang::Expr*,
clang::SourceLocation (clang::Expr::*)() const) [with E =
clang::StringLiteral]
<path to src>/llvm-build/tools/clang/lib/AST/../../include/clang/AST/StmtNodes.inc:551:
error: call of overloaded `getExprLocImpl(const clang::Expr* const,
clang::SourceLocation (clang::Expr::*)() const)' is ambiguous
/< path to src >/llvm-2.9/tools/clang/lib/AST/Expr.cpp:101: note:
candidates are: clang::SourceLocation <unnamed>::getExprLocImpl(const
clang::Expr*, clang::SourceLocation (T::*)() const) [with E =
clang::SubstNonTypeTemplateParmPackExpr, T = clang::Expr]


Anyone know why this happened ?

Thanks



More information about the cfe-dev mailing list