-
Posts
129 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by SukH
-
-
wow thanks is awesome
-
@Denis
skype please am waiting for u -.-
-
#MrQuin helped me to solve it
Open your > uiToolTip.py
Search : def GetMetinSocketType(self, number): after this function: elif "USE_PUT_INTO_ACCESSORY_SOCKET" == item.GetUseType(number): return player.METIN_SOCKET_TYPE_SILVER Add Below: ##Fix MrQuin elif "USE_PUT_INTO_BELT_SOCKET" == item.GetUseType(number): return player.METIN_SOCKET_TYPE_SILVER
All credit goes to : MrQuin
Thanks a lot
- 1
-
-
Hello guys ,
Anyone can help me solve this bugg
Explanation;
I open a slots in Belt but the bugg is when i add the Red Stones into Belt slots then the stones are added succesfully but i can not see the stones is getting visual bugg i think.
https://metin2.download/picture/WVtpTS3pBkSy399skuq6n81QwnV9Asw8/.gif
And this other errores of Client please please help me i try to solve but i don`t find solution
0507 21:15:21148 :: FAILED CPythonPlayer::GetItemTypeBySlot() Cell(1, 31) item is null- 1
-
1 hour ago, alexghinet said:
everything works but i just need a function to destroy items
is not work i have try and waste time like 6 hourse yesterday to fix if i was fixing 1 bugg and come out another so i will suggest to remove it
-
i have same problem i can not Storage a Books and take out from there any item and Destroy it
When i try to buy from Offlineshop the item disappearse You should remove that system i think i delete it i will order to someby can code my from 0
- 1
-
-
Hello,
I wanna ask just because i didn`t find solution how do extend of safebox ?
If there just 1 page in Fafebox i wanna ad 3 more so it can be 4 pages
Anyone have any guide to do that ?
Thnx for your support
-
@VegaS™ i just removed those command because it`s not usefull anymore i guess xd better than fix it
- 2
-
if (do_hair) look like this
ACMD(do_hair) { char buf[256]; if (false == FN_hair_affect_string(ch, buf, sizeof(buf))) return; ch->ChatPacket(CHAT_TYPE_INFO, buf); }
so i change to this or what ?
ACMD(do_hair) { char buf[256]; const char * cPointString = FN_point_string(attr.bType); if (!*cPointString) continue; snprintf(buf, bufferSize, cPointString, attr.sValue); return; ch->ChatPacket(CHAT_TYPE_INFO, buf); }
-
Solved please closed
-
Hey Metin2dev
We have upgraded the source so that i can compile it in Upper newest version of Freebsd 12.1 32 bits but i got this error
When i put the "game" and "db" in my files on VPS Freebsd 12.1 64 bits it`s giving me this error
ld-elf32.so.1: Shared object "libcryptopp.so.8" not found, required by "game"
I already Run " pkg install cryptopp " and still same error
2nd , I upload my serverfiles on Freebsd 12.1 32 bits and i got " game.core" in cd / usr/game/Auth
and after do gdb i got this on Core
When i try to Login in my server still here
My " db" and "game " Compile fine but i got those errors
Thanks for u help please
-
Hello Metin2Dev
Am looking for a c++ , python service contact me via PM
Thanks
-
Please close already fixed
-
Hey Hello community
I have an problem with costume weapon i just back to Metin2 please help me
Costume weapon by "LennT" buyed version a when he released
If you see this GIF you can see when i equip the costume weapon it discrese the damage of my Char and just follow my mouse instrucccions
https://metin2.download/picture/NDlka55XmB47lI2SR0T4BMYWf7Cz5b55/.gif
Second bugg i found is that after using /ip command still my Skin visual
Thanks for everyone helps Lennt don`t wanna give support so i came here he didn`t reply me
- 1
- 1
-
-
i got this error
when i try to install
cd /usr/ports/lang/gcc && make install clean
I Install this
pkg install gcc
i so is installed succesfully but i try to compile
gmake clean
gmake -j20
i got this result
Spoilerfrom ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_manager.cpp:5:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_item.cpp:7:
/usr/local/lib/gcc9/include/c++/streambuf:176:6: error: 'basic_stringn file included from stdafx.h:37,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::RegisterObserverPtr(LPCHARACTER, DWORD, WORD, WORD)':
arena.cpp:1074:11: error: 'm_listArena' was not declared in this scope
1074 | itertype(m_listArena) iter = m_listArena.begin();
| ^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
105 | #define itertype(v) typeof((v).begin())
| ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^
m' has not been declared
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
arena.cpp:1078:21: error: invalid type argument of unary '*' (have 'int')
1078 | CArena* pArena = *iter;
| ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const'
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~~
/usr/local/lib/gcc9/include/c++/streambuf:176:18: error: expected ',' or '...' before '<' token
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: reference to 'basic_string' is ambiguous
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_manager.cpp:5:
/usr/local/char_change_empire.cpp: In member function 'DWORD CHARACTER::GetAID() const':
char_change_empire.cpp:187:1: warning: control reaches end of non-void function [-Wreturn-type]
187 | }
| ^
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
lib/gcc9/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous
284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
| ^~~~~~~~~~~~
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_item.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_item.cpp:7:
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: 'basic_stringn 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_manager.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/char_change_empire.o] Error 1
m' has not been declared
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_manager.cpp:5:
/usr/local//usr/local/lib/gcc9/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^
lib/gcc9/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token
284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
| ^
gmake: *** [Makefile:134: OBJDIR/char_affect.o] Error 1
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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/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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' redeclared as different kind of entity
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^~~~
mchar.h:4,
from char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous
81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
| ^~~~~~~~~~~~
In file included 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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/hash.hpp:307:24: note: previous declaration 'std::size_t boost::hash_value(long double)'
307 | inline std::size_t hash_value(long double v)
| ^~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included 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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: reference to 'list' is ambiguous
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^~~~
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_manager.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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_quickslot.cpp:3:
../../../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;
| ^~~~
mchar.h:4,
from char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token
81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
| ^
In file included 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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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/gcc9/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const':
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope
86 | return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
| ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^
1mchar.h:4,
from char_item.cpp:7:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
96 | const basic_string<_CharT>& __tn = __np.truename();
| ^~~~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const'
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope
87 | __s2.data(), __s2.data() + __s2.length()) < 0);
| ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' redeclared as different kind of entity
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~
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_item.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included 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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/hash.hpp:307:24: note: previous declaration 'std::size_t boost::hash_value(long double)'
307 | inline std::size_t hash_value(long double v)
| ^~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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/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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: reference to 'list' is ambiguous
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~
1mchar.h:4,
from char_item.cpp:7:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
97 | _M_truename_size = __tn.size();
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
101 | const basic_string<_CharT>& __fn = __np.falsename();
| ^~~~~~~~~~~~
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_quickslot.cpp:3:
../../../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 /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/streambuf: At global scope:
/usr/local/lib/gcc9/incluIn file included 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_quickslot.cpp:3:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^
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_item.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
de/c++/streambuf:176:6: error: reference to 'basic_string' is ambiguous
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from char_battle.cpp:23:
arena.h:82:2: error: reference to 'list' is ambiguous
82 | std::list<CArena*> m_listArena;
| ^~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const'
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~~
1mchar.h:4,
from char_item.cpp:7:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
102 | _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 char.h:4,
from char_manager.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_battle.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/streambuf:176:6: error: 'basic_strinIn 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'
81 | template <class T, class Allocator> class list;
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/locag' has not been declared
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/battle.o] Error 1
l/lib/gcc9/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous
284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
| ^~~~~~~~~~~~
/usr/local/lib/gcc9/include/c++/streambuf:176:18: error: expected ',' or '...' before '<' token
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: reference to 'basic_string' is ambiguous
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
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_quickslot.cpp:3:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/locaIn 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_manager.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
l/lib/gcc9/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token
284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
| ^
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: 'basic_string' has not been declared
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/arena.o] Error 1
/usr/local/lib/gcc9/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous
81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
| ^~~~~~~~~~~~
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_item.cpp:7:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: uIn file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
nnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
154 | failed ************ (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 char_quickslot.cpp:3:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
159 | failed ************ (boost::mpl::not_<Pred>::************
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token
81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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/gcc9/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const':
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope
86 | return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
| ^~~~
1mchar.h:4,
from char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
96 | const basic_string<_CharT>& __tn = __np.truename();
| ^~~~~~~~~~~~
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope
87 | __s2.data(), __s2.data() + __s2.length()) < 0);
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_manager.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
97 | _M_truename_size = __tn.size();
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/streambuf: At global scope:
/usr/local/lib/gcc9/inc/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
101 | const basic_string<_CharT>& __fn = __np.falsename();
| ^~~~~~~~~~~~
lude/c++/streambuf:176:6: error: reference to 'basic_string' is ambiguous
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_manager.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
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_quickslot.cpp:3:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/streambuf:176:6: error: 'basic_strIn file included 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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' redeclared as different kind of entity
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^~~~
1mchar.h:4,
from char_manager.cpp:5:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
102 | _M_falsename_size = __fn.size();
| ^~~~
ing' has not been declared
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
In file included 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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/hash.hpp:307:24: note: previous declaration 'std::size_t boost::hash_value(long double)'
307 | inline std::size_t hash_value(long double v)
| ^~~~~~~~~~
/usr/local/lib/gcc9/include/c++/streambuf:176:18: error: expected ',' or '...' before '<' token
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^
In file included 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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: reference to 'list' is ambiguous
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^~~~
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: reference to 'basic_string' is ambiguous
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_resist.cpp:4:
../../../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 ../../../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_quickslot.cpp:3:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included 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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^
In file included from char.cpp:43:
target.h:66:38: error: template argument 2 is invalid
66 | std::map<DWORD, std::list<LPEVENT> > m_map_kListEvent;
| ^
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: 'basic_str../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^
target.h:66:38: error: template argument 4 is invalid
ing' has not been declared
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
In file included from char_item.cpp:7:
char.h:965:9: error: reference to 'list' is ambiguous
965 | const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
| ^~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const'
38 | std::size_t hash_value(std::list<T, A> const& v);
| ^~~~~
/usr/local/lib/gcc9/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' redeclared as different kind of entity
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~
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_item.cpp:7:
../../../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 ../../../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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/hash.hpp:307:24: note: previous declaration 'std::size_t boost::hash_value(long double)'
307 | inline std::size_t hash_value(long double v)
| ^~~~~~~~~~
In file included from char_item.cpp:7:
char.h:971:3: error: reference to 'list' is ambiguous
971 | std::list<CAffect *> m_list_pkAffect;
| ^~~
In file included 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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: reference to 'list' is ambiguous
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~
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_manager.cpp:5:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: n file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 Kunnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
154 | failed ************ (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 char_item.cpp:7:
../../../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 /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
1mchar.h:4,
from char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
96 | const basic_string<_CharT>& __tn = __np.truename();
| ^~~~~~~~~~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
159 | failed ************ (boost::mpl::not_<Pred>::************
| ^
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_resist.cpp:4:
../../../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 ../../../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_quickslot.cpp:3:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included 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_resist.cpp:4:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 ../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^
1mchar.h:4,
from char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
97 | _M_truename_size = __tn.size();
| ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const'
69 | std::size_t hash_value(std::list<T, A> const& v)
| ^~~~~
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
101 | const basic_string<_CharT>& __fn = __np.falsename();
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lIn file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
ib/gcc9/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous
284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
| ^~~~~~~~~~~~
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_quickslot.cpp:3:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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_resist.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
1mchar.h:4,
from char_quickslot.cpp:3:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
102 | _M_falsename_size = __fn.size();
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token
284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
| ^
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous
81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from char_manager.cpp:5:
char.h:965:9: error: reference to 'list' is ambiguous
965 | 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_resist.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from char.cpp:49:
arena.h:82:2: error: reference to 'list' is ambiguous
82 | std::list<CArena*> m_listArena;
| ^~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
from /usr/local/lib/gcc9/include/c++/ios:42,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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_manager.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;
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
mchar.h:4,
from char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token
81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
| ^
In file included from char_manager.cpp:5:
char.h:971:3: error: reference to 'list' is ambiguous
971 | std::list<CAffect *> 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.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 ../../../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_quickslot.cpp:3:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: n file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_manager.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
munnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
154 | failed ************ (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 char_manager.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;
| ^~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
159 | failed ************ (boost::mpl::not_<Pred>::************
| ^
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const':
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope
86 | return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
| ^~~~
/usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope
87 | __s2.data(), __s2.data() + __s2.length()) < 0);
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/streambuf: At global scope:
/usr/local/lib/gcc9/include/c++/streambuf:176:6: error: reference to 'basic_string' is ambiguous
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:785:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
785 | if (GetLevel() - pkAttacker->GetLevel() >= -10)
| ^
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_resist.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/streambuf:176:6: error: 'basic_string' has not been declared
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^~~~~~~~~~~~
/usr/local/lib/gcc9/include/c++/streambuf:176:18: error: expected ',' or '...' before '<' token
176 | basic_string<_CharT2, _Traits2, _Alloc>&);
| ^
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: reference to 'basic_string' is ambiguous
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_resist.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/ios:43,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/streambuf:181:3: error: 'basic_string' has not been declared
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^~~~~~~~~~~~
In file included from stdafx.h:37,
from char_battle.cpp:1:
char_battle.cpp: In member function 'void CHARACTER::DeadTrade(LPCHARACTER, bool)':
char_battle.cpp:1513:12: error: 'm_list_pkAffect' was not declared in this scope
1513 | 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())
| ^
/usr/local/lib/gcc9/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
| ^
char_battle.cpp:1516:38: error: invalid type argument of unary '*' (have 'int')
1516 | SendAffectAddPacket(GetDesc(), *it++);
| ^~
In file included from char_quickslot.cpp:3:
char.h:965:9: error: reference to 'list' is ambiguous
965 | const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
| ^~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | 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_quickslot.cpp:3:
../../../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.cpp: In member function 'virtual void CHARACTER::EncodeInsertPacket(LPENTITY)':
char.cpp:1046:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
1046 | if (IsOfflineShopNPC() && GetRaceNum() == 30000 || GetRaceNum() == 30001 || GetRaceNum() == 30002 || GetRaceNum() == 30003|| GetRaceNum() == 30004|| GetRaceNum() == 30005 || GetRaceNum() == 30006 || GetRaceNum() == 30007)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from stdafx.h:37,
from char_battle.cpp:1:
char_battle.cpp: In member function 'void CHARACTER::Dead(LPCHARACTER, bool)':
char_battle.cpp:1866:12: error: 'm_list_pkAffect' was not declared in this scope
1866 | 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())
| ^
In file included from char_quickslot.cpp:3:
char.h:971:3: error: reference to 'list' is ambiguous
971 | std::list<CAffect *> m_list_pkAffect;
| ^~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_quickslot.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | class list : protected _List_base<_Tp, _Alloc>
| ^~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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.cpp:1054:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
1054 | std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT sign FROM player.offline_shop_npc WHERE owner_id = %u", GetOfflineShopRealOwner()));
| ^~~~~~~~
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_quickslot.cpp:3:
../../../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;
| ^~~~
1mchar.h:4,
from char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
96 | const basic_string<_CharT>& __tn = __np.truename();
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/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.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
char_battle.cpp:1869:38: error: invalid type argument of unary '*' (have 'int')
1869 | SendAffectAddPacket(GetDesc(), *it++);
| ^~
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_resist.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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.cpp:1059:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
1059 | std::auto_ptr<SQLMsg> pMsg1(DBManager::instance().DirectQuery("SELECT npc_decoration FROM player.offline_shop_npc WHERE owner_id = %u", GetOfflineShopRealOwner()));
| ^~~~~~~~
1mchar.h:4,
from char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
97 | _M_truename_size = __tn.size();
| ^~~~
In file included from /usr/local/lib/gcc9/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.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
101 | const basic_string<_CharT>& __fn = __np.falsename();
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/string:39,
from /usr/local/lib/gcc9/include/c++/stdexcept:39,
from /usr/local/lib/gcc9/include/c++/array:39,
from /usr/local/lib/gcc9/include/c++/tuple:39,
from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc9/include/c++/map:61,
from stdafx.h:18,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
74 | class basic_string;
| ^~~~~~~~~~~~
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_resist.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
63 | template <class charT, class traits, class Allocator> class basic_string;
| ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc9/include/c++/ios:44,
from /usr/local/lib/gcc9/include/c++/ostream:38,
from /usr/local/lib/gcc9/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 char_resist.cpp:4:
/usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
102 | _M_falsename_size = __fn.size();
| ^~~~
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_resist.cpp:4:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
154 | failed ************ (Pred::************
| ^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
159 | failed ************ (boost::mpl::not_<Pred>::************
| ^
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:3038:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
3038 | if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/building.o] Error 1
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3246:27: warning: comparison of integer expressions of different signedness: 'DWORD' {aka 'unsigned int'} and 'int' [-Wsign-compare]
3246 | if (amount < 0 && exp < -amount)
| ~~~~^~~~~~~~~
char.cpp: In member function 'void CHARACTER::OpenMyOfflineShop(const char*, TOfflineShopItemTable*, BYTE, BYTE)':
char.cpp:4352:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
4352 | std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT COUNT(*) FROM %soffline_shop_item WHERE owner_id = %u and status = 1", get_table_postfix(), GetPlayerID()));
| ^~~~~~~~
In file included from /usr/local/lib/gcc9/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.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
char.cpp:4366:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
4366 | std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT COUNT(*) FROM %soffline_shop_npc WHERE owner_id = %u", get_table_postfix(), GetPlayerID()));
| ^~~~~~~~
In file included from /usr/local/lib/gcc9/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.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
char.cpp:4439:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
4439 | std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT coins FROM account.account WHERE id = %u", GetAID()));
| ^~~~~~~~
In file included from /usr/local/lib/gcc9/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.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
char.cpp:4564:9: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
4564 | std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szInsertQuery));
| ^~~~~~~~
In file included from char_resist.cpp:4:
char.h:965:9: error: reference to 'list' is ambiguous
965 | const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
| ^~~
In file included from /usr/local/lib/gcc9/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.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | 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_resist.cpp:4:
../../../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 char_resist.cpp:4:
char.h:971:3: error: reference to 'list' is ambiguous
971 | std::list<CAffect *> m_list_pkAffect;
| ^~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_resist.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | 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_resist.cpp:4:
../../../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;
| ^~~~
gmake: *** [Makefile:134: OBJDIR/char_quickslot.o] Error 1
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:7055:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
7055 | return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/char_resist.o] Error 1
In file included from char_item.cpp:40:
arena.h:82:2: error: reference to 'list' is ambiguous
82 | std::list<CArena*> m_listArena;
| ^~~
In file included from /usr/local/lib/gcc9/include/c++/list:63,
from stdafx.h:17,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
552 | 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_item.cpp:7:
../../../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 char_item.cpp:51:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper::TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
28 | if (level >= _countof(beltGradeByLevelTable))
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp:1793:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
1793 | std::auto_ptr<SQLMsg> pmsg2(DBManager::instance().DirectQuery(szQuery1));
| ^~~~~~~~
In file included from /usr/local/lib/gcc9/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_item.cpp:7:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
gmake: *** [Makefile:134: OBJDIR/char_battle.o] Error 1
char_item.cpp:2132:41: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
2132 | std::vector <LPITEM> item_gets(NULL);
| ^
In file included from /usr/local/lib/gcc9/include/c++/vector:67,
from /usr/local/lib/gcc9/include/c++/queue:61,
from stdafx.h:20,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_vector.h:507:24: note: declared here
507 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ~~~~~~~~~~^~~
char_item.cpp:2196:40: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
2196 | std::vector <LPITEM> item_gets(NULL);
| ^
In file included from /usr/local/lib/gcc9/include/c++/vector:67,
from /usr/local/lib/gcc9/include/c++/queue:61,
from stdafx.h:20,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_vector.h:507:24: note: declared here
507 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ~~~~~~~~~~^~~
char_item.cpp:2556:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
2556 | sprintf(buf, "Inc %ds by item{VN:%d SOC%d:%d}", ret, item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long int
| %ld
char_item.cpp:2560:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
2560 | sprintf(buf, "Inc %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long int
| %ld
char_item.cpp:2572:56: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
2572 | sprintf(buf, "No change by item{VN:%d SOC%d:%d}", item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long int
| %ld
char_item.cpp:2576:56: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
2576 | sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long int
| %ld
char_item.cpp:2603:58: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
2603 | sprintf(buf, "Increase %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long int
| %ld
char_item.cpp:2611:55: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
2611 | sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long int
| %ld
char_item.cpp:2714:15: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
2714 | std::auto_ptr<SQLMsg> pmsg(DBManager::instance().DirectQuery(QueryWorld));
| ^~~~~~~~
In file included from /usr/local/lib/gcc9/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_item.cpp:7:
/usr/local/lib/gcc9/include/c++/bits/unique_ptr.h:53:28: note: declared here
53 | template<typename> class auto_ptr;
| ^~~~~~~~
char_item.cpp:3803:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
3803 | std::vector <LPITEM> item_gets(NULL);
| ^
In file included from /usr/local/lib/gcc9/include/c++/vector:67,
from /usr/local/lib/gcc9/include/c++/queue:61,
from stdafx.h:20,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_vector.h:507:24: note: declared here
507 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ~~~~~~~~~~^~~
char_item.cpp:3807:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
3807 | if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
char_item.cpp:3827:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
3827 | std::vector <LPITEM> item_gets(NULL);
| ^
In file included from /usr/local/lib/gcc9/include/c++/vector:67,
from /usr/local/lib/gcc9/include/c++/queue:61,
from stdafx.h:20,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_vector.h:507:24: note: declared here
507 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ~~~~~~~~~~^~~
char_item.cpp:3831:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
3831 | if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
char_item.cpp:3850:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
3850 | std::vector <LPITEM> item_gets(NULL);
| ^
In file included from /usr/local/lib/gcc9/include/c++/vector:67,
from /usr/local/lib/gcc9/include/c++/queue:61,
from stdafx.h:20,
from char_item.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_vector.h:507:24: note: declared here
507 | vector(size_type __n, const allocator_type& __a = allocator_type())
| ~~~~~~~~~~^~~
char_item.cpp:5291:28: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
5291 | if (item->GetSocket(0) >= _countof(aApplyInfo))
char.cpp: In member function 'DWORD CHARACTER::PetGetNextExp() const':
char.cpp:8002:1: warning: control reaches end of non-void function [-Wreturn-type]
8002 | }
| ^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5556:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
5556 | if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
| ~~~~~~~~~~~~~~~~^~~~~~~~
char_item.cpp:5396:7: warning: unused variable 'wDestCell' [-Wunused-variable]
5396 | WORD wDestCell = DestCell.cell;
| ^~~~~~~~~
char_item.cpp:5397:7: warning: unused variable 'bDestInven' [-Wunused-variable]
5397 | BYTE bDestInven = DestCell.window_type;
| ^~~~~~~~~~
char_item.cpp: In member function 'bool CHARACTER::MoveItem(TItemPos, TItemPos, BYTE)':
char_item.cpp:5946:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
5946 | if (itemDestSize == 1 && itemDest->GetCell() >= 40 && itemDest->GetCell() < 45 || itemDestSize == 1 && itemDest->GetCell() >= 85 && itemDest->GetCell() < 90)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
char_item.cpp:5953:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
5953 | if (itemDestSize == 1 && itemSrcSize == 3 && itemDest->GetCell() >= 35 && itemDest->GetCell() < 40 || itemDestSize == 1 && itemSrcSize == 3 && itemDest->GetCell() >= 80 && itemDest->GetCell() < 85)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
char_item.cpp:5960:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
5960 | if (itemDestSize == 2 && itemSrcSize == 3 && itemDest->GetCell() >= 35 && itemDest->GetCell() < 40 || itemDestSize == 2 && itemSrcSize == 3 && itemDest->GetCell() >= 80 && itemDest->GetCell() < 85)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
char_item.cpp: In member function 'bool CHARACTER::EquipItem(LPITEM, int)':
char_item.cpp:6749:114: warning: array subscript has type 'char' [-Wchar-subscripts]
6749 | long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/char.o] Error 1
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(LPITEM)':
char_item.cpp:6844:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
6844 | for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:134: OBJDIR/char_manager.o] Error 1
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(LPITEM)':
char_item.cpp:6856:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
6856 | for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
char_item.cpp: In member function 'bool CHARACTER::InformationSpecialItemGroup(DWORD, std::vector<unsigned int>&, std::vector<unsigned int>&, std::vector<CItem*>&, int&)':
char_item.cpp:7719:20: warning: comparison of integer expressions of different signedness: 'int' and 'DWORD' {aka 'unsigned int'} [-Wsign-compare]
7719 | for (int i = 0; i < CountTotal; i++)
| ~~^~~~~~~~~~~~
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:689:1: warning: control reaches end of non-void function [-Wreturn-type]
689 | }
| ^
gmake: *** [Makefile:134: OBJDIR/char_item.o] Error 1
root@srv030086:/usr/src/Source/game/src # 6c6c
Here i paste what i got
-
Hey Metin2dev,
I have a problem i was compile my source in 9.3 32 bits but it seem they not support anymore that version
now am trying to compile in FreeBSD 12.1 32 bits i have prepare my vps and all but i had this error please help me
I Need help please i want to compile it in freebsd 12.1 32 bits
Best choice? (Web Host/Dedicated)
in Community Support - Questions & Answers
Posted
i use OVH dedicated from 6 years and never got any problem