<font size="2"><font face="tahoma,sans-serif">Please update, this is just fixed.<br></font></font><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 4:52 PM, Wei Li <span dir="ltr"><<a href="mailto:weili747@gmail.com">weili747@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear all:<br>
<br>
I just updated the files and trying to build it again. I am getting<br>
the following errors:<br>
<br>
<br>
RegAllocPBQP.cpp: In member function ‘virtual<br>
std::auto_ptr<llvm::PBQPRAProblem><br>
llvm::PBQPBuilderWithCoalescing::build(llvm::MachineFunction*, const<br>
llvm::LiveIntervals*, const llvm::MachineLoopInfo*, const<br>
std::set<unsigned int, std::less<unsigned int>,<br>
std::allocator<unsigned int> >&)’:<br>
RegAllocPBQP.cpp:296: error: call of overloaded ‘pow(float, unsigned<br>
int)’ is ambiguous<br>
/usr/include/bits/mathcalls.h:154: note: candidates are: double<br>
pow(double, double)<br>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:345:<br>
note: float std::pow(float, float)<br>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:349:<br>
note: long double std::pow(long double, long double)<br>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:353:<br>
note: double std::pow(double, int)<br>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:357:<br>
note: float std::pow(float, int)<br>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:361:<br>
note: long double std::pow(long double, int)<br>
make[2]: *** [/home/weili/DPCpp/llvm/lib/CodeGen/Debug+Asserts/RegAllocPBQP.o]<br>
Error 1<br>
make[2]: Leaving directory `/home/weili/DPCpp/llvm/lib/CodeGen'<br>
make[1]: *** [CodeGen/.makeall] Error 2<br>
make[1]: Leaving directory `/home/vadve/ammalik/DPCpp/llvm/lib'<br>
make: *** [all] Error 1<br>
<br>
Any comments?<br>
<br>
--<br>
Regards,<br>
<br>
Wei Li<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br>