[cfe-dev] error while making the clang

İsmail Dönmez ismail at namtrac.org
Tue Sep 21 06:55:41 PDT 2010


Please update, this is just fixed.

On Tue, Sep 21, 2010 at 4:52 PM, Wei Li <weili747 at gmail.com> wrote:

> Dear all:
>
> I just updated the files  and trying to build it again. I am getting
> the following errors:
>
>
> RegAllocPBQP.cpp: In member function ‘virtual
> std::auto_ptr<llvm::PBQPRAProblem>
> llvm::PBQPBuilderWithCoalescing::build(llvm::MachineFunction*, const
> llvm::LiveIntervals*, const llvm::MachineLoopInfo*, const
> std::set<unsigned int, std::less<unsigned int>,
> std::allocator<unsigned int> >&)’:
> RegAllocPBQP.cpp:296: error: call of overloaded ‘pow(float, unsigned
> int)’ is ambiguous
> /usr/include/bits/mathcalls.h:154: note: candidates are: double
> pow(double, double)
>
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:345:
> note:                 float std::pow(float, float)
>
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:349:
> note:                 long double std::pow(long double, long double)
>
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:353:
> note:                 double std::pow(double, int)
>
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:357:
> note:                 float std::pow(float, int)
>
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/cmath:361:
> note:                 long double std::pow(long double, int)
> make[2]: ***
> [/home/weili/DPCpp/llvm/lib/CodeGen/Debug+Asserts/RegAllocPBQP.o]
> Error 1
> make[2]: Leaving directory `/home/weili/DPCpp/llvm/lib/CodeGen'
> make[1]: *** [CodeGen/.makeall] Error 2
> make[1]: Leaving directory `/home/vadve/ammalik/DPCpp/llvm/lib'
> make: *** [all] Error 1
>
> Any comments?
>
> --
> Regards,
>
> Wei Li
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100921/b4fd109c/attachment.html>


More information about the cfe-dev mailing list