- Mesaj
- 105
- Çözümler
- 4
- Beğeni
- 30
- Puan
- 699
- Ticaret Puanı
- 0
Kod:
/usr/local/lib/gcc10/include/c++/streambuf:176:6: error: reference to 'basic_str ing' is ambiguous
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc10/include/c++/string:39,
from stdafx.h:24,
from char_affect.cpp:2:
/usr/local/lib/gcc10/include/c++/bits/stringfwd.h:74:11: note: candidates are: ' template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_st ring'
74 | class basic_string;
^~~~~~~~ ~~~~
In file included from /usr/local/lib/gcc10/include/c++/locale:43,
from ../../../Extern/include/boost/algorithm/string/compare.hpp :15,
from ../../../Extern/include/boost/algorithm/string/predicate.h pp:22,
from char_cards.cpp:23:
/usr/local/lib/gcc10/include/c++/bits/locale_conv.h:182:6: error: 'basic_string' has not been declared
182 | basic_string<char, _Traits, _Alloc>& __outstr,
| ^~~~~~~~~~~~
/usr/local/lib/gcc10/include/c++/bits/locale_conv.h:182:18: error: expected ',' or '...' before '<' token
182 | basic_string<char, _Traits, _Alloc>& __outstr,
| ^
/usr/local/lib/gcc10/include/c++/bits/locale_conv.h: In function 'bool std::__st r_codecvt_out_all(const _CharT*, const _CharT*, int)':
/usr/local/lib/gcc10/include/c++/bits/locale_conv.h:187:49: error: '__outstr' wa s not declared in this scope
187 | return __str_codecvt_out(__first, __last, __outstr, __cvt, __state , __n)
| ^~~~~~~~
In file included from /usr/local/lib/gcc10/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc10/include/c++/bits/stl_list.h:556:11: note: candidates are: ' template<class _Tp, class _Alloc> class std::__cxx11::list'
556 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
/usr/local/lib/gcc10/include/c++/bits/locale_conv.h:187:59: error: '__cvt' was n ot declared in this scope
187 | return __str_codecvt_out(__first, __last, __outstr, __cvt, __state , __n)
| ^~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.h pp: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'
81 | template <class T, class Allocator> class list;
| ^~~~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'int CHARACTER::ProcessAffect()':
char_affect.cpp:272:11: error: 'm_list_pkAffect' was not declared in this scope
272 | itertype(m_list_pkAffect) it;
| ^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
105 | #define itertype(v) typeof((v).begin())
| ^
char_affect.cpp:278:11: error: invalid type argument of unary '*' (have 'int')
278 | 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:345:11: error: 'm_list_pkAffect' was not declared in this scope
345 | itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
| ^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
105 | #define itertype(v) typeof((v).begin())
| ^
char_affect.cpp:349:21: error: invalid type argument of unary '*' (have 'int')
349 | CAffect * pkAff = *it++;
| ^~~~~
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.cpp:1605:12: error: 'm_list_pkAffect' was not declared in this scope
1605 | itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
| ^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
105 | #define itertype(v) typeof((v).begin())
| ^
char_affect.cpp: In member function 'void CHARACTER::LoadAffect(DWORD, TPacketAf fectElement*)':
char_affect.cpp:496:3: error: 'm_list_pkAffect' was not declared in this scope
496 | m_list_pkAffect.push_back(pkAff);
| ^~~~~~~~~~~~~~~
In file included from battle.cpp:19:
arena.h:82:2: error: reference to 'list' is ambiguous
82 | std::list<CArena*> m_listArena;
| ^~~
In file included from /usr/local/lib/gcc10/include/c++/list:63,
from stdafx.h:20,
from battle.cpp:1:
/usr/local/lib/gcc10/include/c++/bits/stl_list.h:556:11: note: candidates are: ' template<class _Tp, class _Alloc> class std::__cxx11::list'
556 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.h pp: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'
81 | template <class T, class Allocator> class list;
| ^~~~
char_affect.cpp: In member function 'bool CHARACTER::AddAffect(DWORD, BYTE, long int, DWORD, long int, long int, bool, bool)':
char_affect.cpp:587:3: error: 'm_list_pkAffect' was not declared in this scope
587 | m_list_pkAffect.push_back(pkAff);
| ^~~~~~~~~~~~~~~
char_battle.cpp:1608:35: error: invalid type argument of unary '*' (have 'int')
1608 | SendAffectAddPacket(GetDesc(), *it++);
| ^~~~~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::RefreshAffect()':
char_affect.cpp:634:11: error: 'm_list_pkAffect' was not declared in this scope
634 | itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
| ^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
105 | #define itertype(v) typeof((v).begin())
| ^
char_affect.cpp:638:21: error: invalid type argument of unary '*' (have 'int')
638 | CAffect * pkAff = *it++;
| ^~~~~
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*)':
char_affect.cpp:682:2: error: 'm_list_pkAffect' was not declared in this scope
682 | m_list_pkAffect.remove(pkAff);
| ^~~~~~~~~~~~~~~
gmake: *** [Makefile:190: .obj/char_change_empire.o] Error 1
gmake: *** [Makefile:190: .obj/battle.o] Error 1
gmake: *** [Makefile:190: .obj/char_affect.o] Error 1
gmake: *** [Makefile:190: .obj/building.o] Error 1
gmake: *** [Makefile:190: .obj/char_cards.o] Error 1
gmake: *** [Makefile:192: .obj/char_battle.o] Error 1
gmake: *** [Makefile:190: .obj/char.o] Error 1
Arkadaslar kod çok uzun oldugundan birazını kesmek zorunda kaldım. // Src de sorun oldugunu dusunmuyorum cunku bir cok kısıde sorun yok
pkg info:
Linkleri görebilmek için
giriş yap veya kayıt ol.