[54/69] #1 c++ src/game/server/player.cpp g++ -fno-exceptions -Wall -O2 -c -DCONF_RELEASE -I "src" -I "src/engine/external/zlib" -o objs/game/server/player.o src/game/server/player.cpp In file included from src/game/gamecore.h:7, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/character.h:6, from src/game/server/player.h:7, from src/game/server/player.cpp:5: src/base/math.h:23:25: error: ‘int round(float)’ conflicts with a previous declaration 23 | inline int round(float f) | ^ In file included from /usr/include/c++/14/math.h:36, from src/base/vmath.h:6, from src/game/server/entity.h:7: /usr/include/c++/14/cmath:2687:3: note: previous declaration ‘constexpr float std::round(float)’ 2687 | round(float __x) | ^~~~~ In file included from src/game/gamecore.h:10: src/game/collision.h: In member function ‘bool CCollision::CheckPoint(float, float)’: src/game/collision.h:28:69: error: call of overloaded ‘round(float&)’ is ambiguous 28 | bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } | ~~~~~^~~ In file included from /usr/include/features.h:511, from /usr/include/c++/14/x86_64-suse-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-suse-linux/bits/c++config.h:2524, from /usr/include/c++/14/new:40, from src/game/server/player.cpp:3: /usr/include/bits/mathcalls.h:316:1: note: candidate: ‘double round(double)’ 316 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ /usr/include/c++/14/cmath:2691:3: note: candidate: ‘constexpr long double std::round(long double)’ 2691 | round(long double __x) | ^~~~~ /usr/include/c++/14/cmath:2687:3: note: candidate: ‘constexpr float std::round(float)’ 2687 | round(float __x) | ^~~~~ src/base/math.h:23:12: note: candidate: ‘int round(float)’ 23 | inline int round(float f) | ^~~~~ src/game/collision.h:28:79: error: call of overloaded ‘round(float&)’ is ambiguous 28 | bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } | ~~~~~^~~ /usr/include/bits/mathcalls.h:316:1: note: candidate: ‘double round(double)’ 316 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ /usr/include/c++/14/cmath:2691:3: note: candidate: ‘constexpr long double std::round(long double)’ 2691 | round(long double __x) | ^~~~~ /usr/include/c++/14/cmath:2687:3: note: candidate: ‘constexpr float std::round(float)’ 2687 | round(float __x) | ^~~~~ src/base/math.h:23:12: note: candidate: ‘int round(float)’ 23 | inline int round(float f) | ^~~~~ src/game/collision.h: In member function ‘int CCollision::GetCollisionAt(float, float)’: src/game/collision.h:30:68: error: call of overloaded ‘round(float&)’ is ambiguous 30 | int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } | ~~~~~^~~ /usr/include/bits/mathcalls.h:316:1: note: candidate: ‘double round(double)’ 316 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ /usr/include/c++/14/cmath:2691:3: note: candidate: ‘constexpr long double std::round(long double)’ 2691 | round(long double __x) | ^~~~~ /usr/include/c++/14/cmath:2687:3: note: candidate: ‘constexpr float std::round(float)’ 2687 | round(float __x) | ^~~~~ src/base/math.h:23:12: note: candidate: ‘int round(float)’ 23 | inline int round(float f) | ^~~~~ src/game/collision.h:30:78: error: call of overloaded ‘round(float&)’ is ambiguous 30 | int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } | ~~~~~^~~ /usr/include/bits/mathcalls.h:316:1: note: candidate: ‘double round(double)’ 316 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); | ^~~~~~~~~~~ /usr/include/c++/14/cmath:2691:3: note: candidate: ‘constexpr long double std::round(long double)’ 2691 | round(long double __x) | ^~~~~ /usr/include/c++/14/cmath:2687:3: note: candidate: ‘constexpr float std::round(float)’ 2687 | round(float __x) | ^~~~~ src/base/math.h:23:12: note: candidate: ‘int round(float)’ 23 | inline int round(float f) | ^~~~~ bam: ret=256 g++ -fno-exceptions -Wall -O2 -c -DCONF_RELEASE -I "src" -I "src/engine/external/zlib" -o objs/game/server/player.o src/game/server/player.cpp bam: 'objs/game/server/player.o' error 256