Code: Select all
In file included from src/networking/fileutil.cpp:1:
In file included from ./src/cmd/unit_generic.h:41:
In file included from ./src/vs_globals.h:6:
In file included from ./src/universe_generic.h:28:
In file included from ./src/star_system_generic.h:7:
In file included from ./src/xml_support.h:10:
In file included from ./src/hashtable.h:25:
In file included from ./src/gnuhash.h:61:
In file included from /usr/include/c++/v1/ext/hash_map:206:
/usr/include/c++/v1/ext/__hash:22:61: error: implicit instantiation of undefined
template 'std::__1::hash<std::__1::__wrap_iter<easyDomNode **> >'
template <typename T> struct _LIBCPP_TYPE_VIS hash : public std::hash<T>
^
/usr/include/c++/v1/type_traits:887:38: note: in instantiation of template class
'__gnu_cxx::hash<std::__1::__wrap_iter<easyDomNode **> >' requested here
: public integral_constant<bool, __is_empty(_Tp)> {};
^
/usr/include/c++/v1/ext/hash_map:218:42: note: in instantiation of template
class
'std::__1::is_empty<__gnu_cxx::hash<std::__1::__wrap_iter<easyDomNode **>
> >' requested here
template <class _Tp, class _Hash, bool = is_empty<_Hash>::value
^
/usr/include/c++/v1/ext/hash_map:490:13: note: in instantiation of default
argument for
'__hash_map_hasher<std::__1::pair<std::__1::__wrap_iter<easyDomNode **>,
unsigned int>, __gnu_cxx::hash<std::__1::__wrap_iter<easyDomNode **> > >'
required here
typedef __hash_map_hasher<__value_type, hasher> __hasher;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/SharedPool.h:20:22: note: in instantiation of template class
'__gnu_cxx::hash_map<std::__1::__wrap_iter<easyDomNode **>, unsigned int,
__gnu_cxx::hash<std::__1::__wrap_iter<easyDomNode **> >,
std::__1::equal_to<std::__1::__wrap_iter<easyDomNode **> >,
std::__1::allocator<std::__1::pair<const std::__1::__wrap_iter<easyDomNode
**>, unsigned int> > >' requested here
ReferenceCounter referenceCounter;
^
./src/SharedPool.h:211:33: note: in instantiation of template class
'SharedPool<std::__1::__wrap_iter<easyDomNode **>,
__gnu_cxx::hash_compare<std::__1::__wrap_iter<easyDomNode **>,
std::__1::less<std::__1::__wrap_iter<easyDomNode **> > > >' requested here
bool operator==( const typename SharedPool< T >::Reference &r, const T &s )
^
./src/SharedPool.h:211:6: note: while substituting deduced template arguments
into function template 'operator==' [with T =
std::__1::__wrap_iter<easyDomNode **>]
bool operator==( const typename SharedPool< T >::Reference &r, const T &s )
^
./src/easydom.h:102:46: note: in instantiation of function template
specialization
'std::__1::operator!=<easyDomNode *const *, easyDomNode **>' requested
here
for (siter = subnodes.begin(); siter != subnodes.end(); siter++) {
^
/usr/include/c++/v1/memory:3129:29: note: template is declared here
template <class _Tp> struct hash;
^
1 warning and 7 errors generated.
<ext/hash_map> is deprecated. Migrate to <unordered_map> [-W#warnings]"