All pastes #2072587 Raw Edit

Someone

public text v1 · immutable
#2072587 ·published 2011-05-31 03:34 UTC
rendered paste body
Index.cpp: In static member function ‘static void Index::print(std::string)’:
Index.cpp:64:14: warning: unused variable ‘indexes’
In file included from /usr/include/c++/4.5/unordered_map:43:0,
                 from Index.h:10,
                 from Index.cpp:8:
/usr/include/c++/4.5/bits/stl_function.h: In member function ‘bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = boost::any]’:
/usr/include/c++/4.5/bits/hashtable_policy.h:742:48:   instantiated from ‘bool std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_M_compare(const _Key&, std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_Hash_code_type, std::__detail::_Hash_node<_Value, false>*) const [with _Key = boost::any, _Value = std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > >, _ExtractKey = std::_Select1st<std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > > >, _Equal = std::equal_to<boost::any>, _H1 = std::hash<boost::any>, _H2 = std::__detail::_Mod_range_hashing, std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::__detail::_Default_ranged_hash, false>::_Hash_code_type = long unsigned int]’
/usr/include/c++/4.5/bits/hashtable.h:879:2:   instantiated from ‘std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node* std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_find_node(std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node*, const key_type&, typename std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type) const [with _Key = boost::any, _Value = std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > >, _Allocator = std::allocator<std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > > >, _ExtractKey = std::_Select1st<std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > > >, _Equal = std::equal_to<boost::any>, _H1 = std::hash<boost::any>, _H2 = std::__detail::_Mod_range_hashing, _Hash = std::__detail::_Default_ranged_hash, _RehashPolicy = std::__detail::_Prime_rehash_policy, bool __cache_hash_code = false, bool __constant_iterators = false, bool __unique_keys = true, std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Node = std::__detail::_Hash_node<std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > >, false>, key_type = boost::any, typename std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_Hash_code_type = long unsigned int]’
/usr/include/c++/4.5/bits/hashtable_policy.h:540:53:   instantiated from ‘std::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type& std::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::operator[](const _Key&) [with _Key = boost::any, _Pair = std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > >, _Hashtable = std::_Hashtable<boost::any, std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > >, std::allocator<std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > > >, std::_Select1st<std::pair<const boost::any, std::vector<std::shared_ptr<Claim> > > >, std::equal_to<boost::any>, std::hash<boost::any>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>, std::__detail::_Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>::mapped_type = std::vector<std::shared_ptr<Claim> >]’
Index.cpp:31:13:   instantiated from here
/usr/include/c++/4.5/bits/stl_function.h:203:23: error: no match for ‘operator==’ in ‘__x == __y’
/usr/include/c++/4.5/bits/random.h:3360:3: note: candidate is: bool std::operator==(const std::bernoulli_distribution&, const std::bernoulli_distribution&)
main.cpp:12:22: fatal error: module.hpp: No such file or directory
compilation terminated.