<86>Jan 26 01:03:28 userdel[29957]: delete user 'rooter' <86>Jan 26 01:03:28 userdel[29957]: removed group 'rooter' owned by 'rooter' <86>Jan 26 01:03:28 userdel[29957]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 01:03:28 groupadd[29962]: group added to /etc/group: name=rooter, GID=552 <86>Jan 26 01:03:28 groupadd[29962]: group added to /etc/gshadow: name=rooter <86>Jan 26 01:03:28 groupadd[29962]: new group: name=rooter, GID=552 <86>Jan 26 01:03:28 useradd[29966]: new user: name=rooter, UID=552, GID=552, home=/root, shell=/bin/bash <86>Jan 26 01:03:28 userdel[29973]: delete user 'builder' <86>Jan 26 01:03:28 userdel[29973]: removed group 'builder' owned by 'builder' <86>Jan 26 01:03:28 userdel[29973]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 01:03:28 groupadd[29978]: group added to /etc/group: name=builder, GID=553 <86>Jan 26 01:03:28 groupadd[29978]: group added to /etc/gshadow: name=builder <86>Jan 26 01:03:28 groupadd[29978]: new group: name=builder, GID=553 <86>Jan 26 01:03:28 useradd[29982]: new user: name=builder, UID=553, GID=553, home=/usr/src, shell=/bin/bash <13>Jan 26 01:03:33 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 01:03:33 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 01:03:33 rpmi: libwavpack-4.80.0-alt1 1469729671 installed <13>Jan 26 01:03:33 rpmi: libpnglite-0.1.17-alt3 1313060488 installed <13>Jan 26 01:03:33 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 01:03:33 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 01:03:33 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 01:03:33 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 01:03:33 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 01:03:33 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 01:03:33 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 01:03:33 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 01:03:33 rpmi: libwrap-1:7.6-alt11 1297041303 installed <13>Jan 26 01:03:33 rpmi: libsndfile-1.0.27-alt1 1479128605 installed <13>Jan 26 01:03:33 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 01:03:33 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 01:03:33 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 01:03:33 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 01:03:33 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 01:03:33 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jan 26 01:03:33 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 01:03:33 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 01:03:33 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 01:03:33 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 01:03:33 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 01:03:34 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 01:03:34 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 01:03:34 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 01:03:34 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 01:03:34 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 01:03:34 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 01:03:34 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 01:03:34 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 01:03:34 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 01:03:34 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 01:03:34 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Jan 26 01:03:34 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 01:03:34 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 01:03:35 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 01:03:35 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 01:03:35 rpmi: libGL-devel-4:13.0.3-alt1 1484223040 installed <13>Jan 26 01:03:35 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Jan 26 01:03:35 rpmi: libpulseaudio-10.0-alt1 1484840383 installed <13>Jan 26 01:03:35 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Jan 26 01:03:35 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 01:03:36 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 01:03:36 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 01:03:36 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 01:03:36 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 01:03:36 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <13>Jan 26 01:03:36 rpmi: python-modules-encodings-2.7.11-alt3 1460726037 installed <13>Jan 26 01:03:36 rpmi: python-modules-compiler-2.7.11-alt3 1460726037 installed <13>Jan 26 01:03:36 rpmi: python-modules-email-2.7.11-alt3 1460726037 installed <13>Jan 26 01:03:37 rpmi: python-modules-unittest-2.7.11-alt3 1460726037 installed <13>Jan 26 01:03:37 rpmi: python-modules-2.7.11-alt3 1460726037 installed <13>Jan 26 01:03:38 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 01:03:38 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Jan 26 01:03:39 rpmi: libfreetype-devel-2.6.3-alt1 1455987209 installed <13>Jan 26 01:03:39 rpmi: libpnglite-devel-0.1.17-alt3 1313060488 installed <13>Jan 26 01:03:39 rpmi: libwavpack-devel-4.80.0-alt1 1469729671 installed <13>Jan 26 01:03:39 rpmi: libalsa-devel-1:1.1.3-alt3 1482850950 installed <13>Jan 26 01:03:39 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Jan 26 01:03:39 rpmi: bam-0.4.0-alt2_10 1455582596 installed Installing teeworlds-0.6.1-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.5790 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf teeworlds-0.6.1 + echo 'Source #0 (teeworlds-0.6.1.tar):' Source #0 (teeworlds-0.6.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/teeworlds-0.6.1.tar + cd teeworlds-0.6.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.64860 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd teeworlds-0.6.1 + bam release auto configuration configuration: AUTO compiler gcc AUTO stackprotector yes AUTO zlib (in system path) AUTO pnglite (in system path) AUTO wavpack (in system path) AUTO sdl using sdl-config AUTO freetype using freetype-config notes: saved configuration to 'config.lua' [ 1/130] #1 c++ src/tools/tileset_borderfix.cpp [ 2/130] #1 c++ src/engine/shared/storage.cpp [ 3/130] #1 c++ src/engine/shared/snapshot.cpp [ 4/130] #1 c++ src/engine/shared/ringbuffer.cpp [ 5/130] #1 c++ src/engine/shared/packer.cpp [ 6/130] #1 c++ src/engine/shared/network_server.cpp [ 7/130] #1 c++ src/engine/shared/network_console_conn.cpp [ 8/130] #1 c++ src/engine/shared/network_console.cpp [ 9/130] #1 c++ src/engine/shared/network_conn.cpp [ 10/130] #1 c++ src/engine/shared/network_client.cpp [ 11/130] #1 c++ src/engine/shared/network.cpp [ 12/130] #1 c++ src/engine/shared/memheap.cpp [ 13/130] #1 c++ src/engine/shared/masterserver.cpp [ 14/130] #1 c++ src/engine/shared/mapchecker.cpp [ 15/130] #1 c++ src/engine/shared/map.cpp [ 16/130] #1 c++ src/engine/shared/linereader.cpp [ 17/130] #1 c++ src/engine/shared/kernel.cpp [ 18/130] #1 c++ src/engine/shared/jobs.cpp [ 19/130] #1 c++ src/engine/shared/huffman.cpp [ 20/130] #1 c++ src/engine/shared/filecollection.cpp [ 21/130] #1 c++ src/engine/shared/engine.cpp [ 22/130] #1 c++ src/engine/shared/econ.cpp [ 23/130] #1 c++ src/engine/shared/demo.cpp [ 24/130] #1 c++ src/engine/shared/datafile.cpp [ 25/130] #1 c++ src/engine/shared/console.cpp [ 26/130] #1 c++ src/engine/shared/config.cpp [ 27/130] #1 c++ src/engine/shared/compression.cpp [ 28/130] #1 c src/base/system.c [ 29/130] #1 link tileset_borderfix [ 30/130] #1 c++ src/tools/packetgen.cpp [ 31/130] #1 link packetgen [ 32/130] #1 c++ src/tools/map_version.cpp [ 33/130] #1 link map_version [ 34/130] #1 c++ src/tools/map_resave.cpp [ 35/130] #1 link map_resave [ 36/130] #1 c++ src/tools/fake_server.cpp [ 37/130] #1 link fake_server [ 38/130] #1 c++ src/tools/dilate.cpp [ 39/130] #1 link dilate [ 40/130] #1 c++ src/tools/crapnet.cpp src/tools/crapnet.cpp: In function 'void Run(int, NETADDR)': src/tools/crapnet.cpp:47:46: warning: narrowing conversion of 'Port' from 'int' to 'short unsigned int' inside { } [-Wnarrowing] NETADDR Src = {NETTYPE_IPV4, {0,0,0,0}, Port}; ^ [ 41/130] #1 link crapnet [ 42/130] #1 c++ src/mastersrv/mastersrv.cpp src/mastersrv/mastersrv.cpp: In function 'void BuildPackets()': src/mastersrv/mastersrv.cpp:123:106: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] static char IPV4Mapping[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF }; ^ src/mastersrv/mastersrv.cpp:123:106: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] bam: 'objs/mastersrv/mastersrv.o' error 256 [ 43/130] #1 c++ src/versionsrv/versionsrv.cpp [ 44/130] #1 link versionsrv [ 45/130] #1 c++ src/engine/server/server.cpp [ 46/130] #1 c++ src/engine/server/register.cpp [ 47/130] #1 c++ src/game/localization.cpp [ 48/130] #1 c++ src/game/layers.cpp [ 49/130] #1 network_header > src/game/generated/protocol.h [ 50/130] #1 c++ src/game/gamecore.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/gamecore.cpp:3: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/gamecore.cpp:3: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/gamecore.cpp:3: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/gamecore.cpp:3: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/gamecore.o' error 256 [ 51/130] #1 c++ src/game/collision.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/collision.cpp:5: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/collision.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/collision.cpp:5: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/collision.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/collision.o' error 256 [ 52/130] #1 cmd5 src/game/generated/nethash.cpp [ 53/130] #1 c++ src/game/generated/nethash.cpp [ 54/130] #1 network_source > src/game/generated/protocol.cpp [ 55/130] #1 c++ src/game/generated/protocol.cpp [ 56/130] #1 server_content_header > src/game/generated/server_data.h [ 57/130] #1 c++ src/game/server/player.cpp In file included from src/game/gamecore.h:7:0, 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: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/player.h:7, from src/game/server/player.cpp:5: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/player.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/player.h:7, from src/game/server/player.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/player.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/player.h:7, from src/game/server/player.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/player.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/player.h:7, from src/game/server/player.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/player.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/player.h:7, from src/game/server/player.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/player.o' error 256 [ 58/130] #1 c++ src/game/server/gameworld.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/server/gameworld.h:6, from src/game/server/gameworld.cpp:4: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gameworld.cpp:4: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/server/gameworld.h:6, from src/game/server/gameworld.cpp:4: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gameworld.cpp:4: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/server/gameworld.o' error 256 [ 59/130] #1 c++ src/game/server/gamemodes/tdm.cpp In file included from src/game/gamecore.h:7:0, 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/gamemodes/tdm.cpp:5: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/tdm.cpp:5: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/tdm.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/tdm.cpp:5: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/tdm.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/tdm.cpp:5: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/tdm.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/tdm.cpp:5: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/tdm.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/tdm.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/gamemodes/tdm.o' error 256 [ 60/130] #1 c++ src/game/server/gamemodes/mod.cpp [ 61/130] #1 c++ src/game/server/gamemodes/dm.cpp [ 62/130] #1 c++ src/game/server/gamemodes/ctf.cpp In file included from src/game/gamecore.h:7:0, 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/gamemodes/ctf.cpp:7: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/ctf.cpp:7: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/ctf.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/ctf.cpp:7: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/ctf.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/ctf.cpp:7: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/ctf.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, 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/gamemodes/ctf.cpp:7: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/character.h:6, from src/game/server/gamemodes/ctf.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, 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/gamemodes/ctf.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/gamemodes/ctf.o' error 256 [ 63/130] #1 c++ src/game/server/gamecontroller.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entities/pickup.h:6, from src/game/server/gamecontroller.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/gamecontroller.o' error 256 [ 64/130] #1 c++ src/game/server/gamecontext.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/gamecontext.cpp:8: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/server/gamecontext.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/gamecontext.cpp:8: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/server/gamecontext.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/server/gamecontext.o' error 256 [ 65/130] #1 c++ src/game/server/eventhandler.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/eventhandler.cpp:4: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/eventhandler.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/eventhandler.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/eventhandler.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/eventhandler.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/eventhandler.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/eventhandler.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/eventhandler.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/eventhandler.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/eventhandler.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/eventhandler.o' error 256 [ 66/130] #1 c++ src/game/server/entity.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ src/game/server/entity.cpp: In member function 'bool CEntity::GameLayerClipped(vec2)': src/game/server/entity.cpp:54:25: error: call of overloaded 'round(float&)' is ambiguous return round(CheckPos.x)/32 < -200 || round(CheckPos.x)/32 > GameServer()->Collision()->GetWidth()+200 || ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ src/game/server/entity.cpp:54:56: error: call of overloaded 'round(float&)' is ambiguous return round(CheckPos.x)/32 < -200 || round(CheckPos.x)/32 > GameServer()->Collision()->GetWidth()+200 || ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ src/game/server/entity.cpp:55:20: error: call of overloaded 'round(float&)' is ambiguous round(CheckPos.y)/32 < -200 || round(CheckPos.y)/32 > GameServer()->Collision()->GetHeight()+200 ? true : false; ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ src/game/server/entity.cpp:55:51: error: call of overloaded 'round(float&)' is ambiguous round(CheckPos.y)/32 < -200 || round(CheckPos.y)/32 > GameServer()->Collision()->GetHeight()+200 ? true : false; ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entity.h:6, from src/game/server/entity.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/entity.h:7, from src/game/server/entity.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/entity.h:8, from src/game/server/entity.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/entity.o' error 256 [ 67/130] #1 c++ src/game/server/entities/projectile.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/projectile.cpp:4: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/projectile.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/projectile.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/projectile.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/projectile.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/projectile.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/projectile.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/projectile.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/projectile.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/projectile.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/entities/projectile.o' error 256 [ 68/130] #1 c++ src/game/server/entities/pickup.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/pickup.cpp:4: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/pickup.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/pickup.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/pickup.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/pickup.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/pickup.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/pickup.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/pickup.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/pickup.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/pickup.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/entities/pickup.o' error 256 [ 69/130] #1 c++ src/game/server/entities/laser.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/laser.cpp:4: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/laser.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/laser.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/laser.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/laser.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/laser.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/laser.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/laser.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/laser.cpp:4: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/laser.cpp:4: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/entities/laser.o' error 256 [ 70/130] #1 c++ src/game/server/entities/flag.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/flag.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/flag.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/flag.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/flag.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/flag.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/flag.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/flag.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/server.h:5, from src/game/server/gamecontext.h:6, from src/game/server/entities/flag.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/flag.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/flag.cpp:3: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/entities/flag.o' error 256 [ 71/130] #1 c++ src/game/server/entities/character.cpp In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/character.cpp:5: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entities/character.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/character.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entities/character.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/character.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entities/character.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/character.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/new:39, from src/game/server/entities/character.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/server/gamecontroller.h:6, from src/game/server/gamecontext.h:14, from src/game/server/entities/character.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/server/gameworld.h:6, from src/game/server/gamecontext.h:15, from src/game/server/entities/character.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/server/entities/character.o' error 256 [ 72/130] #1 server_content_source > src/game/generated/server_data.cpp [ 73/130] #1 c++ src/game/generated/server_data.cpp [ 74/130] #1 c++ src/game/client/ui.cpp [ 75/130] #1 c++ src/game/client/render_map.cpp In file included from src/game/client/render_map.cpp:4:0: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/render_map.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ bam: 'objs/game/client/render_map.o' error 256 [ 76/130] #1 client_content_header > src/game/generated/client_data.h [ 77/130] #1 c++ src/game/client/render.cpp In file included from src/game/client/render.cpp:5:0: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/render.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ bam: 'objs/game/client/render.o' error 256 [ 78/130] #1 c++ src/game/client/lineinput.cpp [ 79/130] #1 c++ src/game/client/gameclient.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/gameclient.cpp:21: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/editor.h:5, from src/game/client/gameclient.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/gameclient.cpp:21: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/editor.h:5, from src/game/client/gameclient.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/gameclient.cpp:21: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/editor.h:5, from src/game/client/gameclient.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/gameclient.cpp:21: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/editor.h:5, from src/game/client/gameclient.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/gameclient.cpp:21: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/gameclient.cpp:23: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/gameclient.o' error 256 [ 80/130] #1 c++ src/game/client/components/voting.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/voting.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/voting.h:9, from src/game/client/components/voting.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/voting.o' error 256 [ 81/130] #1 c++ src/game/client/components/spectator.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/spectator.cpp:12: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/spectator.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/spectator.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/spectator.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/spectator.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/spectator.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/spectator.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/spectator.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/spectator.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/spectator.h:7, from src/game/client/components/spectator.cpp:14: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/spectator.o' error 256 [ 82/130] #1 c++ src/game/client/components/sounds.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/sounds.cpp:7: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/sounds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/sounds.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/sounds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/sounds.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/sounds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/sounds.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/sounds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/sounds.cpp:7: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/sounds.cpp:7: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/sounds.o' error 256 [ 83/130] #1 c++ src/game/client/components/skins.cpp In file included from src/game/client/components/skins.cpp:6:0: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/skins.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/skins.h:7, from src/game/client/components/skins.cpp:11: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/skins.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/skins.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/skins.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/skins.h:7, from src/game/client/components/skins.cpp:11: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/skins.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/skins.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/skins.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/skins.h:7, from src/game/client/components/skins.cpp:11: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/skins.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/skins.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/skins.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/skins.h:7, from src/game/client/components/skins.cpp:11: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/skins.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/skins.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/skins.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/skins.o' error 256 [ 84/130] #1 c++ src/game/client/components/scoreboard.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/scoreboard.cpp:13: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/scoreboard.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/scoreboard.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/scoreboard.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/scoreboard.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/scoreboard.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/scoreboard.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/scoreboard.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/scoreboard.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/scoreboard.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/scoreboard.o' error 256 [ 85/130] #1 c++ src/game/client/components/players.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/client/components/players.cpp:10: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/client/components/players.cpp:10: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/client/components/players.cpp:10: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/components/players.cpp:10: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/players.o' error 256 [ 86/130] #1 c++ src/game/client/components/particles.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/particles.cpp:8: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/particles.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/client/render.h:6, from src/game/client/components/particles.cpp:8: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/particles.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/particles.o' error 256 [ 87/130] #1 c++ src/game/client/components/nameplates.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/nameplates.cpp:8: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/textrender.h:5, from src/game/client/components/nameplates.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/nameplates.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/textrender.h:5, from src/game/client/components/nameplates.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/nameplates.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/textrender.h:5, from src/game/client/components/nameplates.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/nameplates.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/textrender.h:5, from src/game/client/components/nameplates.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/nameplates.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/nameplates.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/nameplates.o' error 256 [ 88/130] #1 c++ src/game/client/components/motd.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/motd.cpp:10: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/motd.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/motd.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/motd.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/motd.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/motd.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/motd.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/motd.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/motd.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/motd.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/motd.o' error 256 [ 89/130] #1 c++ src/game/client/components/menus_settings.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/sounds.h:5, from src/game/client/components/menus_settings.cpp:16: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/menus_settings.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/sounds.h:5, from src/game/client/components/menus_settings.cpp:16: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/menus_settings.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/menus_settings.o' error 256 [ 90/130] #1 c++ src/game/client/components/menus_ingame.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/menus_ingame.cpp:18: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/menus_ingame.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/client/gameclient.h:6, from src/game/client/components/menus_ingame.cpp:18: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/menus_ingame.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/menus_ingame.o' error 256 [ 91/130] #1 c++ src/game/client/components/menus_demo.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/menus_demo.cpp:12: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/menus_demo.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/client/render.h:6, from src/game/client/components/menus_demo.cpp:12: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/menus_demo.cpp:4:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/menus_demo.o' error 256 [ 92/130] #1 c++ src/game/client/components/menus_browser.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/menus_browser.cpp:16: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/menus_browser.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/menus_browser.cpp:16: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/menus_browser.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/menus_browser.cpp:16: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/menus_browser.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/menus_browser.cpp:16: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/menus_browser.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/client/components/menus_browser.cpp:16: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/countryflags.h:7, from src/game/client/components/menus_browser.cpp:18: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/menus_browser.o' error 256 [ 93/130] #1 c++ src/game/client/components/menus.cpp In file included from src/game/client/components/menus.cpp:6:0: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/menus.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/sounds.h:5, from src/game/client/components/menus.cpp:24: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/menus.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/menus.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/menus.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/sounds.h:5, from src/game/client/components/menus.cpp:24: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/menus.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/menus.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/menus.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/sounds.h:5, from src/game/client/components/menus.cpp:24: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/menus.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/menus.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/menus.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/sounds.h:5, from src/game/client/components/menus.cpp:24: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/menus.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/menus.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/client/components/menus.cpp:6:0: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/menus.o' error 256 [ 94/130] #1 c++ src/game/client/components/maplayers.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/maplayers.cpp:11: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/maplayers.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/maplayers.cpp:11: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/maplayers.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/maplayers.cpp:11: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/maplayers.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/maplayers.cpp:11: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/maplayers.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/maplayers.cpp:11: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/maplayers.cpp:11: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/maplayers.o' error 256 [ 95/130] #1 c++ src/game/client/components/mapimages.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/mapimages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/mapimages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/mapimages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/mapimages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/mapimages.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/mapimages.o' error 256 [ 96/130] #1 c++ src/game/client/components/killmessages.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/killmessages.cpp:8: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/killmessages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/killmessages.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/killmessages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/killmessages.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/killmessages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/killmessages.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/killmessages.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/killmessages.cpp:8: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/killmessages.cpp:8: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/killmessages.o' error 256 [ 97/130] #1 c++ src/game/client/components/items.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/client/components/items.cpp:8: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/client/components/items.cpp:8: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/client/components/items.cpp:8: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/components/items.cpp:8: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/items.o' error 256 [ 98/130] #1 c++ src/game/client/components/hud.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/hud.cpp:10: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/hud.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/hud.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/hud.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/hud.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/hud.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/hud.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/hud.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/hud.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/hud.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/hud.o' error 256 [ 99/130] #1 c++ src/game/client/components/flow.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/flow.h:5, from src/game/client/components/flow.cpp:6: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/flow.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/flow.h:5, from src/game/client/components/flow.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/flow.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/flow.h:5, from src/game/client/components/flow.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/flow.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/flow.h:5, from src/game/client/components/flow.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/flow.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/flow.h:5, from src/game/client/components/flow.cpp:6: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/flow.h:6, from src/game/client/components/flow.cpp:6: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/flow.o' error 256 [100/130] #1 c++ src/game/client/components/emoticon.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/client/components/emoticon.cpp:8: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/client/components/emoticon.cpp:8: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/client/components/emoticon.cpp:8: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/components/emoticon.cpp:8: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/emoticon.o' error 256 [101/130] #1 c++ src/game/client/components/effects.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/particles.h:5, from src/game/client/components/effects.cpp:10: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/effects.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/particles.h:5, from src/game/client/components/effects.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/effects.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/particles.h:5, from src/game/client/components/effects.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/effects.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/particles.h:5, from src/game/client/components/effects.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/demo.h:6, from src/game/client/components/effects.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/particles.h:5, from src/game/client/components/effects.cpp:10: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/particles.h:6, from src/game/client/components/effects.cpp:10: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/effects.o' error 256 [102/130] #1 c++ src/game/client/components/debughud.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/debughud.cpp:12: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/debughud.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/debughud.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/debughud.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/debughud.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/debughud.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/debughud.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/debughud.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/debughud.cpp:12: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/debughud.cpp:12: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/debughud.o' error 256 [103/130] #1 c++ src/game/client/components/damageind.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/client/components/damageind.cpp:7: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/client/components/damageind.cpp:7: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/client/components/damageind.cpp:7: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/components/damageind.cpp:7: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/damageind.o' error 256 [104/130] #1 c++ src/game/client/components/countryflags.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/components/countryflags.h:5, from src/game/client/components/countryflags.cpp:11: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/countryflags.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/client/components/countryflags.h:5, from src/game/client/components/countryflags.cpp:11: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/countryflags.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/countryflags.o' error 256 [105/130] #1 c++ src/game/client/components/controls.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/collision.h:6, from src/game/client/components/controls.cpp:7: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/controls.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/collision.h:6, from src/game/client/components/controls.cpp:7: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/controls.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/controls.o' error 256 [106/130] #1 c++ src/game/client/components/console.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/console.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/console.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/console.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/console.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/console.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/console.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/console.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cmath:41, from /usr/include/c++/6/math.h:36, from src/game/client/components/console.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/client/components/console.cpp:3: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/controls.h:6, from src/game/client/components/console.cpp:26: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/console.o' error 256 [107/130] #1 c++ src/game/client/components/chat.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/chat.cpp:13: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/chat.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/chat.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/chat.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/chat.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/chat.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/chat.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/engine.h:6, from src/game/client/components/chat.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/chat.cpp:13: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/chat.cpp:13: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/chat.o' error 256 [108/130] #1 c++ src/game/client/components/camera.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/collision.h:6, from src/game/client/components/camera.cpp:6: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/client/components/camera.cpp:5:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/collision.h:6, from src/game/client/components/camera.cpp:6: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/client/components/camera.cpp:5:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/client/components/camera.o' error 256 [109/130] #1 c++ src/game/client/components/broadcast.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/broadcast.cpp:9: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/broadcast.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/broadcast.cpp:9: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/broadcast.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/broadcast.cpp:9: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/broadcast.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/broadcast.cpp:9: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/graphics.h:6, from src/game/client/components/broadcast.cpp:4: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/components/broadcast.cpp:9: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/components/broadcast.cpp:9: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/broadcast.o' error 256 [110/130] #1 c++ src/game/client/components/binds.cpp In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/game/collision.h: In member function 'bool CCollision::CheckPoint(float, float)': src/game/collision.h:28:64: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/binds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/game/collision.h:28:74: error: call of overloaded 'round(float&)' is ambiguous bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/binds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/game/collision.h: In member function 'int CCollision::GetCollisionAt(float, float)': src/game/collision.h:30:63: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/binds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:10:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/game/collision.h:30:73: error: call of overloaded 'round(float&)' is ambiguous int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } ^ In file included from /usr/include/features.h:368:0, from /usr/include/endian.h:21, from src/base/detect.h:84, from src/base/system.h:11, from src/engine/kernel.h:6, from src/engine/config.h:6, from src/game/client/components/binds.cpp:3: /usr/include/bits/mathcalls.h:326:1: note: candidate: double round(double) __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^ In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/gameclient.h:6, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: /usr/include/c++/6/cmath:1794:3: note: candidate: constexpr long double std::round(long double) round(long double __x) ^~~~~ /usr/include/c++/6/cmath:1790:3: note: candidate: constexpr float std::round(float) round(float __x) ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/client/gameclient.h:10, from src/game/client/component.h:7, from src/game/client/components/binds.h:5, from src/game/client/components/binds.cpp:5: src/base/math.h:23:12: note: candidate: int round(float) inline int round(float f) ^~~~~ bam: 'objs/game/client/components/binds.o' error 256 [111/130] #1 c++ src/game/client/animstate.cpp [112/130] #1 client_content_source > src/game/generated/client_data.cpp [113/130] #1 c++ src/game/generated/client_data.cpp [114/130] #1 c++ src/engine/client/text.cpp src/engine/client/text.cpp: In member function 'int CTextRender::RenderGlyph(CFont*, CFontSizeData*, int)': src/engine/client/text.cpp:334:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(py = 0; py < pBitmap->rows; py++) // ignore_convention ~~~^~~~~~~~~~~~~~~ src/engine/client/text.cpp:335:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(px = 0; px < pBitmap->width; px++) // ignore_convention ~~~^~~~~~~~~~~~~~~~ src/engine/client/text.cpp:340:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(py = 0; py < pBitmap->rows; py++) // ignore_convention ~~~^~~~~~~~~~~~~~~ src/engine/client/text.cpp:341:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(px = 0; px < pBitmap->width; px++) // ignore_convention ~~~^~~~~~~~~~~~~~~~ [115/130] #1 c++ src/engine/client/sound.cpp [116/130] #1 c++ src/engine/client/serverbrowser.cpp [117/130] #1 c++ src/engine/client/input.cpp [118/130] #1 c++ src/engine/client/graphics.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/engine/client/graphics.cpp:31: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/engine/client/graphics.cpp:5:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/engine/client/graphics.cpp:31:0: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/engine/client/graphics.cpp:5:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/engine/client/graphics.o' error 256 [119/130] #1 c++ src/engine/client/friends.cpp [120/130] #1 c++ src/engine/client/client.cpp src/engine/client/client.cpp: In member function 'void CClient::ProcessConnlessPacket(CNetChunk*)': src/engine/client/client.cpp:920:105: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] static char IPV4Mapping[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF }; ^ src/engine/client/client.cpp:920:105: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] bam: 'objs/engine/client/client.o' error 256 [121/130] #1 c++ src/game/editor/popups.cpp In file included from src/game/editor/editor.h:8:0, from src/game/editor/popups.cpp:12: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/editor/editor.h:6, from src/game/editor/popups.cpp:12: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ bam: 'objs/game/editor/popups.o' error 256 [122/130] #1 c++ src/game/editor/layer_tiles.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/base/vmath.h:6, from src/game/client/render.h:6, from src/game/editor/layer_tiles.cpp:10: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/editor/layer_tiles.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/base/vmath.h:6:0, from src/game/client/render.h:6, from src/game/editor/layer_tiles.cpp:10: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/editor/layer_tiles.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/editor/layer_tiles.o' error 256 [123/130] #1 c++ src/game/editor/layer_quads.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/editor/editor.h:6, from src/game/editor/layer_quads.cpp:8: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/editor/layer_quads.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/editor/editor.h:6:0, from src/game/editor/layer_quads.cpp:8: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/editor/layer_quads.cpp:3:0: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/editor/layer_quads.o' error 256 [124/130] #1 c++ src/game/editor/layer_game.cpp In file included from src/game/editor/editor.h:8:0, from src/game/editor/layer_game.cpp:3: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/editor/editor.h:6, from src/game/editor/layer_game.cpp:3: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ bam: 'objs/game/editor/layer_game.o' error 256 [125/130] #1 c++ src/game/editor/io.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/editor/io.cpp:8: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/editor/io.cpp:8: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/editor/io.cpp:8: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/editor/io.cpp:8: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/editor/io.o' error 256 [126/130] #1 c++ src/game/editor/editor.cpp In file included from /usr/include/c++/6/math.h:36:0, from src/game/gamecore.h:9, from src/game/editor/editor.cpp:16: /usr/include/c++/6/cmath: In function 'constexpr float std::round(float)': /usr/include/c++/6/cmath:1790:18: error: 'constexpr float std::round(float)' conflicts with a previous declaration round(float __x) ^ In file included from src/game/gamecore.h:7:0, from src/game/editor/editor.cpp:16: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ In file included from src/game/gamecore.h:9:0, from src/game/editor/editor.cpp:16: /usr/include/c++/6/math.h: At global scope: /usr/include/c++/6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration using std::round; ^~~~~ In file included from src/game/gamecore.h:7:0, from src/game/editor/editor.cpp:16: src/base/math.h:23:12: note: previous declaration 'int round(float)' inline int round(float f) ^~~~~ bam: 'objs/game/editor/editor.o' error 256 [127/130] #1 c++ src/game/editor/auto_map.cpp In file included from src/game/editor/editor.h:8:0, from src/game/editor/auto_map.cpp:8: src/base/math.h: In function 'int round(float)': src/base/math.h:23:25: error: 'int round(float)' conflicts with a previous declaration inline int round(float f) ^ In file included from /usr/include/c++/6/math.h:36:0, from src/game/editor/editor.h:6, from src/game/editor/auto_map.cpp:8: /usr/include/c++/6/cmath:1790:3: note: previous declaration 'constexpr float std::round(float)' round(float __x) ^~~~~ bam: 'objs/game/editor/auto_map.o' error 256 bam: error: a build step failed error: Bad exit status from /usr/src/tmp/rpm-tmp.64860 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.64860 (%build) Command exited with non-zero status 1 19.93user 2.49system 0:22.44elapsed 99%CPU (0avgtext+0avgdata 38328maxresident)k 0inputs+0outputs (0major+502831minor)pagefaults 0swaps hsh-rebuild: rebuild of `teeworlds-0.6.1-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 44.45user 8.34system 0:52.40elapsed 100%CPU (0avgtext+0avgdata 134160maxresident)k 448inputs+0outputs (0major+867182minor)pagefaults 0swaps