Jump to content

GCC7 compile problem


Recommended Posts

Hi dev, when i try compile a game core. I have this error. Boost version 1.62, i try 1.64, 1.65 (beta), 1.43. And none works... Help please, thanks in advance.

Spoiler

In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: error: no matching function for call to 'hash_value(const VID&)'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from ../../../Extern/include/boost/intrusive_ptr.hpp:16:0,
                 from event.h:10,
                 from stdafx.h:39,
                 from char_skill.cpp:1:
../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:353:33: note: candidate: template<class T> std::size_t boost::hash_value(const boost::intrusive_ptr<T>&)
 template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p )
                                 ^~~~~~~~~~
../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:353:33: note:   template argument deduction/substitution failed:
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const boost::intrusive_ptr<T>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from ../../../Extern/include/boost/functional/hash.hpp:6:0,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/hash.hpp:258:57: note: candidate: template<class T> typename boost::hash_detail::basic_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::basic_numbers<T>::type hash_value(T v)
                                                         ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:258:57: note:   template argument deduction/substitution failed:
../../../Extern/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]':
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:258:57: error: no type named 'type' in 'struct boost::hash_detail::basic_numbers<VID>'
../../../Extern/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:264:56: note: candidate: template<class T> typename boost::hash_detail::long_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::long_numbers<T>::type hash_value(T v)
                                                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:264:56: note:   template argument deduction/substitution failed:
../../../Extern/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]':
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:264:56: error: no type named 'type' in 'struct boost::hash_detail::long_numbers<VID>'
../../../Extern/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:270:57: note: candidate: template<class T> typename boost::hash_detail::ulong_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::ulong_numbers<T>::type hash_value(T v)
                                                         ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:270:57: note:   template argument deduction/substitution failed:
../../../Extern/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]':
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:270:57: error: no type named 'type' in 'struct boost::hash_detail::ulong_numbers<VID>'
../../../Extern/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:277:9: note: candidate: template<class T> typename boost::enable_if<boost::is_enum<T>, unsigned int>::type boost::hash_value(T)
         hash_value(T v)
         ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:277:9: note:   template argument deduction/substitution failed:
