HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Hallo allerseits, ich verwende "BestProduction Serverfiles v4". Beim Kompilieren von Serverdateien ist ein Fehler aufgetreten. Vielleicht weiß jemand, was dieser Fehler bedeutet
[CODE title = "Error" highlight = "gmake: *** [Makefile: 128: OBJDIR / char_skill.o] Error 1"] gmake: *** [Makefile: 128: OBJDIR / char_skill.o] Error 1
[/ Code]
[SPOILER = "Whole ERROR"]
Compile: char_resist.cpp
Compile: char_skill.cpp
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/extensions.hpp:269:30: error: no matching function for call to 'hash_value(const VID&)'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/intrusive_ptr.hpp:16,
from event.h:10,
from stdafx.h:39,
from char_skill.cpp:1:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:317:33: note: candidate: 'template<class T> std::size_t boost::hash_value(const boost::intrusive_ptr<T>&)'
317 | template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p )
| ^~~~~~~~~~
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:317:33: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' is not derived from 'const boost::intrusive_ptr<T>'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:194:57: note: candidate: 'template<class T> typename boost::hash_detail::basic_numbers<T>::type boost::hash_value(T '
194 | typename boost::hash_detail::basic_numbers<T>::type hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:194:57: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::basic_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:194:57: error: no type named 'type' in 'struct boost::hash_detail::basic_numbers<VID>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:200:56: note: candidate: 'template<class T> typename boost::hash_detail::long_numbers<T>::type boost::hash_value(T)'
200 | typename boost::hash_detail::long_numbers<T>::type hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:200:56: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::long_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:200:56: error: no type named 'type' in 'struct boost::hash_detail::long_numbers<VID>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:206:57: note: candidate: 'template<class T> typename boost::hash_detail::ulong_numbers<T>::type boost::hash_value(T '
206 | typename boost::hash_detail::ulong_numbers<T>::type hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:206:57: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::ulong_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:206:57: error: no type named 'type' in 'struct boost::hash_detail::ulong_numbers<VID>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:213:9: note: candidate: 'template<class T> typename boost::enable_if<boost::is_enum<T>, unsigned int>::type boost::hash_value(T)'
213 | hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:213:9: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::enable_if<boost::is_enum<T>, unsigned int>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:213:9: error: no type named 'type' in 'struct boost::enable_if<boost::is_enum<VID>, unsigned int>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'
char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:220:36: note: candidate: 'template<class T> std::size_t boost::hash_value(T* const&)'
220 | template <class T> std::size_t hash_value(T* const& v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:220:36: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: mismatched types 'T* const' and 'const VID'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:313:24: note: candidate: 'template<class T, unsigned int N> std::size_t boost::hash_value(const T (&)[N])'
313 | inline std::size_t hash_value(const T (&x)[N])
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:313:24: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: mismatched types 'const T [N]' and 'const VID'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:319:24: note: candidate: 'template<class T, unsigned int N> std::size_t boost::hash_value(T (&)[N])'
319 | inline std::size_t hash_value(T (&x)[N])
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:319:24: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: mismatched types 'T [N]' and 'const VID'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:326:24: note: candidate: 'template<class Ch, class A> std::size_t boost::hash_value(const std::__cxx11::basic_string<Ch, std::char_traits<_CharT>, A>&)'
326 | inline std::size_t hash_value(
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:326:24: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' is not derived from 'const std::__cxx11::basic_string<Ch, std::char_traits<_CharT>, A>'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
von char_skill.cpp: 7:
/usr/include/boost/functional/hash/hash.hpp:333:57: note: candidate: 'template <class T> typname boost :: hash_detail :: float_numbers <T> :: typ boost :: hash_value (T'
333 | Typenname boost :: hash_detail :: float_numbers <T> :: Typ hash_value (T v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:333:57: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/hash.hpp: In Substitution von 'template <class T> Typname boost :: hash_detail :: float_numbers <T> :: Typ boost :: hash_value (T) [mit T = VID ]:
/usr/include/boost/functional/hash/extensions.hpp:269:30: erforderlich ab 'std :: size_t boost :: hash <T> :: operator () (const T &) const [mit T = VID; std :: size_t = unsigned int] '
/usr/include/boost/unordered/detail/buckets.hpp:599:22: erforderlich ab 'static SizeT boost :: unordered :: detail :: prime_policy <SizeT> :: apply_hash (const Hash &, const T &) [mit Hash = boost :: hash <VID>; T = VID; SizeT = unsigned int] '
/usr/include/boost/unordered/detail/table.hpp:758:38: Erforderlich ab 'std :: size_t boost :: unordered :: detail :: table <Types> :: Hash (const key_type &) const [with Types = boost :: unordered :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int>, VID, vorzeichenloses int, boost :: hash, std :: equal_to <VID> >; std :: size_t = unsigned int; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/detail/table.hpp:784:32: erforderlich ab 'boost :: unordered :: detail :: table <Types> :: iterator boost :: unordered :: detail :: table <Types > :: find_node (const key_type &) const [mit Types = boost :: ungeordnet :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int >>, VID, vorzeichenloses int, boost :: hash <VID>, std :: equal_to <VID >>; boost :: unordered :: detail :: table <Typen> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int> >>; typename Typen :: node = boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/unordered_map.hpp:1212:34: erforderlich ab 'boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator boost :: unordered :: unordered_map <K , T, H, P, A> :: find (const key_type &) [mit K = VID; T = vorzeichenloses int; H = boost :: hash <VID>; P = std :: equal_to <VID>; A = std :: allocator <std :: pair <konstante VID, vorzeichenloses int >>; boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>>; boost :: unordered :: unordered_map <K, T, H, P, A> :: key_type = VID] '
char_skill.cpp: 4337: 103: von hier aus erforderlich
/usr/include/boost/functional/hash/hash.hpp:333:57: Fehler: Kein Typ mit dem Namen 'type' in 'struct boost :: hash_detail :: float_numbers <VID>'
/usr/include/boost/functional/hash/extensions.hpp: In der Instanziierung von 'std :: size_t boost :: hash <T> :: operator () (const T &) const [mit T = VID; std :: size_t = unsigned int] ':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: erforderlich ab 'static SizeT boost :: unordered :: detail :: prime_policy <SizeT> :: apply_hash (const Hash &, const T &) [mit Hash = boost :: hash <VID>; T = VID; SizeT = unsigned int] '
/usr/include/boost/unordered/detail/table.hpp:758:38: Erforderlich ab 'std :: size_t boost :: unordered :: detail :: table <Types> :: Hash (const key_type &) const [with Types = boost :: unordered :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int>, VID, vorzeichenloses int, boost :: hash, std :: equal_to <VID> >; std :: size_t = unsigned int; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/detail/table.hpp:784:32: erforderlich ab 'boost :: unordered :: detail :: table <Types> :: iterator boost :: unordered :: detail :: table <Types > :: find_node (const key_type &) const [mit Types = boost :: ungeordnet :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int >>, VID, vorzeichenloses int, boost :: hash <VID>, std :: equal_to <VID >>; boost :: unordered :: detail :: table <Typen> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int> >>; typename Typen :: node = boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/unordered_map.hpp:1212:34: erforderlich ab 'boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator boost :: unordered :: unordered_map <K , T, H, P, A> :: find (const key_type &) [mit K = VID; T = vorzeichenloses int; H = boost :: hash <VID>; P = std :: equal_to <VID>; A = std :: allocator <std :: pair <konstante VID, vorzeichenloses int >>; boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>>; boost :: unordered :: unordered_map <K, T, H, P, A> :: key_type = VID] '
char_skill.cpp: 4337: 103: von hier aus erforderlich
/usr/include/boost/functional/hash/hash.hpp:339:24: Anmerkung: Kandidat: 'std :: size_t boost :: hash_value (std :: type_index)'
339 | inline std :: size_t hash_value (std :: type_index v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:339:51: Anmerkung: Keine bekannte Konvertierung für Argument 1 von 'const VID' in 'std :: type_index'
339 | inline std :: size_t hash_value (std :: type_index v)
| ~~~~~~~~~~~~~~~~ ^
In der Datei aus /usr/include/boost/functional/hash/hash.hpp:540 enthalten,
von /usr/include/boost/functional/hash.hpp:6,
von /usr/include/boost/unordered/unordered_map.hpp:20,
von /usr/include/boost/unordered_map.hpp:16,
ab Char.h: 4,
von char_skill.cpp: 7:
/usr/include/boost/functional/hash/extensions.hpp:70:17: note: candidate: 'template <Klasse A, Klasse B> std :: size_t boost :: hash_value (const std :: pair <_T1, _T2 > &)
70 | std :: size_t hash_value (std :: pair <A, B> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:70:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: pair <_T1, _T2>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:79:17: note: candidate: 'template <Klasse T, Klasse A> std :: size_t boost :: hash_value (const std :: vector <_Tp, _Alloc > &)
79 | std :: size_t hash_value (std :: vector <T, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:79:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: vector <_Tp, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:85:17: note: candidate: 'template <Klasse T, Klasse A> std :: size_t boost :: hash_value (const std :: __ cxx11 :: list < _Tp, _Alloc> &) '
85 | std :: size_t hash_value (std :: list <T, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:85:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: __ cxx11 :: list <_Tp, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:91:17: note: candidate: 'template <Klasse T, Klasse A> std :: size_t boost :: hash_value (const std :: deque <_Tp, _Alloc > &)
91 | std :: size_t hash_value (std :: deque <T, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:91:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: deque <_Tp, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:97:17: note: candidate: 'template <Klasse K, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std :: set < _Key, _Compare, _Alloc> &) '
97 | std :: size_t hash_value (std :: set <K, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:97:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: set <_Key, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:103:17: note: candidate: 'template <Klasse K, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std :: multiset < _Key, _Compare, _Alloc> &) '
103 | std :: size_t hash_value (std :: multiset <K, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:103:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: multiset <_Key, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:109:17: note: candidate: 'template <Klasse K, Klasse T, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std: : map <_Key, _Tp, _Compare, _Alloc> &) '
109 | std :: size_t hash_value (std :: map <K, T, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:109:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: map <_Key, _Tp, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:115:17: note: candidate: 'template <Klasse K, Klasse T, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std: : multimap <_Key, _Tp, _Compare, _Alloc> &) '
115 | std :: size_t hash_value (std :: multimap <K, T, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:115:17: Anmerkung: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: multimap <_Key, _Tp, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:121:17: note: candidate: 'template <klasse T> std :: size_t boost :: hash_value (const std :: complex <_Tp> &)'
121 | std :: size_t hash_value (std :: complex <T> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:121:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: complex <_Tp>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:131:17: note: candidate: 'template <klasse T, vorzeichenloses int N> std :: size_t boost :: hash_value (const std :: array <_Tp, _Nm> &)
131 | std :: size_t hash_value (std :: array <T, N> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:131:17: Anmerkung: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: array <_Tp, _Nm>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:166:24: note: candidate: 'template <klasse ... T> std :: size_t boost :: hash_value (const std :: tuple <_Tps .. .> &)
166 | inline std :: size_t hash_value (std :: tuple <T ...> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:166:24: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: tuple <_Tps ...>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:196:24: note: candidate: 'template <klasse T> std :: size_t boost :: hash_value (const std :: shared_ptr <_Tp> &)'
196 | inline std :: size_t hash_value (std :: shared_ptr <T> const & x) {
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:196:24: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: shared_ptr <_Tp>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:201:24: note: candidate: 'template <Klasse T, Klasse Deleter> std :: size_t boost :: hash_value (const std :: unique_ptr <_Tp, _Dp > &)
201 | inline std :: size_t hash_value (std :: unique_ptr <T, Deleter> const & x) {
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:201:24: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: unique_ptr <_Tp, _Dp>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
gmake: *** [Makefile: 128: OBJDIR / char_skill.o] Fehler 1
[/ SPOILER]
[CODE title = "Error" highlight = "gmake: *** [Makefile: 128: OBJDIR / char_skill.o] Error 1"] gmake: *** [Makefile: 128: OBJDIR / char_skill.o] Error 1
[/ Code]
[SPOILER = "Whole ERROR"]
Compile: char_resist.cpp
Compile: char_skill.cpp
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/extensions.hpp:269:30: error: no matching function for call to 'hash_value(const VID&)'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/intrusive_ptr.hpp:16,
from event.h:10,
from stdafx.h:39,
from char_skill.cpp:1:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:317:33: note: candidate: 'template<class T> std::size_t boost::hash_value(const boost::intrusive_ptr<T>&)'
317 | template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p )
| ^~~~~~~~~~
/usr/include/boost/smart_ptr/intrusive_ptr.hpp:317:33: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' is not derived from 'const boost::intrusive_ptr<T>'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:194:57: note: candidate: 'template<class T> typename boost::hash_detail::basic_numbers<T>::type boost::hash_value(T '
194 | typename boost::hash_detail::basic_numbers<T>::type hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:194:57: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::basic_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:194:57: error: no type named 'type' in 'struct boost::hash_detail::basic_numbers<VID>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:200:56: note: candidate: 'template<class T> typename boost::hash_detail::long_numbers<T>::type boost::hash_value(T)'
200 | typename boost::hash_detail::long_numbers<T>::type hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:200:56: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::long_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:200:56: error: no type named 'type' in 'struct boost::hash_detail::long_numbers<VID>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:206:57: note: candidate: 'template<class T> typename boost::hash_detail::ulong_numbers<T>::type boost::hash_value(T '
206 | typename boost::hash_detail::ulong_numbers<T>::type hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:206:57: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::ulong_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:206:57: error: no type named 'type' in 'struct boost::hash_detail::ulong_numbers<VID>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:213:9: note: candidate: 'template<class T> typename boost::enable_if<boost::is_enum<T>, unsigned int>::type boost::hash_value(T)'
213 | hash_value(T v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:213:9: note: template argument deduction/substitution failed:
/usr/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::enable_if<boost::is_enum<T>, unsigned int>::type boost::hash_value(T) [with T = VID]':
/usr/include/boost/functional/hash/extensions.hpp:269:30: required from 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]'/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:213:9: error: no type named 'type' in 'struct boost::enable_if<boost::is_enum<VID>, unsigned int>'
/usr/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>:
perator()(const T&) const [with T = VID; std::size_t = unsigned int]':/usr/include/boost/unordered/detail/buckets.hpp:599:22: required from 'static SizeT boost::unordered::detail:
rime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'/usr/include/boost/unordered/detail/table.hpp:758:38: required from 'std::size_t boost::unordered::detail::table<Types>::hash(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/detail/table.hpp:784:32: required from 'boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_node(const key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std:
air<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'/usr/include/boost/unordered/unordered_map.hpp:1212:34: required from 'boost::unordered::unordered_map<K, T, H, P, A>::iterator boost::unordered::unordered_map<K, T, H, P, A>::find(const key_type&) [with K = VID; T = unsigned int; H = boost::hash<VID>; P = std::equal_to<VID>; A = std::allocator<std:
air<const VID, unsigned int> >; boost::unordered::unordered_map<K, T, H, P, A>::iterator = boost::unordered::iterator_detail::iterator<boost::unordered::detail:
tr_node<std:
air<const VID, unsigned int> > >; boost::unordered::unordered_map<K, T, H, P, A>::key_type = VID]'char_skill.cpp:4337:103: required from here
/usr/include/boost/functional/hash/hash.hpp:220:36: note: candidate: 'template<class T> std::size_t boost::hash_value(T* const&)'
220 | template <class T> std::size_t hash_value(T* const& v)
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:220:36: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: mismatched types 'T* const' and 'const VID'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:313:24: note: candidate: 'template<class T, unsigned int N> std::size_t boost::hash_value(const T (&)[N])'
313 | inline std::size_t hash_value(const T (&x)[N])
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:313:24: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: mismatched types 'const T [N]' and 'const VID'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:319:24: note: candidate: 'template<class T, unsigned int N> std::size_t boost::hash_value(T (&)[N])'
319 | inline std::size_t hash_value(T (&x)[N])
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:319:24: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: mismatched types 'T [N]' and 'const VID'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/hash.hpp:326:24: note: candidate: 'template<class Ch, class A> std::size_t boost::hash_value(const std::__cxx11::basic_string<Ch, std::char_traits<_CharT>, A>&)'
326 | inline std::size_t hash_value(
| ^~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:326:24: note: template argument deduction/substitution failed:
In file included from /usr/include/boost/functional/hash/hash.hpp:540,
from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_skill.cpp:7:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' is not derived from 'const std::__cxx11::basic_string<Ch, std::char_traits<_CharT>, A>'
269 | return hash_value(val);
| ~~~~~~~~~~^~~~~
In file included from /usr/include/boost/functional/hash.hpp:6,
from /usr/include/boost/unordered/unordered_map.hpp:20,
from /usr/include/boost/unordered_map.hpp:16,
from char.h:4,
von char_skill.cpp: 7:
/usr/include/boost/functional/hash/hash.hpp:333:57: note: candidate: 'template <class T> typname boost :: hash_detail :: float_numbers <T> :: typ boost :: hash_value (T'
333 | Typenname boost :: hash_detail :: float_numbers <T> :: Typ hash_value (T v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:333:57: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/hash.hpp: In Substitution von 'template <class T> Typname boost :: hash_detail :: float_numbers <T> :: Typ boost :: hash_value (T) [mit T = VID ]:
/usr/include/boost/functional/hash/extensions.hpp:269:30: erforderlich ab 'std :: size_t boost :: hash <T> :: operator () (const T &) const [mit T = VID; std :: size_t = unsigned int] '
/usr/include/boost/unordered/detail/buckets.hpp:599:22: erforderlich ab 'static SizeT boost :: unordered :: detail :: prime_policy <SizeT> :: apply_hash (const Hash &, const T &) [mit Hash = boost :: hash <VID>; T = VID; SizeT = unsigned int] '
/usr/include/boost/unordered/detail/table.hpp:758:38: Erforderlich ab 'std :: size_t boost :: unordered :: detail :: table <Types> :: Hash (const key_type &) const [with Types = boost :: unordered :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int>, VID, vorzeichenloses int, boost :: hash, std :: equal_to <VID> >; std :: size_t = unsigned int; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/detail/table.hpp:784:32: erforderlich ab 'boost :: unordered :: detail :: table <Types> :: iterator boost :: unordered :: detail :: table <Types > :: find_node (const key_type &) const [mit Types = boost :: ungeordnet :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int >>, VID, vorzeichenloses int, boost :: hash <VID>, std :: equal_to <VID >>; boost :: unordered :: detail :: table <Typen> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int> >>; typename Typen :: node = boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/unordered_map.hpp:1212:34: erforderlich ab 'boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator boost :: unordered :: unordered_map <K , T, H, P, A> :: find (const key_type &) [mit K = VID; T = vorzeichenloses int; H = boost :: hash <VID>; P = std :: equal_to <VID>; A = std :: allocator <std :: pair <konstante VID, vorzeichenloses int >>; boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>>; boost :: unordered :: unordered_map <K, T, H, P, A> :: key_type = VID] '
char_skill.cpp: 4337: 103: von hier aus erforderlich
/usr/include/boost/functional/hash/hash.hpp:333:57: Fehler: Kein Typ mit dem Namen 'type' in 'struct boost :: hash_detail :: float_numbers <VID>'
/usr/include/boost/functional/hash/extensions.hpp: In der Instanziierung von 'std :: size_t boost :: hash <T> :: operator () (const T &) const [mit T = VID; std :: size_t = unsigned int] ':
/usr/include/boost/unordered/detail/buckets.hpp:599:22: erforderlich ab 'static SizeT boost :: unordered :: detail :: prime_policy <SizeT> :: apply_hash (const Hash &, const T &) [mit Hash = boost :: hash <VID>; T = VID; SizeT = unsigned int] '
/usr/include/boost/unordered/detail/table.hpp:758:38: Erforderlich ab 'std :: size_t boost :: unordered :: detail :: table <Types> :: Hash (const key_type &) const [with Types = boost :: unordered :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int>, VID, vorzeichenloses int, boost :: hash, std :: equal_to <VID> >; std :: size_t = unsigned int; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/detail/table.hpp:784:32: erforderlich ab 'boost :: unordered :: detail :: table <Types> :: iterator boost :: unordered :: detail :: table <Types > :: find_node (const key_type &) const [mit Types = boost :: ungeordnet :: detail :: map <std :: allocator <std :: pair <const VID, vorzeichenloses int >>, VID, vorzeichenloses int, boost :: hash <VID>, std :: equal_to <VID >>; boost :: unordered :: detail :: table <Typen> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int> >>; typename Typen :: node = boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>; boost :: unordered :: detail :: table <Types> :: key_type = VID] '
/usr/include/boost/unordered/unordered_map.hpp:1212:34: erforderlich ab 'boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator boost :: unordered :: unordered_map <K , T, H, P, A> :: find (const key_type &) [mit K = VID; T = vorzeichenloses int; H = boost :: hash <VID>; P = std :: equal_to <VID>; A = std :: allocator <std :: pair <konstante VID, vorzeichenloses int >>; boost :: unordered :: unordered_map <K, T, H, P, A> :: iterator = boost :: unordered :: iterator_detail :: iterator <boost :: unordered :: detail :: ptr_node <std :: pair <const VID, unsigned int >>>; boost :: unordered :: unordered_map <K, T, H, P, A> :: key_type = VID] '
char_skill.cpp: 4337: 103: von hier aus erforderlich
/usr/include/boost/functional/hash/hash.hpp:339:24: Anmerkung: Kandidat: 'std :: size_t boost :: hash_value (std :: type_index)'
339 | inline std :: size_t hash_value (std :: type_index v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/hash.hpp:339:51: Anmerkung: Keine bekannte Konvertierung für Argument 1 von 'const VID' in 'std :: type_index'
339 | inline std :: size_t hash_value (std :: type_index v)
| ~~~~~~~~~~~~~~~~ ^
In der Datei aus /usr/include/boost/functional/hash/hash.hpp:540 enthalten,
von /usr/include/boost/functional/hash.hpp:6,
von /usr/include/boost/unordered/unordered_map.hpp:20,
von /usr/include/boost/unordered_map.hpp:16,
ab Char.h: 4,
von char_skill.cpp: 7:
/usr/include/boost/functional/hash/extensions.hpp:70:17: note: candidate: 'template <Klasse A, Klasse B> std :: size_t boost :: hash_value (const std :: pair <_T1, _T2 > &)
70 | std :: size_t hash_value (std :: pair <A, B> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:70:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: pair <_T1, _T2>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:79:17: note: candidate: 'template <Klasse T, Klasse A> std :: size_t boost :: hash_value (const std :: vector <_Tp, _Alloc > &)
79 | std :: size_t hash_value (std :: vector <T, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:79:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: vector <_Tp, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:85:17: note: candidate: 'template <Klasse T, Klasse A> std :: size_t boost :: hash_value (const std :: __ cxx11 :: list < _Tp, _Alloc> &) '
85 | std :: size_t hash_value (std :: list <T, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:85:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: __ cxx11 :: list <_Tp, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:91:17: note: candidate: 'template <Klasse T, Klasse A> std :: size_t boost :: hash_value (const std :: deque <_Tp, _Alloc > &)
91 | std :: size_t hash_value (std :: deque <T, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:91:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: deque <_Tp, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:97:17: note: candidate: 'template <Klasse K, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std :: set < _Key, _Compare, _Alloc> &) '
97 | std :: size_t hash_value (std :: set <K, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:97:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: set <_Key, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:103:17: note: candidate: 'template <Klasse K, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std :: multiset < _Key, _Compare, _Alloc> &) '
103 | std :: size_t hash_value (std :: multiset <K, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:103:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: multiset <_Key, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:109:17: note: candidate: 'template <Klasse K, Klasse T, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std: : map <_Key, _Tp, _Compare, _Alloc> &) '
109 | std :: size_t hash_value (std :: map <K, T, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:109:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: map <_Key, _Tp, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:115:17: note: candidate: 'template <Klasse K, Klasse T, Klasse C, Klasse A> std :: size_t boost :: hash_value (const std: : multimap <_Key, _Tp, _Compare, _Alloc> &) '
115 | std :: size_t hash_value (std :: multimap <K, T, C, A> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:115:17: Anmerkung: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: multimap <_Key, _Tp, _Compare, _Alloc>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:121:17: note: candidate: 'template <klasse T> std :: size_t boost :: hash_value (const std :: complex <_Tp> &)'
121 | std :: size_t hash_value (std :: complex <T> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:121:17: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: complex <_Tp>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:131:17: note: candidate: 'template <klasse T, vorzeichenloses int N> std :: size_t boost :: hash_value (const std :: array <_Tp, _Nm> &)
131 | std :: size_t hash_value (std :: array <T, N> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:131:17: Anmerkung: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: array <_Tp, _Nm>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:166:24: note: candidate: 'template <klasse ... T> std :: size_t boost :: hash_value (const std :: tuple <_Tps .. .> &)
166 | inline std :: size_t hash_value (std :: tuple <T ...> const & v)
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:166:24: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: tuple <_Tps ...>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:196:24: note: candidate: 'template <klasse T> std :: size_t boost :: hash_value (const std :: shared_ptr <_Tp> &)'
196 | inline std :: size_t hash_value (std :: shared_ptr <T> const & x) {
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:196:24: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: shared_ptr <_Tp>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
/usr/include/boost/functional/hash/extensions.hpp:201:24: note: candidate: 'template <Klasse T, Klasse Deleter> std :: size_t boost :: hash_value (const std :: unique_ptr <_Tp, _Dp > &)
201 | inline std :: size_t hash_value (std :: unique_ptr <T, Deleter> const & x) {
| ^ ~~~~~~~~~
/usr/include/boost/functional/hash/extensions.hpp:201:24: Hinweis: Der Abzug / die Ersetzung von Vorlagenargumenten ist fehlgeschlagen:
/usr/include/boost/functional/hash/extensions.hpp:269:30: note: 'const VID' wird nicht von 'const std :: unique_ptr <_Tp, _Dp>' abgeleitet
269 | return hash_value (val);
| ~~~~~~~~~~ ~~~~ ^
gmake: *** [Makefile: 128: OBJDIR / char_skill.o] Fehler 1
[/ SPOILER]
