Jump to content

Recommended Posts

I used a gmake clean and gmake -j20 to compile a source, but I get a lot of errors. Any fix?

Spoiler

In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
c_string' has not been declared
basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
^~~~~~~~~~~~
arena.cpp:156:54: error: invalid type argument of unary '*' (have 'int')
(CArena*)(*iter)->GetStartPointA().x, (CArena*)(*iter)->GetStartPointA().y,
^~~~
ssary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 /usr/local/lib/gcc8/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
^
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 n file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
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 building.cpp:8:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: un../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
1mchar.h:4,
from char_affect.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
_M_truename_size = __tn.size();
^~~~
arena.cpp:157:16: error: invalid type argument of unary '*' (have 'int')
(CArena*)(*iter)->GetStartPointB().x, (CArena*)(*iter)->GetStartPointB().y);
^~~~
1mchar.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __tn = __np.truename();
^~~~~~~~~~~~
necessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '__ct '
_M_truename_size = __tn.size();
^~~~
__ct
arena.cpp:157:54: error: invalid type argument of unary '*' (have 'int')
(CArena*)(*iter)->GetStartPointB().x, (CArena*)(*iter)->GetStartPointB().y);
^~~~
In file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
/usr/local/lib/gcc8/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 /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 n file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::StartDuel(LPCHARACTER, LPCHARACTER, int, int)':
arena.cpp:181:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
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 castle.cpp:21:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: unnIn file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: '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/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
1mdesc_manager.h:4,
from char_battle.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __tn = __np.truename();
^~~~~~~~~~~~
ecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 n file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: '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/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
1mchar.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
_M_truename_size = __tn.size();
^~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 n file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
arena.cpp:181:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '__ct '
_M_truename_size = __tn.size();
^~~~
__ct
1mchar.h:4,
from char_affect.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
_M_falsename_size = __fn.size();
^~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 arena.cpp:185:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __fn = __np.falsename();
^~~~~~~~~~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
_M_falsename_size = __fn.size();
^~~~
_S_in
1mdesc_manager.h:4,
from char_battle.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
_M_truename_size = __tn.size();
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'void CArenaMap::EndAllDuel()':
arena.cpp:523:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '__ct '
_M_truename_size = __tn.size();
^~~~
__ct
arena.cpp:523:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from battle.cpp:19:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from char.cpp:6:
char.h:963: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,
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 char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __fn = __np.falsename();
^~~~~~~~~~~~
arena.cpp:527:21: error: invalid type argument of unary '*' (have 'int')
CArena *pArena = *iter;
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 n file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'int CArenaMap::GetDuelList(lua_State*, int)':
arena.cpp:606:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char.cpp:6:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
1mchar.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
_M_falsename_size = __fn.size();
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
arena.cpp:606:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from char.cpp:6:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from castle.cpp:21:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
_M_falsename_size = __fn.size();
^~~~
_S_in
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/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 arena.cpp:610:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
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 char_affect.cpp:5:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: n file included from building.cpp:8:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from castle.cpp:12:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
1mdesc_manager.h:4,
from char_battle.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
_M_falsename_size = __fn.size();
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::CanAttack(LPCHARACTER, LPCHARACTER)':
arena.cpp:670:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char.cpp:6:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
Kunnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from building.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: '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/extensions.hpp:17,
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 castle.cpp:21:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
_M_falsename_size = __fn.size();
^~~~
_S_in
arena.cpp:670:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 building.cpp:8:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from castle.cpp:21:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
arena.cpp:674:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from building.cpp:8:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from castle.cpp:12:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::OnDead(LPCHARACTER, LPCHARACTER)':
arena.cpp:711:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from building.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: '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/extensions.hpp:17,
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 castle.cpp:21:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp:711:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
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 char_change_empire.cpp:4:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warningIn file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 building.cpp:8:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp:715:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
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 desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warninIn file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::AddObserver(LPCHARACTER, WORD, WORD)':
arena.cpp:879:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
g: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
arena.cpp:879:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
arena.cpp:883:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'MEMBER_IDENTITY CArenaMap::IsMember(DWORD)':
arena.cpp:932:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
arena.cpp:932:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
arena.cpp:936:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from char_affect.cpp:5:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::EndDuel(DWORD)':
arena.cpp11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
arena.cpp11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from char_affect.cpp:5:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from char_change_empire.cpp:4:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::RegisterObserverPtr(LPCHARACTER, DWORD, WORD, WORD)':
arena.cpp11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
arena.cpp11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from char_change_empire.cpp:4:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: '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/extensions.hpp:17,
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 char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
gmake: *** [Makefile:189: .obj/battle.o] Error 1
gmake: *** [Makefile:189: .obj/castle.o] Error 1
In file included from char_affect.cpp:16:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
gmake: *** [Makefile:189: .obj/arena.o] Error 1
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
char_change_empire.cpp: In member function 'int CHARACTER::ChangeEmpire(BYTE)':
char_change_empire.cpp:41:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery(szQuery));
^~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/memory:80,
from ../../../Extern/include/boost/unordered/unordered_map_fwd.hpp:14,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:16,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from battle.h:4,
from char_battle.cpp:10:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
char_change_empire.cpp:118:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery(szQuery));
^~~~~~~~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'CAffect* CHARACTER::FindAffect(DWORD, BYTE) const':
char_affect.cpp:56:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/memory:80,
from ../../../Extern/include/boost/unordered/unordered_map_fwd.hpp:14,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:16,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
char_affect.cpp:56:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
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 desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
char_change_empire.cpp: In member function 'void CHARACTER::SetChangeEmpireCount()':
char_change_empire.cpp:186:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SQLMsg> pmsg(DBManager::instance().DirectQuery(szQuery));
^~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/memory:80,
from ../../../Extern/include/boost/unordered/unordered_map_fwd.hpp:14,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:16,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
char_affect.cpp:60:27: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAffect = *it++;
^~
In file included from battle.h:4,
from char_battle.cpp:10:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::ClearAffect(bool)':
char_affect.cpp:173:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: '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/extensions.hpp:17,
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 desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
char_affect.cpp:173:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:177:22: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAff = *it;
^~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'int CHARACTER::ProcessAffect()':
char_affect.cpp:265:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it;
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:265:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it;
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:271:12: error: invalid type argument of unary '*' (have 'int')
pkAff = *it;
^~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::SaveAffect()':
char_affect.cpp:338:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
gmake: *** [Makefile:189: .obj/char_change_empire.o] Error 1
char_affect.cpp:338:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:342:24: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAff = *it++;
^~
char_affect.cpp: In member function 'void CHARACTER::LoadAffect(DWORD, TPacketAffectElement*)':
char_affect.cpp:489:3: error: 'm_list_pkAffect' was not declared in this scope
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
char_affect.cpp:489:3: note: suggested alternative: 'AttackAffect'
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
AttackAffect
char_affect.cpp: In member function 'bool CHARACTER::AddAffect(DWORD, BYTE, long int, DWORD, long int, long int, bool, bool)':
char_affect.cpp:580:3: error: 'm_list_pkAffect' was not declared in this scope
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
char_affect.cpp:580:3: note: suggested alternative: 'AttackAffect'
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
AttackAffect
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::RefreshAffect()':
char_affect.cpp:627:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:627:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:631:24: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAff = *it++;
^~
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*)':
char_affect.cpp:675:2: error: 'm_list_pkAffect' was not declared in this scope
m_list_pkAffect.remove(pkAff);
^~~~~~~~~~~~~~~
char_affect.cpp:675:2: note: suggested alternative: 'AttackAffect'
m_list_pkAffect.remove(pkAff);
^~~~~~~~~~~~~~~
AttackAffect
In file included from char_battle.cpp:23:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: '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/extensions.hpp:17,
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 desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from char.cpp:43:
target.h:66:38: error: template argument 2 is invalid
std::map<DWORD, std::list<LPEVENT> > m_map_kListEvent;
^
target.h:66:38: error: template argument 4 is invalid
gmake: *** [Makefile:189: .obj/building.o] Error 1
gmake: *** [Makefile:191: .obj/char_affect.o] Error 1
In file included from char.cpp:49:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: '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/extensions.hpp:17,
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 char.cpp:6:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from stdafx.h:40,
from char_battle.cpp:1:
char_battle.cpp: In member function 'void CHARACTER::Dead(LPCHARACTER, bool)':
char_battle.cpp12: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_battle.cpp12: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_battle.cpp38: error: invalid type argument of unary '*' (have 'int')
SendAffectAddPacket(GetDesc(), *it++);
^~
gmake: *** [Makefile:189: .obj/char.o] Error 1
gmake: *** [Makefile:189: .obj/char_battle.o] Error 1

root@:/usr/src/Server/game/src #

 

Link to comment
https://metin2.dev/topic/23519-server-compile-error/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.