Nuvemem
;]
Haii Guys,
I got problem while i'm compiling my server.
If You know how to fix that, I will be glad and of course i'll rep u
thanks in advance.
edit;
it's debian 5.0.
on line 99,103 & 107 in usr/include/c++/4.3/cmath =
I got problem while i'm compiling my server.
Lua:
In file included from luascript.h:44,
from creatureevent.h:24,
from creatureevent.cpp:22:
position.h: In static member function 'static bool Position::areInRange(const Position&, const Position&)':
position.h:49: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double std::abs(long double)
position.h:49: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double std::abs(long double)
If You know how to fix that, I will be glad and of course i'll rep u
thanks in advance.
edit;
it's debian 5.0.
on line 99,103 & 107 in usr/include/c++/4.3/cmath =
Lua:
inline double
abs(double __x)
{ return __builtin_fabs(__x); }
inline float
abs(float __x)
{ return __builtin_fabsf(__x); }
inline long double
abs(long double __x)
{ return __builtin_fabsl(__x); }
Last edited: