<div dir="ltr"><div><div><div>Download code from <a href="http://llvm.org/releases/download.html#3.4">http://llvm.org/releases/download.html#3.4</a><br><br></div>and did <br>../llvm/configure --enable-optimized --enable-assertions=no --enable-werror=yes --enable-targets=x86_64<br>
<br></div>and compilation breaks at following place, <br><br></div>This will not be there if <br>.--enable-werror is removed as expected, Just informing in case some body want to fix<br><div><div><div><br clear="all">llvm[2]: Compiling CostModel.cpp for Release build<br>
cc1plus: warnings being treated as errors<br>/home/deleisha/CodeSpace/llvmDev/llvm/lib/Analysis/CostModel.cpp: In function âbool matchPairwiseReductionAtLevel(const llvm::BinaryOperator*, unsigned int, unsigned int)â:<br>
/home/deleisha/CodeSpace/llvmDev/llvm/lib/Analysis/CostModel.cpp:208: error: comparison between signed and unsigned integer expressions<br>/home/deleisha/CodeSpace/llvmDev/llvm/lib/Analysis/CostModel.cpp: In function âbool matchVectorSplittingReduction(const llvm::ExtractElementInst*, unsigned int&, llvm::Type*&)â:<br>
/home/deleisha/CodeSpace/llvmDev/llvm/lib/Analysis/CostModel.cpp:335: error: comparison between signed and unsigned integer expressions<br>make[2]: *** [/home/deleisha/CodeSpace/llvmDev/build/lib/Analysis/Release/CostModel.o] Error 1<br>
make[2]: Leaving directory `/home/deleisha/CodeSpace/llvmDev/build/lib/Analysis'<br>make[1]: *** [Analysis/.makeall] Error 2<br>make[1]: Leaving directory `/home/deleisha/CodeSpace/llvmDev/build/lib'<br>make: *** [all] Error 1<br>
[root@localhost build]#<br><br>-- <br><div dir="ltr"><div>Warm Regards<br>--Dev<br>OpenPegasus Developer/Committer<br><br><span>"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
<br>--- Martin Fowler</span>
<img src="http://cache-www.coderanch.com/templates/default/images/spacer.gif" alt="" width="1" height="1"><br></div></div>
</div></div></div></div>