../../../Extern/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]':
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:277:9: error: no type named 'type' in 'struct boost::enable_if<boost::is_enum<VID>, unsigned int>'
../../../Extern/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:284:36: note: candidate: template<class T> std::size_t boost::hash_value(T* const&)
     template <class T> std::size_t hash_value(T* const& v)
                                    ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:284:36: note:   template argument deduction/substitution failed:
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   mismatched types 'T* const' and 'const VID'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from ../../../Extern/include/boost/functional/hash.hpp:6:0,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/hash.hpp:372:24: note: candidate: template<class T, unsigned int N> std::size_t boost::hash_value(const T (&)[N])
     inline std::size_t hash_value(const T (&x)[N])
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:372:24: note:   template argument deduction/substitution failed:
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   mismatched types 'const T [N]' and 'const VID'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from ../../../Extern/include/boost/functional/hash.hpp:6:0,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/hash.hpp:378:24: note: candidate: template<class T, unsigned int N> std::size_t boost::hash_value(T (&)[N])
     inline std::size_t hash_value(T (&x)[N])
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:378:24: note:   template argument deduction/substitution failed:
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   mismatched types 'T [N]' and 'const VID'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from ../../../Extern/include/boost/functional/hash.hpp:6:0,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/hash.hpp:385: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>&)
     inline std::size_t hash_value(
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:385:24: note:   template argument deduction/substitution failed:
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::__cxx11::basic_string<Ch, std::char_traits<_CharT>, A>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from ../../../Extern/include/boost/functional/hash.hpp:6:0,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/hash.hpp:392:57: note: candidate: template<class T> typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::float_numbers<T>::type hash_value(T v)
                                                         ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:392:57: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = VID]':
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:392:57: error: no type named 'type' in 'struct boost::hash_detail::float_numbers<VID>'
../../../Extern/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
../../../Extern/include/boost/unordered/detail/buckets.hpp:482:22:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
../../../Extern/include/boost/unordered/detail/table.hpp:692: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::pair<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]'
../../../Extern/include/boost/unordered/detail/table.hpp:718:36:   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::pair<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::ptr_node<std::pair<const VID, unsigned int> > >; typename Types::node = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >; boost::unordered::detail::table<Types>::key_type = VID]'
../../../Extern/include/boost/unordered/unordered_map.hpp:1211: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::pair<const VID, unsigned 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:4060:103:   required from here
../../../Extern/include/boost/functional/hash/hash.hpp:398:24: note: candidate: std::size_t boost::hash_value(std::type_index)
     inline std::size_t hash_value(std::type_index v)
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/hash.hpp:398:24: note:   no known conversion for argument 1 from 'const VID' to 'std::type_index'
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:560:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:67:17: note: candidate: template<class A, class B> std::size_t boost::hash_value(const std::pair<_T1, _T2>&)
     std::size_t hash_value(std::pair<A, B> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:67:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::pair<_T1, _T2>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:76:17: note: candidate: template<class T, class A> std::size_t boost::hash_value(const std::vector<_Tp, _Alloc>&)
     std::size_t hash_value(std::vector<T, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:76:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::vector<_Tp, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:82:17: note: candidate: template<class T, class A> std::size_t boost::hash_value(const std::__cxx11::list<_Tp, _Alloc>&)
     std::size_t hash_value(std::list<T, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:82:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:88:17: note: candidate: template<class T, class A> std::size_t boost::hash_value(const std::deque<_Tp, _Alloc>&)
     std::size_t hash_value(std::deque<T, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:88:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::deque<_Tp, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:94:17: note: candidate: template<class K, class C, class A> std::size_t boost::hash_value(const std::set<_Key, _Compare, _Alloc>&)
     std::size_t hash_value(std::set<K, C, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:94:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::set<_Key, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:100:17: note: candidate: template<class K, class C, class A> std::size_t boost::hash_value(const std::multiset<_Key, _Compare, _Alloc>&)
     std::size_t hash_value(std::multiset<K, C, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:100:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:106:17: note: candidate: template<class K, class T, class C, class A> std::size_t boost::hash_value(const std::map<_Key, _Tp, _Compare, _Alloc>&)
     std::size_t hash_value(std::map<K, T, C, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:106:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:112:17: note: candidate: template<class K, class T, class C, class A> std::size_t boost::hash_value(const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
     std::size_t hash_value(std::multimap<K, T, C, A> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:112:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:118:17: note: candidate: template<class T> std::size_t boost::hash_value(const std::complex<_Tp>&)
     std::size_t hash_value(std::complex<T> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:118:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::complex<_Tp>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:128:17: note: candidate: template<class T, unsigned int N> std::size_t boost::hash_value(const std::array<_Tp, _Nm>&)
     std::size_t hash_value(std::array<T, N> const& v)
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:128:17: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::array<_Tp, _Nm>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:163:24: note: candidate: template<class ... T> std::size_t boost::hash_value(const std::tuple<_Tps ...>&)
     inline std::size_t hash_value(std::tuple<T...> const& v)
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:163:24: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::tuple<_Tps ...>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:193:24: note: candidate: template<class T> std::size_t boost::hash_value(const std::shared_ptr<_Tp>&)
     inline std::size_t hash_value(std::shared_ptr<T> const& x) {
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:193:24: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::shared_ptr<_Tp>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:198:24: note: candidate: template<class T, class Deleter> std::size_t boost::hash_value(const std::unique_ptr<_Tp, _Dp>&)
     inline std::size_t hash_value(std::unique_ptr<T, Deleter> const& x) {
                        ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:198:24: note:   template argument deduction/substitution failed:
../../../Extern/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
GCC7 COMPILE: config.cpp
GCC7 COMPILE: constants.cpp
gmake: *** [Makefile:68: .obj/char_skill.o] Error 1
gmake: *** Waiting for unfinished jobs....

^Cgmake: *** Deleting file '.obj/char_item.o'
gmake: *** [Makefile:68: .obj/char_item.o] Interrupt
gmake: *** [Makefile:68: .obj/char.o] Interrupt

root@freebsd11:/usr/src/best_source/Srcs/Server/game/src # gmake dep
makedepend -f Depend -I../../../Extern/include/boost -I../../libdevil -I../../libmysql/include -I../../../Extern/include/boost -I../../../Extern/include/cryptopp -I../../libhackshield/include -I../../libxtrap/include -I../../liblua/include -I/usr/include/c++/4.2 -p.obj/ BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp acce.cpp ani.cpp arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp questlua_mysql.cpp New_PetSystem.cpp questlua_petnew.cpp offline_shop.cpp offlineshop_manager.cpp offlineshop_config.cpp item_combination.cpp char_cards.cpp  minilzo.c main.cpp  2> /dev/null > Depend
root@freebsd11:/usr/src/best_source/Srcs/Server/game/src # gmake clean
root@freebsd11:/usr/src/best_source/Srcs/Server/game/src # gmake -j20
GCC7 COMPILE: BattleArena.cpp
GCC7 COMPILE: FSM.cpp
GCC7 COMPILE: MarkConvert.cpp
GCC7 COMPILE: MarkImage.cpp
GCC7 COMPILE: MarkManager.cpp
GCC7 COMPILE: OXEvent.cpp
GCC7 COMPILE: TrafficProfiler.cpp
GCC7 COMPILE: acce.cpp
GCC7 COMPILE: ani.cpp
GCC7 COMPILE: arena.cpp
GCC7 COMPILE: banword.cpp
GCC7 COMPILE: battle.cpp
GCC7 COMPILE: blend_item.cpp
GCC7 COMPILE: block_country.cpp
GCC7 COMPILE: buffer_manager.cpp
GCC7 COMPILE: building.cpp
GCC7 COMPILE: castle.cpp
GCC7 COMPILE: char.cpp
GCC7 COMPILE: char_affect.cpp
GCC7 COMPILE: char_battle.cpp
GCC7 COMPILE: char_change_empire.cpp
GCC7 COMPILE: char_horse.cpp
GCC7 COMPILE: char_item.cpp
GCC7 COMPILE: char_manager.cpp
GCC7 COMPILE: char_quickslot.cpp
GCC7 COMPILE: char_resist.cpp
GCC7 COMPILE: char_skill.cpp
GCC7 COMPILE: char_state.cpp
GCC7 COMPILE: PetSystem.cpp
GCC7 COMPILE: cmd.cpp
GCC7 COMPILE: cmd_emotion.cpp
GCC7 COMPILE: cmd_general.cpp
GCC7 COMPILE: cmd_gm.cpp
GCC7 COMPILE: cmd_oxevent.cpp
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: error: no matching function for call to 'hash_value(const VID&)'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from /usr/local/include/boost/intrusive_ptr.hpp:16:0,
                 from event.h:10,
                 from stdafx.h:39,
                 from char_skill.cpp:1:
/usr/local/include/boost/smart_ptr/intrusive_ptr.hpp:354:33: note: candidate: template<class T> std::size_t boost::hash_value(const boost::intrusive_ptr<T>&)
 template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p )
                                 ^~~~~~~~~~
/usr/local/include/boost/smart_ptr/intrusive_ptr.hpp:354:33: note:   template argument deduction/substitution failed:
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const boost::intrusive_ptr<T>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from /usr/local/include/boost/functional/hash.hpp:6:0,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp:270:57: note: candidate: template<class T> typename boost::hash_detail::basic_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::basic_numbers<T>::type hash_value(T v)
                                                         ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:270:57: note:   template argument deduction/substitution failed:
/usr/local/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/local/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:270:57: error: no type named  type' in 'struct boost::hash_detail::basic_numbers<VID>'
/usr/local/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:276:56: note: candidate: template<class T> typename boost::hash_detail::long_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::long_numbers<T>::type hash_value(T v)
                                                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:276:56: note:   template argument deduction/substitution failed:
/usr/local/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/local/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:276:56: error: no type named  type' in 'struct boost::hash_detail::long_numbers<VID>'
/usr/local/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:282:57: note: candidate: template<class T> typename boost::hash_detail::ulong_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::ulong_numbers<T>::type hash_value(T v)
                                                         ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:282:57: note:   template argument deduction/substitution failed:
/usr/local/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/local/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:282:57: error: no type named  type' in 'struct boost::hash_detail::ulong_numbers<VID>'
/usr/local/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:289:9: note: candidate: template<class T> typename boost::enable_if<boost::is_enum<T>, unsigned int>::type boost::hash_value(T)
         hash_value(T v)
         ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:289:9: note:   template argument deduction/substitution failed:
/usr/local/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/local/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:289:9: error: no type named 'type' in 'struct boost::enable_if<boost::is_enum<VID>, unsigned int>'
/usr/local/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:296:36: note: candidate: template<class T> std::size_t boost::hash_value(T* const&)
     template <class T> std::size_t hash_value(T* const& v)
                                    ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:296:36: note:   template argument deduction/substitution failed:
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   mismatched types 'T* const' and 'const VID'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from /usr/local/include/boost/functional/hash.hpp:6:0,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp:384:24: note: candidate: template<class T, unsigned int N> std::size_t boost::hash_value(const T (&)[N])
     inline std::size_t hash_value(const T (&x)[N])
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:384:24: note:   template argument deduction/substitution failed:
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   mismatched types 'const T [N]' and 'const VID'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from /usr/local/include/boost/functional/hash.hpp:6:0,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp:390:24: note: candidate: template<class T, unsigned int N> std::size_t boost::hash_value(T (&)[N])
     inline std::size_t hash_value(T (&x)[N])
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:390:24: note:   template argument deduction/substitution failed:
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   mismatched types 'T [N]' and 'const VID'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from /usr/local/include/boost/functional/hash.hpp:6:0,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp:397: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>&)
     inline std::size_t hash_value(
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:397:24: note:   template argument deduction/substitution failed:
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::__cxx11::basic_string<Ch, std::char_traits<_CharT>, A>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
In file included from /usr/local/include/boost/functional/hash.hpp:6:0,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/hash.hpp:404:57: note: candidate: template<class T> typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T)
     typename boost::hash_detail::float_numbers<T>::type hash_value(T v)
                                                         ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:404:57: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/hash.hpp: In substitution of 'template<class T> typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = VID]':
/usr/local/include/boost/functional/hash/extensions.hpp:262:30:   required from 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:404:57: error: no type named  type' in 'struct boost::hash_detail::float_numbers<VID>'
/usr/local/include/boost/functional/hash/extensions.hpp: In instantiation of 'std::size_t boost::hash<T>::operator()(const T&) const [with T = VID; std::size_t = unsigned int]':
/usr/local/include/boost/unordered/detail/implementation.hpp:2167:18:   required from 'static SizeT boost::unordered::detail::prime_policy<SizeT>::apply_hash(const Hash&, const T&) [with Hash = boost::hash<VID>; T = VID; SizeT = unsigned int]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3107:34:   required from 'std::size_t boost::unordered::detail::table<Types>::hash(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; std::size_t = unsigned int; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/detail/implementation.hpp:3126:41:   required from 'boost::unordered::detail::table<Types>::node_pointer boost::unordered::detail::table<Types>::find_node(boost::unordered::detail::table<Types>::const_key_type&) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const VID, unsigned int> >, VID, unsigned int, boost::hash<VID>, std::equal_to<VID> >; boost::unordered::detail::table<Types>::node_pointer = boost::unordered::detail::ptr_node<std::pair<const VID, unsigned int> >*; boost::unordered::detail::table<Types>::const_key_type = const VID]'
/usr/local/include/boost/unordered/unordered_map.hpp:1484:12:   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::pair<const VID, unsigned 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:4060:103:   required from here
/usr/local/include/boost/functional/hash/hash.hpp:410:24: note: candidate: std::size_t boost::hash_value(std::type_index)
     inline std::size_t hash_value(std::type_index v)
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/hash.hpp:410:24: note:   no known conversion for argument 1 from 'const VID' to 'std::type_index'
In file included from /usr/local/include/boost/functional/hash/hash.hpp:572:0,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from char_skill.cpp:7:
/usr/local/include/boost/functional/hash/extensions.hpp:67:17: note: candidate: template<class A, class B> std::size_t boost::hash_value(const std::pair<_T1, _T2>&)
     std::size_t hash_value(std::pair<A, B> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:67:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::pair<_T1, _T2>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:76:17: note: candidate: template<class T, class A> std::size_t boost::hash_value(const std::vector<_Tp, _Alloc>&)
     std::size_t hash_value(std::vector<T, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:76:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::vector<_Tp, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:82:17: note: candidate: template<class T, class A> std::size_t boost::hash_value(const std::__cxx11::list<_Tp, _Alloc>&)
     std::size_t hash_value(std::list<T, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:82:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:88:17: note: candidate: template<class T, class A> std::size_t boost::hash_value(const std::deque<_Tp, _Alloc>&)
     std::size_t hash_value(std::deque<T, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:88:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::deque<_Tp, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:94:17: note: candidate: template<class K, class C, class A> std::size_t boost::hash_value(const std::set<_Key, _Compare, _Alloc>&)
     std::size_t hash_value(std::set<K, C, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:94:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::set<_Key, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:100:17: note: candidate: template<class K, class C, class A> std::size_t boost::hash_value(const std::multiset<_Key, _Compare, _Alloc>&)
     std::size_t hash_value(std::multiset<K, C, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:100:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:106:17: note: candidate: template<class K, class T, class C, class A> std::size_t boost::hash_value(const std::map<_Key, _Tp, _Compare, _Alloc>&)
     std::size_t hash_value(std::map<K, T, C, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:106:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:112:17: note: candidate: template<class K, class T, class C, class A> std::size_t boost::hash_value(const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
     std::size_t hash_value(std::multimap<K, T, C, A> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:112:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:118:17: note: candidate: template<class T> std::size_t boost::hash_value(const std::complex<_Tp>&)
     std::size_t hash_value(std::complex<T> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:118:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::complex<_Tp>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:128:17: note: candidate: template<class T, unsigned int N> std::size_t boost::hash_value(const std::array<_Tp, _Nm>&)
     std::size_t hash_value(std::array<T, N> const& v)
                 ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:128:17: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::array<_Tp, _Nm>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:163:24: note: candidate: template<class ... T> std::size_t boost::hash_value(const std::tuple<_Tps ...>&)
     inline std::size_t hash_value(std::tuple<T...> const& v)
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:163:24: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::tuple<_Tps ...>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:193:24: note: candidate: template<class T> std::size_t boost::hash_value(const std::shared_ptr<_Tp>&)
     inline std::size_t hash_value(std::shared_ptr<T> const& x) {
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:193:24: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::shared_ptr<_Tp>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:198:24: note: candidate: template<class T, class Deleter> std::size_t boost::hash_value(const std::unique_ptr<_Tp, _Dp>&)
     inline std::size_t hash_value(std::unique_ptr<T, Deleter> const& x) {
                        ^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:198:24: note:   template argument deduction/substitution failed:
/usr/local/include/boost/functional/hash/extensions.hpp:262:30: note:   'const VID' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
             return hash_value(val);
                    ~~~~~~~~~~^~~~~
 

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Quest 6/7 Problem

    2. 5

      Effect weapons

    3. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    4. 3

      Crystal Metinstone

    5. 3

      Feeding game source to LLM

    6. 113

      Ulthar SF V2 (TMP4 Base)

    7. 3

      Feeding game source to LLM

    8. 0

      Target Information System

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.