Facebook
From Scribby Teal, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 259
  1. ./build.sh
  2. TheForgottenServer build script -
  3. Using ccache
  4. CCache binaries located in /usr/lib/ccache
  5.  
  6. Start building on 10 cores, using 11 processes
  7.  
  8. make  all-am
  9. make[1]: Entering directory '/home/funtera/tmp'
  10.   CXX      actions.o
  11.   CXX      baseevents.o
  12.   CXX      beds.o
  13.   CXX      chat.o
  14.   CXX      combat.o
  15.   CXX      condition.o
  16.   CXX      configmanager.o
  17.   CXX      connection.o
  18.   CXX      container.o
  19.   CXX      creature.o
  20.   CXX      creatureevent.o
  21. In file included from map.h:20,
  22.                  from creature.h:28,
  23.                  from protocolgame.h:25,
  24.                  from connection.cpp:22:
  25. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  26.   124 | int32_t round(float v);
  27.       |                      ^
  28. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  29.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  30.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  31.                  from /usr/include/boost/container_hash/hash.hpp:21,
  32.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  33.                  from /usr/include/boost/type_index.hpp:29,
  34.                  from /usr/include/boost/function/function_base.hpp:21,
  35.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  36.                  from /usr/include/boost/function.hpp:30,
  37.                  from otpch.h:35,
  38.                  from connection.cpp:18:
  39. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  40.  1756 |   round(float __x)
  41.       |   ^~~~~
  42. connection.cpp: In member function ‘void Connection::accept()’:
  43. connection.cpp:323:82: error: no matching function for call to ‘boost::posix_time::seconds::seconds(Connection::<unnamed enum>)’
  44.   323 |   m_readTimer.expires_from_now(boost::posix_time::seconds(Connection::readTimeout));
  45.       |                                                                                  ^
  46. In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
  47.                  from /usr/include/boost/asio/time_traits.hpp:23,
  48.                  from /usr/include/boost/asio/basic_deadline_timer.hpp:28,
  49.                  from /usr/include/boost/asio.hpp:24,
  50.                  from otsystem.h:33,
  51.                  from inputbox.h:20,
  52.                  from otpch.h:45,
  53.                  from connection.cpp:18:
  54. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
  55.    57 |       explicit seconds(T const& s,
  56.       |                ^~~~~~~
  57. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
  58. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
  59. connection.cpp:323:82:   required from here
  60. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
  61. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
  62.    53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
  63.       |                              ^~~~~~~
  64. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
  65. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
  66. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
  67. connection.cpp: In member function ‘void Connection::parseHeader(const boost::system::error_code&)’:
  68. connection.cpp:363:82: error: no matching function for call to ‘boost::posix_time::seconds::seconds(Connection::<unnamed enum>)’
  69.   363 |   m_readTimer.expires_from_now(boost::posix_time::seconds(Connection::readTimeout));
  70.       |                                                                                  ^
  71. In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
  72.                  from /usr/include/boost/asio/time_traits.hpp:23,
  73.                  from /usr/include/boost/asio/basic_deadline_timer.hpp:28,
  74.                  from /usr/include/boost/asio.hpp:24,
  75.                  from otsystem.h:33,
  76.                  from inputbox.h:20,
  77.                  from otpch.h:45,
  78.                  from connection.cpp:18:
  79. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
  80.    57 |       explicit seconds(T const& s,
  81.       |                ^~~~~~~
  82. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
  83. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
  84. connection.cpp:363:82:   required from here
  85. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
  86. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
  87.    53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
  88.       |                              ^~~~~~~
  89. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
  90. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
  91. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
  92. connection.cpp: In member function ‘void Connection::parsePacket(const boost::system::error_code&)’:
  93. connection.cpp:439:82: error: no matching function for call to ‘boost::posix_time::seconds::seconds(Connection::<unnamed enum>)’
  94.   439 |   m_readTimer.expires_from_now(boost::posix_time::seconds(Connection::readTimeout));
  95.       |                                                                                  ^
  96. In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
  97.                  from /usr/include/boost/asio/time_traits.hpp:23,
  98.                  from /usr/include/boost/asio/basic_deadline_timer.hpp:28,
  99.                  from /usr/include/boost/asio.hpp:24,
  100.                  from otsystem.h:33,
  101.                  from inputbox.h:20,
  102.                  from otpch.h:45,
  103.                  from connection.cpp:18:
  104. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
  105.    57 |       explicit seconds(T const& s,
  106.       |                ^~~~~~~
  107. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
  108. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
  109. connection.cpp:439:82:   required from here
  110. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
  111. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
  112.    53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
  113.       |                              ^~~~~~~
  114. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
  115. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
  116. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
  117. connection.cpp: In member function ‘void Connection::internalSend(OutputMessage_ptr)’:
  118. connection.cpp:507:84: error: no matching function for call to ‘boost::posix_time::seconds::seconds(Connection::<unnamed enum>)’
  119.   507 |   m_writeTimer.expires_from_now(boost::posix_time::seconds(Connection::writeTimeout));
  120.       |                                                                                    ^
  121. In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:16,
  122.                  from /usr/include/boost/asio/time_traits.hpp:23,
  123.                  from /usr/include/boost/asio/basic_deadline_timer.hpp:28,
  124.                  from /usr/include/boost/asio.hpp:24,
  125.                  from otsystem.h:33,
  126.                  from inputbox.h:20,
  127.                  from otpch.h:45,
  128.                  from connection.cpp:18:
  129. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note: candidate: ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*)’
  130.    57 |       explicit seconds(T const& s,
  131.       |                ^~~~~~~
  132. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: note:   template argument deduction/substitution failed:
  133. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp: In substitution of ‘template<class T> boost::posix_time::seconds::seconds(const T&, typename boost::enable_if<boost::is_integral<T>, void>::type*) [with T = Connection::<unnamed enum>]’:
  134. connection.cpp:507:84:   required from here
  135. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:57:16: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<Connection::<unnamed enum> >, void>’
  136. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(const boost::posix_time::seconds&)’
  137.    53 |   class BOOST_SYMBOL_VISIBLE seconds : public time_duration
  138.       |                              ^~~~~~~
  139. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘const boost::posix_time::seconds&’
  140. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note: candidate: ‘boost::posix_time::seconds::seconds(boost::posix_time::seconds&&)’
  141. /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:53:30: note:   no known conversion for argument 1 from ‘Connection::<unnamed enum>’ to ‘boost::posix_time::seconds&&’
  142. make[1]: *** [Makefile:598: connection.o] Error 1
  143. make[1]: *** Waiting for unfinished jobs....
  144. In file included from baseevents.cpp:21:
  145. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  146.   124 | int32_t round(float v);
  147.       |                      ^
  148. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  149.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  150.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  151.                  from /usr/include/boost/container_hash/hash.hpp:21,
  152.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  153.                  from /usr/include/boost/type_index.hpp:29,
  154.                  from /usr/include/boost/function/function_base.hpp:21,
  155.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  156.                  from /usr/include/boost/function.hpp:30,
  157.                  from otpch.h:35,
  158.                  from baseevents.cpp:17:
  159. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  160.  1756 |   round(float __x)
  161.       |   ^~~~~
  162. make[1]: *** [Makefile:598: baseevents.o] Error 1
  163. In file included from raids.h:28,
  164.                  from item.h:29,
  165.                  from tile.h:23,
  166.                  from housetile.h:20,
  167.                  from house.h:30,
  168.                  from configmanager.cpp:21:
  169. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  170.   124 | int32_t round(float v);
  171.       |                      ^
  172. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  173.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  174.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  175.                  from /usr/include/boost/container_hash/hash.hpp:21,
  176.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  177.                  from /usr/include/boost/type_index.hpp:29,
  178.                  from /usr/include/boost/function/function_base.hpp:21,
  179.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  180.                  from /usr/include/boost/function.hpp:30,
  181.                  from otpch.h:35,
  182.                  from configmanager.cpp:17:
  183. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  184.  1756 |   round(float __x)
  185.       |   ^~~~~
  186. make[1]: *** [Makefile:598: configmanager.o] Error 1
  187. In file included from raids.h:28,
  188.                  from item.h:29,
  189.                  from tile.h:23,
  190.                  from creatureevent.h:23,
  191.                  from creatureevent.cpp:22:
  192. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  193.   124 | int32_t round(float v);
  194.       |                      ^
  195. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  196.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  197.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  198.                  from /usr/include/boost/container_hash/hash.hpp:21,
  199.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  200.                  from /usr/include/boost/type_index.hpp:29,
  201.                  from /usr/include/boost/function/function_base.hpp:21,
  202.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  203.                  from /usr/include/boost/function.hpp:30,
  204.                  from otpch.h:35,
  205.                  from creatureevent.cpp:17:
  206. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  207.  1756 |   round(float __x)
  208.       |   ^~~~~
  209. make[1]: *** [Makefile:598: creatureevent.o] Error 1
  210. In file included from map.h:20,
  211.                  from combat.h:24,
  212.                  from combat.cpp:20:
  213. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  214.   124 | int32_t round(float v);
  215.       |                      ^
  216. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  217.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  218.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  219.                  from /usr/include/boost/container_hash/hash.hpp:21,
  220.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  221.                  from /usr/include/boost/type_index.hpp:29,
  222.                  from /usr/include/boost/function/function_base.hpp:21,
  223.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  224.                  from /usr/include/boost/function.hpp:30,
  225.                  from otpch.h:35,
  226.                  from combat.cpp:17:
  227. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  228.  1756 |   round(float __x)
  229.       |   ^~~~~
  230. combat.cpp: In member function ‘void CombatArea::copyArea(const MatrixArea*, MatrixArea*, CombatArea::MatrixOperation_t) const’:
  231. combat.cpp:1217:42: error: call of overloaded ‘round(float)’ is ambiguous
  232.  1217 |      rotatedX = round(newX * a + newY * b),
  233.       |                                          ^
  234. In file included from /usr/include/features.h:446,
  235.                  from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
  236.                  from /usr/include/stdio.h:27,
  237.                  from /usr/include/libxml2/libxml/xmlmemory.h:15,
  238.                  from otpch.h:29,
  239.                  from combat.cpp:17:
  240. /usr/include/x86_64-linux-gnu/bits/mathcalls.h:298:1: note: candidate: ‘double round(double)’
  241.   298 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
  242.       | ^~~~~~~~~~~
  243. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  244.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  245.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  246.                  from /usr/include/boost/container_hash/hash.hpp:21,
  247.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  248.                  from /usr/include/boost/type_index.hpp:29,
  249.                  from /usr/include/boost/function/function_base.hpp:21,
  250.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  251.                  from /usr/include/boost/function.hpp:30,
  252.                  from otpch.h:35,
  253.                  from combat.cpp:17:
  254. /usr/include/c++/9/cmath:1760:3: note: candidate: ‘constexpr long double std::round(long double)’
  255.  1760 |   round(long double __x)
  256.       |   ^~~~~
  257. /usr/include/c++/9/cmath:1756:3: note: candidate: ‘constexpr float std::round(float)’
  258.  1756 |   round(float __x)
  259.       |   ^~~~~
  260. In file included from map.h:20,
  261.                  from combat.h:24,
  262.                  from combat.cpp:20:
  263. tools.h:124:9: note: candidate: ‘int32_t round(float)’
  264.   124 | int32_t round(float v);
  265.       |         ^~~~~
  266. combat.cpp:1220:15: error: ‘rotatedY’ was not declared in this scope; did you mean ‘rotatedX’?
  267.  1220 |     (*output)[rotatedY + rotateCenterY][rotatedX + rotateCenterX] = (*input)[y][x];
  268.       |               ^~~~~~~~
  269.       |               rotatedX
  270. combat.cpp:1209:9: warning: unused variable ‘c’ [-Wunused-variable]
  271.  1209 |   float c = std::sin(angleRad), d = std::cos(angleRad);
  272.       |         ^
  273. combat.cpp:1209:33: warning: unused variable ‘d’ [-Wunused-variable]
  274.  1209 |   float c = std::sin(angleRad), d = std::cos(angleRad);
  275.       |                                 ^
  276. make[1]: *** [Makefile:598: combat.o] Error 1
  277. In file included from raids.h:28,
  278.                  from item.h:29,
  279.                  from beds.h:20,
  280.                  from beds.cpp:19:
  281. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  282.   124 | int32_t round(float v);
  283.       |                      ^
  284. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  285.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  286.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  287.                  from /usr/include/boost/container_hash/hash.hpp:21,
  288.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  289.                  from /usr/include/boost/type_index.hpp:29,
  290.                  from /usr/include/boost/function/function_base.hpp:21,
  291.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  292.                  from /usr/include/boost/function.hpp:30,
  293.                  from otpch.h:35,
  294.                  from beds.cpp:17:
  295. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  296.  1756 |   round(float __x)
  297.       |   ^~~~~
  298. make[1]: *** [Makefile:598: beds.o] Error 1
  299. In file included from condition.cpp:20:
  300. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  301.   124 | int32_t round(float v);
  302.       |                      ^
  303. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  304.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  305.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  306.                  from /usr/include/boost/container_hash/hash.hpp:21,
  307.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  308.                  from /usr/include/boost/type_index.hpp:29,
  309.                  from /usr/include/boost/function/function_base.hpp:21,
  310.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  311.                  from /usr/include/boost/function.hpp:30,
  312.                  from otpch.h:35,
  313.                  from condition.cpp:17:
  314. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  315.  1756 |   round(float __x)
  316.       |   ^~~~~
  317. make[1]: *** [Makefile:598: condition.o] Error 1
  318. In file included from map.h:20,
  319.                  from creature.h:28,
  320.                  from creature.cpp:19:
  321. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  322.   124 | int32_t round(float v);
  323.       |                      ^
  324. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  325.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  326.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  327.                  from /usr/include/boost/container_hash/hash.hpp:21,
  328.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  329.                  from /usr/include/boost/type_index.hpp:29,
  330.                  from /usr/include/boost/function/function_base.hpp:21,
  331.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  332.                  from /usr/include/boost/function.hpp:30,
  333.                  from otpch.h:35,
  334.                  from creature.cpp:17:
  335. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  336.  1756 |   round(float __x)
  337.       |   ^~~~~
  338. make[1]: *** [Makefile:598: creature.o] Error 1
  339. In file included from map.h:20,
  340.                  from creature.h:28,
  341.                  from player.h:23,
  342.                  from party.h:20,
  343.                  from chat.h:24,
  344.                  from chat.cpp:18:
  345. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  346.   124 | int32_t round(float v);
  347.       |                      ^
  348. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  349.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  350.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  351.                  from /usr/include/boost/container_hash/hash.hpp:21,
  352.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  353.                  from /usr/include/boost/type_index.hpp:29,
  354.                  from /usr/include/boost/function/function_base.hpp:21,
  355.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  356.                  from /usr/include/boost/function.hpp:30,
  357.                  from otpch.h:35,
  358.                  from chat.cpp:17:
  359. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  360.  1756 |   round(float __x)
  361.       |   ^~~~~
  362. chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
  363. chat.cpp:1145:10: error: cannot convert ‘bool’ to ‘ChatChannel*’ in return
  364.  1145 |   return false;
  365.       |          ^~~~~
  366. make[1]: *** [Makefile:598: chat.o] Error 1
  367. In file included from raids.h:28,
  368.                  from item.h:29,
  369.                  from container.h:23,
  370.                  from container.cpp:19:
  371. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  372.   124 | int32_t round(float v);
  373.       |                      ^
  374. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  375.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  376.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  377.                  from /usr/include/boost/container_hash/hash.hpp:21,
  378.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  379.                  from /usr/include/boost/type_index.hpp:29,
  380.                  from /usr/include/boost/function/function_base.hpp:21,
  381.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  382.                  from /usr/include/boost/function.hpp:30,
  383.                  from otpch.h:35,
  384.                  from container.cpp:17:
  385. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  386.  1756 |   round(float __x)
  387.       |   ^~~~~
  388. make[1]: *** [Makefile:598: container.o] Error 1
  389. In file included from actions.cpp:21:
  390. tools.h:124:22: error: ‘int32_t round(float)’ conflicts with a previous declaration
  391.   124 | int32_t round(float v);
  392.       |                      ^
  393. In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21,
  394.                  from /usr/include/boost/container_hash/detail/float_functions.hpp:14,
  395.                  from /usr/include/boost/container_hash/detail/hash_float.hpp:14,
  396.                  from /usr/include/boost/container_hash/hash.hpp:21,
  397.                  from /usr/include/boost/type_index/stl_type_index.hpp:43,
  398.                  from /usr/include/boost/type_index.hpp:29,
  399.                  from /usr/include/boost/function/function_base.hpp:21,
  400.                  from /usr/include/boost/function/detail/prologue.hpp:17,
  401.                  from /usr/include/boost/function.hpp:30,
  402.                  from otpch.h:35,
  403.                  from actions.cpp:17:
  404. /usr/include/c++/9/cmath:1756:3: note: previous declaration ‘constexpr float std::round(float)’
  405.  1756 |   round(float __x)
  406.       |   ^~~~~
  407. make[1]: *** [Makefile:598: actions.o] Error 1
  408. make[1]: Leaving directory '/home/funtera/tmp'
  409. make: *** [Makefile:446: all] Error 2
  410. root@vmi368124:/home/funtera/tmp#
  411.