[cfe-dev] svn does not compile

Zhongxing Xu mymlreader at gmail.com
Mon Jul 14 01:16:49 PDT 2008


svn rev 53524

Compilation fails:

CGObjCEtoile.cpp: In member function 'virtual
llvm::Function*<unnamed>::CGObjCEtoile::MethodPreamble(const std::string&,
const std::string&, const std::string&, const llvm::Type*, const
llvm::Type*, const llvm::Type**, unsigned int, bool, bool)':
CGObjCEtoile.cpp:240: error: ambiguous overload for 'operator[]' in 'AI[0]'
CGObjCEtoile.cpp:240: note: candidates are: operator[](llvm::Argument*, int)
<built-in>
/home/xzx/llvm/include/llvm/ADT/ilist.h:98: note:                 void
llvm::ilist_iterator<NodeTy>::operator[](unsigned int) [with NodeTy =
llvm::Argument]
/home/xzx/llvm/include/llvm/ADT/ilist.h:99: note:                 void
llvm::ilist_iterator<NodeTy>::operator[](unsigned int) const [with NodeTy =
llvm::Argument]
CGObjCEtoile.cpp:241: error: ambiguous overload for 'operator[]' in 'AI[1]'
CGObjCEtoile.cpp:241: note: candidates are: operator[](llvm::Argument*, int)
<built-in>
/home/xzx/llvm/include/llvm/ADT/ilist.h:98: note:                 void
llvm::ilist_iterator<NodeTy>::operator[](unsigned int) [with NodeTy =
llvm::Argument]
/home/xzx/llvm/include/llvm/ADT/ilist.h:99: note:                 void
llvm::ilist_iterator<NodeTy>::operator[](unsigned int) const [with NodeTy =
llvm::Argument]
make[2]: *** [/home/xzx/llvm/tools/clang/lib/CodeGen/Debug/CGObjCEtoile.o]
Error 1
make[2]: Leaving directory `/home/xzx/llvm/tools/clang/lib/CodeGen'
make[1]: *** [CodeGen/.makeall] Error 2
make[1]: Leaving directory `/home/xzx/llvm/tools/clang/lib'
make: *** [all] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080714/6e724d1d/attachment.html>


More information about the cfe-dev mailing list