Jump to content

Source Update - Clang-14 / c++2b + FreeBSD-12 + SRC


Recommended Posts

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
root@host:~/Server #
root@host:~/Server #
root@host:~/Server # cd /root/Server/game/src
root@host:~/Server/game/src # gmake clean
root@host:~/Server/game/src # gmake dep
Note: gcc autodepend is autodetected, so target dep skipped
root@host:~/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 ?

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Replace everything from source 

 

#include <boost/unordered_map.hpp>

 

to 

 

#include <unordered_map>

 

 

and 

 

 

boost::unordered_map

 

to 

 

 

std::unordered_map

 

 

Be boost free, replace all boost with std, you have in vaniila source everything you need.

 

 

 

 

Edited by ManiacRobert
Link to comment
Share on other sites

1 hour ago, ManiacRobert said:

Replace everything from source 

 

#include <boost/unordered_map.hpp>

 

to 

 

#include <unordered_map>

 

 

and 

 

 

boost::unordered_map

 

to 

 

 

std::unordered_map

 

 

Be boost free, replace all boost with std, you have in vaniila source everything you need.

 

 

 

 

 

Auth still crashing..

Link to comment
Share on other sites

  • 2 months later...
  • Active Member

edit @ Mali61  i update gcc9 to Clang9, and solved all problems, but i have this error on the end:

Spoiler


Generando Game = ../game_r55014
ld: error: ../../../Extern/lib/libcryptopp.a: failed to parse archive: truncated or malformed archive (terminator characters in archive member "  " not the correct "`\n" values for the archive member header for #include)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
 

 

Edited by nazox

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • 2 weeks later...
On 2/18/2019 at 3:17 PM, Mali61 said:

M2 Download Center

This is the hidden content, please
( Github Backup ) - 
This is the hidden content, please
( GitHub )

This is the hidden content, please
( VM 9.2 ) or 
This is the hidden content, please
( VM 12 )

 

password for freebsd?

 

  • Metin2 Dev 1
  • Good 2
  • Love 3
Link to comment
Share on other sites

  • 3 weeks later...

I downloaded FreeBSD black.code 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  i386
After cd /usr/src/example/game/src, gmake clean and gmake my compilation fail with

Spoiler

compile char_horse.cpp
compile char_item.cpp
char_item.cpp:1965:27: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                        std::vector <LPITEM> item_gets(NULL);
                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:2029:26: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                std::vector <LPITEM> item_gets(NULL);
                                                     ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:3612:31: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                                                        std::vector <LPITEM> item_gets(NULL);
                                                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:3636:31: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                                                        std::vector <LPITEM> item_gets(NULL);
                                                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:3659:31: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                                                        std::vector <LPITEM> item_gets(NULL);
                                                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
5 errors generated.
gmake: *** [Makefile:119: OBJDIR/char_item.o] Error 1
root@black:/usr/src/example/game/src #

 

What can I do to solve this problem? Thanks

  • Metin2 Dev 1
Link to comment
Share on other sites

  • Active+ Member
On 2/18/2019 at 3:17 PM, Mali61 said:

2 Download Center

This is the hidden content, please
( Github Backup ) - 
This is the hidden content, please
( GitHub )

This is the hidden content, please
( VM 9.2 ) or 
This is the hidden content, please
( VM 12 )

 

So, i tried this one, but it doesn't work.

Error: 


root@name:~/workspace/Server # gmake all
--------------------------------------
Full Build Start
--------------------------------------
gmake -C libserverkey dep
gmake[1]: Entering directory '/root/workspace/Server/libserverkey'
touch Depend
g++7  -Wall -O2 -pipe -mtune=i686 -D_THREAD_SAFE -fno-exceptions  -MM *.cpp > Depend
/bin/sh: g++7: not found
gmake[1]: *** [Makefile:38: dep] Error 127
gmake[1]: Leaving directory '/root/workspace/Server/libserverkey'
gmake: *** [Makefile:63: all] Error 2
 

  • Love 1
Link to comment
Share on other sites

9 minutes ago, Doose said:

So, i tried this one, but it doesn't work.

Error: 


root@name:~/workspace/Server # gmake all
--------------------------------------
Full Build Start
--------------------------------------
gmake -C libserverkey dep
gmake[1]: Entering directory '/root/workspace/Server/libserverkey'
touch Depend
g++7  -Wall -O2 -pipe -mtune=i686 -D_THREAD_SAFE -fno-exceptions  -MM *.cpp > Depend
/bin/sh: g++7: not found
gmake[1]: *** [Makefile:38: dep] Error 127
gmake[1]: Leaving directory '/root/workspace/Server/libserverkey'
gmake: *** [Makefile:63: all] Error 2
 

Replace in your all Makefile(s) g++7 with result of gcc --version returned in FreeBSD console

Use ee filename not windows editor because encoding incompatibility.

Link to comment
Share on other sites

  • Active+ Member
1 hour ago, CjMt2 said:

Replace in your all Makefile(s) g++7 with result of gcc --version returned in FreeBSD console

Use ee filename not windows editor because encoding incompatibility.

Which filename??

Link to comment
Share on other sites

23 hours ago, Doose said:

Which filename??

 

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc9/gcc/i386-portbld-freebsd12.2/9.3.0/lto-wrapper
Target: i386-portbld-freebsd12.2
Configured with: /wrkdirs/usr/ports/lang/gcc9/work/gcc-9.3.0/configure --disable-multilib --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --enable-plugin --libdir=/usr/local/lib/gcc9 --libexecdir=/usr/local/libexec/gcc9 --program-suffix=9 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc9/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --without-zstd --enable-languages=c,c++,objc,fortran --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/gcc9 --build=i386-portbld-freebsd12.2
Thread model: posix
gcc version 9.3.0 (FreeBSD Ports Collection)

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

$ gcc --version
gcc (FreeBSD Ports Collection) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Link to comment
Share on other sites

  • 5 weeks later...
  • Active Member

Hey sorry to revive this, i have a littel problem when i compile config.cpp 

0921fe145b4e02273494b19c74c7af30.png

someone can give me any idea? pd: i don't edit config.cpp and working great if i don't upgrade source thanks :)

Edited by Metin2 Dev
Core X - External 2 Internal

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • 1 month later...
  • Active Member

The guide as a base is very good, but you have to do many more things, In my case have to change extern, boost, change more lines, add others that I did not have, in short, it depends a lot on the source you have, you will have to do half source or just change things xD, keep trying, I was +6 months.

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

13 hours ago, nazox said:

The guide as a base is very good, but you have to do many more things, In my case have to change extern, boost, change more lines, add others that I did not have, in short, it depends a lot on the source you have, you will have to do half source or just change things xD, keep trying, I was +6 months.

Personally, I recommend it to "beginners" GCC7. Fewer complications compared to Clang.

Edited by Suzar
Link to comment
Share on other sites

  • Active Member
10 hours ago, Suzar said:

Personally, I recommend it to "beginners" GCC7. Fewer complications compared to Clang.

Yep I think so too, Still, I hope they manage to repair it, it is not easy if they do not know much about c ++, I was able to defend myself because I knew something and in the end I succeeded, but it is as you say, prioritize gcc before clang, have a good day :)

  • Good 1

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • 2 weeks later...
  • Active Member
22 hours ago, TysonDMG said:

when i select empire i get this

0615 20:46:07676 :: Unknown packet header: 176, last: 253 32

ch1/db/auth/ch99 empty

This problem is because you have problems with packets src game and client, check if  you have 253 in game and client, or check for example this error, in  your game have CG_NAZOX = 250 and src client CG_NAZOX = 253,  idk but the problems is packet, check 1 for 1, but the systems you add, not defaults

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • Premium

for those who downloaded the freebsd12 vdi:

since you can't compile the example-gamesource, I've updated some files

here you go:

This is the hidden content, please

if you don't want to replace them just check the differences with WinMerge or bCompare or something else

Edited by .Avenue™
  • Metin2 Dev 24
  • Sad 1
  • Confused 1
  • Lmao 1
  • Good 8
  • Love 2
  • Love 9
Link to comment
Share on other sites

  • 4 weeks later...
       detail = new BlockCipherDetail<Blowfish>();
                                      ^~~~~~~~
cipher.cpp:282:38: note: suggested alternative:
In file included from cipher.cpp:23:0:
../../../Extern/include/cryptopp/blowfish.h:18:7: note:   'CryptoPP::Blowfish'
 class Blowfish : public Blowfish_Info, public BlockCipherDocumentation
       ^~~~~~~~
cipher.cpp:282:46: error: template argument 1 is invalid
       detail = new BlockCipherDetail<Blowfish>();
                                              ^
cipher.cpp:285:38: error: 'TEA' was not declared in this scope
       detail = new BlockCipherDetail<TEA>();
                                      ^~~
cipher.cpp:285:38: note: suggested alternative:
In file included from cipher.cpp:31:0:
../../../Extern/include/cryptopp/tea.h:19:7: note:   'CryptoPP::TEA'
 class TEA : public TEA_Info, public BlockCipherDocumentation
       ^~~
cipher.cpp:285:41: error: template argument 1 is invalid
       detail = new BlockCipherDetail<TEA>();
                                         ^
cipher.cpp:291:38: error: 'SHACAL2' was not declared in this scope
       detail = new BlockCipherDetail<SHACAL2>();
                                      ^~~~~~~
cipher.cpp:291:38: note: suggested alternative:
In file included from cipher.cpp:29:0:
../../../Extern/include/cryptopp/shacal2.h:19:7: note:   'CryptoPP::SHACAL2'
 class SHACAL2 : public SHACAL2_Info, public BlockCipherDocumentation
       ^~~~~~~
cipher.cpp:291:45: error: template argument 1 is invalid
       detail = new BlockCipherDetail<SHACAL2>();
                                             ^
cipher.cpp:295:45: error: type/value mismatch at argument 1 in template parametr list for 'template<class T> struct BlockCipherDetail'
       detail = new BlockCipherDetail<Twofish>(); // default algorithm
                                             ^
cipher.cpp:295:45: note:   expected a type, got 'Twofish'
cipher.cpp: In constructor 'DH2KeyAgreement::DH2KeyAgreement()':
cipher.cpp:301:38: error: class 'DH2KeyAgreement' does not have any field named'dh_'
 DH2KeyAgreement::DH2KeyAgreement() : dh_(), dh2_(dh_) {
                                      ^~~
cipher.cpp:301:45: error: class 'DH2KeyAgreement' does not have any field named'dh2_'
 DH2KeyAgreement::DH2KeyAgreement() : dh_(), dh2_(dh_) {
                                             ^~~~
cipher.cpp:301:50: error: 'dh_' was not declared in this scope
 DH2KeyAgreement::DH2KeyAgreement() : dh_(), dh2_(dh_) {
                                                  ^~~
cipher.cpp: In member function 'virtual size_t DH2KeyAgreement::Prepare(void*, ize_t*)':
cipher.cpp:310:3: error: 'Integer' was not declared in this scope
   Integer p("0xB10B8F96A080E01DDE92DE5EAE5D54EC52C99FBCFB06A3C6"
   ^~~~~~~
cipher.cpp:310:3: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/nbtheory.h:6:0,
                 from cipher.cpp:8:
../../../Extern/include/cryptopp/integer.h:26:20: note:   'CryptoPP::Integer'
 class CRYPTOPP_DLL Integer : private InitializeInteger, public ASN1Object
                    ^~~~~~~
cipher.cpp:317:11: error: expected ';' before 'g'
   Integer g("0xA4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507F"
           ^
cipher.cpp:324:11: error: expected ';' before 'q'
   Integer q("0xF518AA8781A8DF278ABA4E7D64B7CB9D49462353");
           ^
cipher.cpp:334:3: error: 'AutoSeededRandomPool' was not declared in this scope
   AutoSeededRandomPool rnd;
   ^~~~~~~~~~~~~~~~~~~~
cipher.cpp:334:3: note: suggested alternative:
In file included from cipher.cpp:9:0:
../../../Extern/include/cryptopp/osrng.h:86:20: note:   'CryptoPP::AutoSeededRadomPool'
 class CRYPTOPP_DLL AutoSeededRandomPool : public RandomPool
                    ^~~~~~~~~~~~~~~~~~~~
cipher.cpp:336:3: error: 'dh_' was not declared in this scope
   dh_.AccessGroupParameters().Initialize(p, q, g);
   ^~~
cipher.cpp:336:42: error: 'p' was not declared in this scope
   dh_.AccessGroupParameters().Initialize(p, q, g);
                                          ^
cipher.cpp:336:45: error: 'q' was not declared in this scope
   dh_.AccessGroupParameters().Initialize(p, q, g);
                                             ^
cipher.cpp:336:48: error: 'g' was not declared in this scope
   dh_.AccessGroupParameters().Initialize(p, q, g);
                                                ^
cipher.cpp:338:46: error: 'rnd' was not declared in this scope
   if(!dh_.GetGroupParameters().ValidateGroup(rnd, 3)) {
                                              ^~~
cipher.cpp:338:46: note: suggested alternative: 'rand'
   if(!dh_.GetGroupParameters().ValidateGroup(rnd, 3)) {
                                              ^~~
                                              rand
cipher.cpp:348:11: error: expected ';' before 'v'
   Integer v = ModularExponentiation(g, q, p);
           ^
cipher.cpp:349:6: error: 'v' was not declared in this scope
   if(v != Integer::One()) {
      ^
cipher.cpp:349:11: error: 'Integer' is not a class, namespace, or enumeration
   if(v != Integer::One()) {
           ^~~~~~~
cipher.cpp:356:3: error: 'spriv_key_' was not declared in this scope
   spriv_key_.New(dh2_.StaticPrivateKeyLength());
   ^~~~~~~~~~
cipher.cpp:356:18: error: 'dh2_' was not declared in this scope
   spriv_key_.New(dh2_.StaticPrivateKeyLength());
                  ^~~~
cipher.cpp:357:3: error: 'epriv_key_' was not declared in this scope
   epriv_key_.New(dh2_.EphemeralPrivateKeyLength());
   ^~~~~~~~~~
cipher.cpp:358:3: error: 'SecByteBlock' was not declared in this scope
   SecByteBlock spub_key(dh2_.StaticPublicKeyLength());
   ^~~~~~~~~~~~
cipher.cpp:358:3: note: suggested alternative:
In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/secblock.h:416:24: note:   'CryptoPP::SecByteBock'
 typedef SecBlock<byte> SecByteBlock;
                        ^~~~~~~~~~~~
cipher.cpp:359:16: error: expected ';' before 'epub_key'
   SecByteBlock epub_key(dh2_.EphemeralPublicKeyLength());
                ^~~~~~~~
cipher.cpp:361:30: error: 'rnd' was not declared in this scope
   dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                              ^~~
cipher.cpp:361:30: note: suggested alternative: 'rand'
   dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                              ^~~
                              rand
cipher.cpp:361:47: error: 'spub_key' was not declared in this scope
   dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                                               ^~~~~~~~
cipher.cpp:361:47: note: suggested alternative: 'setkey'
   dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                                               ^~~~~~~~
                                               setkey
cipher.cpp:362:50: error: 'epub_key' was not declared in this scope
   dh2_.GenerateEphemeralKeyPair(rnd, epriv_key_, epub_key);
                                                  ^~~~~~~~
cipher.cpp: In member function 'virtual bool DH2KeyAgreement::Agree(size_t, cont void*, size_t)':
cipher.cpp:381:24: error: 'dh2_' was not declared in this scope
   if (agreed_length != dh2_.AgreedValueLength()) {
                        ^~~~
cipher.cpp:385:34: error: 'dh2_' was not declared in this scope
   const size_t spub_key_length = dh2_.StaticPublicKeyLength();
                                  ^~~~
cipher.cpp:391:3: error: 'shared_' was not declared in this scope
   shared_.New(dh2_.AgreedValueLength());
   ^~~~~~~
cipher.cpp:393:28: error: 'spriv_key_' was not declared in this scope
   if (!dh2_.Agree(shared_, spriv_key_, epriv_key_, buf, buf + spub_key_length) {
                            ^~~~~~~~~~
cipher.cpp:393:40: error: 'epriv_key_' was not declared in this scope
   if (!dh2_.Agree(shared_, spriv_key_, epriv_key_, buf, buf + spub_key_length) {
                                        ^~~~~~~~~~
In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllcatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alin16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vid*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithClanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T,T_Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsignedchar; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, >::size_type = unsigned int]'
../../../Extern/include/cryptopp/algparam.h:17:2:   required from here
../../../Extern/include/cryptopp/secblock.h:91:12: error: 'CheckSize' was not dclared in this scope, and no declarations were found by argument-dependent lookp at the point of instantiation [-fpermissive]
   CheckSize(n);
   ~~~~~~~~~^~~
../../../Extern/include/cryptopp/secblock.h:91:12: note: declarations in dependnt base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lokup
../../../Extern/include/cryptopp/secblock.h:91:12: note: use 'this->CheckSize' nstead
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllcatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alin16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vid*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithClenup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, _Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsignedchar; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlok<T, A>::size_type = unsigned int]'
../../../Extern/include/cryptopp/modes.h:63:34:   required from here
../../../Extern/include/cryptopp/secblock.h:91:12: error: 'CheckSize' was not dclared in this scope, and no declarations were found by argument-dependent lookp at the point of instantiation [-fpermissive]
../../../Extern/include/cryptopp/secblock.h:91:12: note: declarations in dependnt base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lokup
../../../Extern/include/cryptopp/secblock.h:91:12: note: use 'this->CheckSize' nstead
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllcatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alin16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vid*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleaup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_lign16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:249:29:   required from 'CryptoPP::ecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'
../../../Extern/include/cryptopp/modarith.h:122:20:   required from here
../../../Extern/include/cryptopp/secblock.h:91:12: error: 'CheckSize' was not dclared in this scope, and no declarations were found by argument-dependent lookp at the point of instantiation [-fpermissive]
../../../Extern/include/cryptopp/secblock.h:91:12: note: declarations in dependnt base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lokup
../../../Extern/include/cryptopp/secblock.h:91:12: note: use 'this->CheckSize' nstead
gmake: *** [OBJDIR/cipher.o] Error 1
root@host:/usr/src/Server/game/src #

 

 

Any help ???  

  • Metin2 Dev 1
Link to comment
Share on other sites

Announcements



×
×
  • 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.