Jump to content

Sanistro

Member
  • Posts

    2
  • Joined

  • Last visited

About Sanistro

Sanistro's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Version of Files : XXX Hello i have updated my source to gcc7 by this topic Here i have followed the video and used his freebsd 9.2 but when i compile the full source i got proplem with the game src gmake[1]: Entering directory `/root/Server/game/src' compiling BattleArena.cpp In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v); ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::vector<T, A> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v); ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v); ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v) ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::complex<T> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v) ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v) ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:70:5: error: expected ';' before '{' token { ^ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const': /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: note: suggested alternative: '__lg' return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ __lg /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: note: suggested alternative: '__lg' __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ __lg In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf: At global scope: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:169:18: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&); ^ /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:174:15: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)': /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __tn = __np.truename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope _M_truename_size = __tn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '_S_in' _M_truename_size = __tn.size(); ^~~~ _S_in /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __fn = __np.falsename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope _M_falsename_size = __fn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in' _M_falsename_size = __fn.size(); ^~~~ _S_in In file included from BattleArena.cpp:7:0: char.h: At global scope: char.h:1053:9: error: reference to 'list' is ambiguous const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; } ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from BattleArena.cpp:7:0: char.h:1059:3: error: reference to 'list' is ambiguous std::list<CAffect *> m_list_pkAffect; ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ gmake[1]: *** [.obj/BattleArena.o] Error 1 gmake[1]: Leaving directory `/root/Server/game/src' gmake: *** [all] Error 2 [email protected]:~/Server # [email protected]:~/Server # [email protected]:~/Server # cd /root/Server/game/src [email protected]:~/Server/game/src # gmake clean [email protected]:~/Server/game/src # gmake dep Note: gcc autodepend is autodetected, so target dep skipped [email protected]:~/Server/game/src # gmake compiling BattleArena.cpp In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v); ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::vector<T, A> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v); ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v); ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v) ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::complex<T> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v) ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v) ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:70:5: error: expected ';' before '{' token { ^ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const': /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: note: suggested alternative: '__lg' return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ __lg /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: note: suggested alternative: '__lg' __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ __lg In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf: At global scope: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:169:18: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&); ^ /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:174:15: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)': /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __tn = __np.truename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope _M_truename_size = __tn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '_S_in' _M_truename_size = __tn.size(); ^~~~ _S_in /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __fn = __np.falsename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope _M_falsename_size = __fn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in' _M_falsename_size = __fn.size(); ^~~~ _S_in In file included from BattleArena.cpp:7:0: char.h: At global scope: char.h:1053:9: error: reference to 'list' is ambiguous const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; } ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from BattleArena.cpp:7:0: char.h:1059:3: error: reference to 'list' is ambiguous std::list<CAffect *> m_list_pkAffect; ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ gmake: *** [.obj/BattleArena.o] Error 1 Thanks, Sincerly, [[ Sanistro ]]
  2. first of thank u for your efforts but i have this error: gmake[1]: Entering directory `/root/Server/game/src' compiling BattleArena.cpp In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v); ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::vector<T, A> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v); ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v); ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v) ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::complex<T> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v) ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v) ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:70:5: error: expected ';' before '{' token { ^ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const': /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: note: suggested alternative: '__lg' return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ __lg /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: note: suggested alternative: '__lg' __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ __lg In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf: At global scope: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:169:18: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&); ^ /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:174:15: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)': /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __tn = __np.truename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope _M_truename_size = __tn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '_S_in' _M_truename_size = __tn.size(); ^~~~ _S_in /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __fn = __np.falsename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope _M_falsename_size = __fn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in' _M_falsename_size = __fn.size(); ^~~~ _S_in In file included from BattleArena.cpp:7:0: char.h: At global scope: char.h:1053:9: error: reference to 'list' is ambiguous const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; } ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from BattleArena.cpp:7:0: char.h:1059:3: error: reference to 'list' is ambiguous std::list<CAffect *> m_list_pkAffect; ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ gmake[1]: *** [.obj/BattleArena.o] Error 1 gmake[1]: Leaving directory `/root/Server/game/src' gmake: *** [all] Error 2 [email protected]:~/Server # [email protected]:~/Server # [email protected]:~/Server # cd /root/Server/game/src [email protected]:~/Server/game/src # gmake clean [email protected]:~/Server/game/src # gmake dep Note: gcc autodepend is autodetected, so target dep skipped [email protected]:~/Server/game/src # gmake compiling BattleArena.cpp In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v); ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::vector<T, A> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v); ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v); ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v); ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration std::size_t hash_value(std::list<T, A> const& v) ^~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration 'namespace boost { }::hash_value' std::size_t hash_value(std::complex<T> const&); ^~~~~~~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:28: error: reference to 'list' is ambiguous std::size_t hash_value(std::list<T, A> const& v) ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const' std::size_t hash_value(std::list<T, A> const& v) ^~~~~ ../../../Extern/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive] std::size_t hash_value(std::list<T, A> const& v) ^ ../../../Extern/include/boost/functional/hash/extensions.hpp:70:5: error: expected ';' before '{' token { ^ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0, from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc7/include/c++/ios:42, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, ^ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const': /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: note: suggested alternative: '__lg' return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), ^~~~ __lg /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: note: suggested alternative: '__lg' __s2.data(), __s2.data() + __s2.length()) < 0); ^~~~ __lg In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf: At global scope: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:169:6: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:169:18: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&); ^ /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: reference to 'basic_string' is ambiguous basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/ios:43:0, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/streambuf:174:3: error: 'basic_string' has not been declared basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^~~~~~~~~~~~ /usr/local/lib/gcc7/include/c++/streambuf:174:15: error: expected ',' or '...' before '<' token basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); ^ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)': /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __tn = __np.truename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope _M_truename_size = __tn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '_S_in' _M_truename_size = __tn.size(); ^~~~ _S_in /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous const basic_string<_CharT>& __fn = __np.falsename(); ^~~~~~~~~~~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string template <class charT, class traits, class Allocator> class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/string:39:0, from /usr/local/lib/gcc7/include/c++/stdexcept:39, from /usr/local/lib/gcc7/include/c++/optional:38, from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39, from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72, from /usr/local/lib/gcc7/include/c++/map:60, from stdafx.h:22, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string class basic_string; ^~~~~~~~~~~~ In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0, from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37, from /usr/local/lib/gcc7/include/c++/ios:44, from /usr/local/lib/gcc7/include/c++/ostream:38, from /usr/local/lib/gcc7/include/c++/iterator:64, from ../../../Extern/include/boost/detail/iterator.hpp:54, from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10, from ../../../Extern/include/boost/unordered/detail/table.hpp:14, from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10, from ../../../Extern/include/boost/unordered/unordered_map.hpp:19, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope _M_falsename_size = __fn.size(); ^~~~ /usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in' _M_falsename_size = __fn.size(); ^~~~ _S_in In file included from BattleArena.cpp:7:0: char.h: At global scope: char.h:1053:9: error: reference to 'list' is ambiguous const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; } ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ In file included from BattleArena.cpp:7:0: char.h:1059:3: error: reference to 'list' is ambiguous std::list<CAffect *> m_list_pkAffect; ^~~ In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0, from ../../../Extern/include/boost/functional/hash/hash.hpp:494, from ../../../Extern/include/boost/functional/hash.hpp:6, from ../../../Extern/include/boost/unordered/unordered_map.hpp:17, from ../../../Extern/include/boost/unordered_map.hpp:16, from char.h:4, from BattleArena.cpp:7: ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list template <class T, class Allocator> class list; ^~~~ In file included from /usr/local/lib/gcc7/include/c++/list:63:0, from stdafx.h:21, from BattleArena.cpp:1: /usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list class list : protected _List_base<_Tp, _Alloc> ^~~~ gmake: *** [.obj/BattleArena.o] Error 1 i have installed gcc7 from github i have follow your Instructions from the video with the freebsd 9.2 that u uploaded in the github topic .. so any help please ?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.