error while making the clang

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error while making the clang

Wei Li
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
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: error while making the clang

İsmail Dönmez
Please update, this is just fixed.

On Tue, Sep 21, 2010 at 4:52 PM, Wei Li <[hidden email]> 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
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev