Re: [Osw-users] compile problems
Brought to you by:
peoplestank
From: smoerk <sm...@gm...> - 2004-05-20 20:32:29
|
I tried to update the cvs repository, but it didn't find any new files. I guess i have to wait some more hours until the anonymous cvs server is up to date. Amar wrote: > Checked in some fixes for binary operations on samples - initially developed > on Windows, and this morning checked in the fixes to make it compile under > gcc (Linux + OS X). It compiled OK under OS X as of this morning. Try > another fresh pull and let me know what happens. > > Thanks. > -Amar > > > > ----- Original Message ----- > From: "smoerk" <sm...@gm...> > To: <osw...@li...> > Sent: Thursday, May 20, 2004 9:37 AM > Subject: [Osw-users] compile problems > > > >>hello, >> >>i tried to compile a fresh cvs checkout. can you give me a hint what i >>am doing wrong? is there a library missing? >> >>thanks, >>oliver >> >>p.s.: is there a debian package available? >> >> >>poly880:/opt/cvs/osw/src/linux# make >>g++ -g -O2 -DOSW_EXT_HASH_MAP -I../include -I../generic -I. -I../types >>-I../sdif -I../osc -I/usr/include/tcl8.4 -O2 -D_OSWCORE -D_USING_TCL >>-march=pentium -march=i586 -DOSW_MAJOR_VERSION=1 -DOSW_MINOR_VERSION=2 >>-DOSW_SUB_VERSION=1 -D_REENTRANT -pthread -fstack-check >>-ftemplate-depth-64 -felide-constructors -Wno-sign-compare -Wno-reorder >>-c ../generic/oswBinop4.cpp >>../include/oswVect.h: In member function `T _pow<T>::operator()(const >>T&, const >> T&) const [with T = int]': >>../include/oswVect.h:525: instantiated from `typename >>InputVector1::value_type osw::binopvector<S, T, >>BinaryOperator>::operator[](unsigned int) const [with InputVector1 = >>osw::vector<int>, InputVector2 = osw::vector<int>, BinaryOperator = >>_pow<int>]' >>../include/oswBinop.h:181: instantiated from `void >>osw::DeclareBinop<Op, opnum>::eval(osw::BaseState&, osw::BaseState&, >>osw::BaseState&) const [with Op = osw::exponent<osw::vector<int>, >>osw::vector<int>, osw::vector<int> >, int opnum = 12]' >>../include/oswPatch.h:202: instantiated from here >>../include/oswVect.h:1193: error: call of overloaded `pow(const int&, > > const > >> int&)' is ambiguous >>/usr/include/bits/mathcalls.h:154: error: candidates are: double > > pow(double, > >> double) >>/usr/include/c++/3.3/cmath:486: error: float > > std::pow(float, > >> float) >>/usr/include/c++/3.3/cmath:495: error: long double >> std::pow(long double, long double) >>/usr/include/c++/3.3/cmath:504: error: double >>std::pow(double, >> int) >>/usr/include/c++/3.3/cmath:508: error: float > > std::pow(float, > >> int) >>/usr/include/c++/3.3/cmath:512: error: long double >> std::pow(long double, int) >>../include/oswVect.h: In member function `T _pow<T>::operator()(const >>T&, const >> T&) const [with T = short int]': >>../include/oswVect.h:525: instantiated from `typename >>InputVector1::value_type osw::binopvector<S, T, >>BinaryOperator>::operator[](unsigned int) const [with InputVector1 = >>osw::vector<short int>, InputVector2 = osw::vector<short int>, >>BinaryOperator = _pow<short int>]' >>../include/oswVect.h:280: instantiated from >>`osw::vector<T>::vector(const osw::binopvector<InputVector1, >>InputVector2, BinaryOperator>&) [with InputVector1 = osw::vector<short >>int>, InputVector2 = osw::vector<short int>, BinaryOperator = _pow<short >>int>, T = short int]' >>../include/oswBinop.h:312: instantiated from `Result osw::exponent<A1, >>A2, Result>::operator()(const A1&, const A2&) [with A1 = >>osw::vector<short int>, A2 = osw::vector<short int>, Result = >>osw::vector<short int>]' >>../include/oswBinop.h:470: instantiated from `void >>osw::DeclareBinop<Op, opnum>::eval(osw::BaseState&, osw::BaseState&, >>osw::BaseState&) const [with Op = osw::exponent<osw::vector<short int>, >>osw::vector<short int>, osw::vector<short int> >, int opnum = 12]' >>../include/oswPatch.h:202: instantiated from here >>../include/oswVect.h:1193: error: call of overloaded `pow(const short > > int&, > >> const short int&)' is ambiguous >>/usr/include/bits/mathcalls.h:154: error: candidates are: double > > pow(double, > >> double) >>/usr/include/c++/3.3/cmath:486: error: float > > std::pow(float, > >> float) >>/usr/include/c++/3.3/cmath:495: error: long double >> std::pow(long double, long double) >>/usr/include/c++/3.3/cmath:504: error: double >>std::pow(double, >> int) >>/usr/include/c++/3.3/cmath:508: error: float > > std::pow(float, > >> int) >>/usr/include/c++/3.3/cmath:512: error: long double >> std::pow(long double, int) >>make: *** [oswBinop4.o] Error 1 >>poly880:/opt/cvs/osw/src/linux# >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: Oracle 10g >>Get certified on the hottest thing ever to hit the market... Oracle 10g. >>Take an Oracle 10g class now, and we'll give you the exam FREE. >>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >>_______________________________________________ >>Osw-users mailing list >>Osw...@li... >>https://lists.sourceforge.net/lists/listinfo/osw-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Osw-users mailing list > Osw...@li... > https://lists.sourceforge.net/lists/listinfo/osw-users > |