...
include/c++/6/ostream:508:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
operator<<(basic_ostream<char, _Traits>& __out, char __c)
^~~~~~~~
/usr/include/c++/6/ostream:508:5: note: template argument deduction/substitution failed:
protocolgame.cpp:967:57: note: cannot convert ‘hex’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘char’
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
In file included from /usr/include/c++/6/iterator:64:0,
from /usr/include/boost/regex/v4/regex_workaround.hpp:32,
from /usr/include/boost/regex/v4/regex.hpp:32,
from /usr/include/boost/regex.hpp:31,
from otpch.h:36,
from protocolgame.cpp:17:
/usr/include/c++/6/ostream:502:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
^~~~~~~~
/usr/include/c++/6/ostream:502:5: note: template argument deduction/substitution failed:
protocolgame.cpp:967:57: note: cannot convert ‘hex’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘char’
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
In file included from /usr/include/c++/6/iterator:64:0,
from /usr/include/boost/regex/v4/regex_workaround.hpp:32,
from /usr/include/boost/regex/v4/regex.hpp:32,
from /usr/include/boost/regex.hpp:31,
from otpch.h:36,
from protocolgame.cpp:17:
/usr/include/c++/6/ostream:497:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
^~~~~~~~
/usr/include/c++/6/ostream:497:5: note: template argument deduction/substitution failed:
protocolgame.cpp:967:57: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘std::__cxx11::basic_stringstream<char>’)
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
In file included from /usr/include/c++/6/bits/ios_base.h:46:0,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iterator:64,
from /usr/include/boost/regex/v4/regex_workaround.hpp:32,
from /usr/include/boost/regex/v4/regex.hpp:32,
from /usr/include/boost/regex.hpp:31,
from otpch.h:36,
from protocolgame.cpp:17:
/usr/include/c++/6/system_error:209:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)
operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
^~~~~~~~
/usr/include/c++/6/system_error:209:5: note: template argument deduction/substitution failed:
protocolgame.cpp:967:57: note: cannot convert ‘hex’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘const std::error_code&’
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
In file included from /usr/include/c++/6/memory:82:0,
from /usr/include/boost/function/function_base.hpp:16,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function.hpp:24,
from otpch.h:34,
from protocolgame.cpp:17:
/usr/include/c++/6/bits/shared_ptr.h:66:5: note: candidate: template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)
operator<<(std::basic_ostream<_Ch, _Tr>& __os,
^~~~~~~~
/usr/include/c++/6/bits/shared_ptr.h:66:5: note: template argument deduction/substitution failed:
protocolgame.cpp:967:57: note: ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
In file included from /usr/include/c++/6/string:52:0,
from /usr/include/unicode/std_string.h:33,
from /usr/include/unicode/unistr.h:31,
from /usr/include/unicode/strenum.h:14,
from /usr/include/unicode/uenum.h:24,
from /usr/include/unicode/ucnv.h:51,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from otpch.h:28,
from protocolgame.cpp:17:
/usr/include/c++/6/bits/basic_string.h:5340:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator<<(basic_ostream<_CharT, _Traits>& __os,
^~~~~~~~
/usr/include/c++/6/bits/basic_string.h:5340:5: note: template argument deduction/substitution failed:
protocolgame.cpp:967:57: note: ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
s << player->getName() << " sent unknown byte: " << hex << std::endl;
^~~
protocolgame.cpp: In member function ‘void ProtocolGame::AddCreatureSpeak(NetworkMessage_ptr, const Creature*, SpeakClasses, std::__cxx11::string, uint16_t, uint32_t, Position*, ProtocolGame*)’:
protocolgame.cpp:2971:137: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((speaker && (type != SPEAK_RVR_ANSWER ) && (!speaker->isAccountManager()) && (!speaker->hasCustomFlag(PlayerCustomFlag_HideLevel)) && ((pg == NULL)) || ((pg != NULL) && (!pg->getIsCast()))))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/math/policies/policy.hpp:29:0,
from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
from /usr/include/boost/lexical_cast.hpp:32,
from player.cpp:39:
/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 map.h:20:0,
from creature.h:28,
from player.h:23,
from player.cpp:20:
tools.h:99:9: note: previous declaration ‘int32_t round(float)’
int32_t round(float v);
^~~~~
mv -f .deps/quests.Tpo .deps/quests.Po