[cfe-dev] svn does not compile

David Chisnall csdavec at swansea.ac.uk
Mon Jul 14 01:48:34 PDT 2008


CGObjCEtoile.cpp is quite badly bit-rotted at this stage.  I would  
recommend deleting it from svn, and I will submit a new version soon.

David

On 14 Jul 2008, at 09:16, Zhongxing Xu wrote:

> 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
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list