[cfe-dev] ExceptionDemo build failed

Dawie Joubert djjoubert at csir.co.za
Fri Apr 8 00:12:32 PDT 2011


Dear LLVM Devs,

Recently when doing even a clean build the following error occurs:

/home/dawiejoubert/Source/SVN/Clang/llvm/examples/ExceptionDemo/ExceptionDemo.cpp: In function ‘void createStandardUtilityFunctions(unsigned int, llvm::Module&, llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >&)’:
/home/dawiejoubert/Source/SVN/Clang/llvm/examples/ExceptionDemo/ExceptionDemo.cpp:1666: error: call of overloaded ‘get(llvm::LLVMContext&, const llvm::IntegerType*, NULL)’ is ambiguous
/home/dawiejoubert/Source/SVN/Clang/llvm/include/llvm/DerivedTypes.h:246: note: candidates are: static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<const llvm::Type*>, bool)
/home/dawiejoubert/Source/SVN/Clang/llvm/include/llvm/DerivedTypes.h:260: note:                 static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, const llvm::Type*, ...)
/home/dawiejoubert/Source/SVN/Clang/llvm/examples/ExceptionDemo/ExceptionDemo.cpp:1671: error: call of overloaded ‘get(llvm::LLVMContext&, llvm::StructType*&, NULL)’ is ambiguous
/home/dawiejoubert/Source/SVN/Clang/llvm/include/llvm/DerivedTypes.h:246: note: candidates are: static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<const llvm::Type*>, bool)
/home/dawiejoubert/Source/SVN/Clang/llvm/include/llvm/DerivedTypes.h:260: note:                 static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, const llvm::Type*, ...)
/home/dawiejoubert/Source/SVN/Clang/llvm/examples/ExceptionDemo/ExceptionDemo.cpp:1679: error: call of overloaded ‘get(llvm::LLVMContext&, const llvm::IntegerType*, NULL)’ is ambiguous
/home/dawiejoubert/Source/SVN/Clang/llvm/include/llvm/DerivedTypes.h:246: note: candidates are: static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<const llvm::Type*>, bool)
/home/dawiejoubert/Source/SVN/Clang/llvm/include/llvm/DerivedTypes.h:260: note:                 static llvm::StructType* llvm::StructType::get(llvm::LLVMContext&, const llvm::Type*, ...)
make[2]: ***
[examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/ExceptionDemo.cpp.o] Error 1
make[1]: *** [examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/all]
Error 2
make: *** [all] Error 2


Best regards,

Dawie Joubert
Senior Researcher: Information Security, Modelling and Digital Science,
CSIR

Tel: +27 12 841 3379
Fax: +27 12 841 2456
Mobile: +27 84 589 2078
E-Mail: djjoubert at csir.co.za



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110408/2d46db02/attachment.sig>


More information about the cfe-dev mailing list