Code: Select all
g++ -o build/rts/Lua/LuaSyncedCtrl.o -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=387 -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=387 -pthread -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DSTREFLOP_X87 -DSYNCCHECK -DNO_AVI -DDIRECT_CONTROL_ALLOWED -Irts -Irts/System -Irts/lib/luabind -Irts/lib/lua/include -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/include/python2.5 -I/usr/include/python2.4 -I/usr/lib64/jvm/sun-jdk-1.6/include -I/usr/lib64/jvm/sun-jdk-1.6/include/linux rts/Lua/LuaSyncedCtrl.cpp
In file included from rts/Lua/LuaSyncedCtrl.cpp:55:
rts/System/myMath.h: In function 'shortint2 GetHAndPFromVector(const float3&)':
rts/System/myMath.h:89: error: call of overloaded 'asin(const float&)' is ambiguous
/usr/include/bits/mathcalls.h:57: note: candidates are: double asin(double)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/include/g++-v4/cmath:123: note: long double std::asin(long double)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/include/g++-v4/cmath:119: note: float std::asin(float)
rts/lib/streflop/SMath.h:528: note: streflop::Extended streflop::asin(streflop::Extended)
rts/lib/streflop/SMath.h:420: note: streflop::Double streflop::asin(streflop::Double)
rts/lib/streflop/SMath.h:230: note: streflop::Simple streflop::asin(streflop::Simple)
rts/Lua/LuaSyncedCtrl.cpp: In static member function 'static int LuaSyncedCtrl::SetUnitCloak(lua_State*)':
rts/Lua/LuaSyncedCtrl.cpp:1226: error: call of overloaded 'fabsf(const float&)' is ambiguous
/usr/include/bits/mathcalls.h:182: note: candidates are: float fabsf(float)
rts/lib/streflop/SMath.h:353: note: streflop::Simple streflop::fabsf(streflop::Simple)
scons: *** [build/rts/Lua/LuaSyncedCtrl.o] Error 1
scons: building terminated because of errors.
ERROR: games-strategy/spring-0.76_p1-r2 failed.