Build failure in tr1/hashtable
Jump to navigation
Jump to search
CXX ui/tool/multi-path-manipulator.o ./ui/tool/control-point.h:118: warning: unused parameter ‘state’ ./ui/tool/control-point.h:119: warning: unused parameter ‘event’ /usr/include/c++/4.0.0/tr1/hashtable: In member function ‘typename std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys>::size_type std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys>::erase(const Key&) [with Key = Inkscape::UI::NodeIterator<Inkscape::UI::Node>, Value = Inkscape::UI::NodeIterator<Inkscape::UI::Node>, Allocator = std::allocator<Inkscape::UI::NodeIterator<Inkscape::UI::Node> >, ExtractKey = Internal::identity<Inkscape::UI::NodeIterator<Inkscape::UI::Node> >, Equal = std::equal_to<Inkscape::UI::NodeIterator<Inkscape::UI::Node> >, H1 = std::tr1::hash<Inkscape::UI::NodeIterator<Inkscape::UI::Node> >, H2 = Internal::mod_range_hashing, H = Internal::default_ranged_hash, RehashPolicy = Internal::prime_rehash_policy, bool cache_hash_code = false, bool mutable_iterators = false, bool unique_keys = true]’: ui/tool/multi-path-manipulator.cpp:72: instantiated from here /usr/include/c++/4.0.0/tr1/hashtable:1363: warning: no return statement in function returning non-void /usr/include/c++/4.0.0/tr1/hashtable:1363: warning: control reaches end of non-void function CXX ui/tool/node.o ./ui/tool/control-point.h:118: warning: unused parameter ‘state’ ./ui/tool/control-point.h:119: warning: unused parameter ‘event’ ui/tool/node.cpp:306: warning: unused parameter ‘event’ ui/tool/node.cpp:970: warning: unused parameter ‘event’ /usr/include/c++/4.0.0/tr1/hashtable: In copy constructor ‘std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys>::hashtable(const std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys>&) [with Key = Inkscape::UI::SelectableControlPoint*, Value = Inkscape::UI::SelectableControlPoint*, Allocator = std::allocator<Inkscape::UI::SelectableControlPoint*>, ExtractKey = Internal::identity<Inkscape::UI::SelectableControlPoint*>, Equal = std::equal_to<Inkscape::UI::SelectableControlPoint*>, H1 = std::tr1::hash<Inkscape::UI::SelectableControlPoint*>, H2 = Internal::mod_range_hashing, H = Internal::default_ranged_hash, RehashPolicy = Internal::prime_rehash_policy, bool cache_hash_code = false, bool mutable_iterators = false, bool unique_keys = true]’: /usr/include/c++/4.0.0/tr1/unordered_set:56: instantiated from here /usr/include/c++/4.0.0/tr1/hashtable:1045: error: no matching function for call to ‘std::tr1::hashtable<Inkscape::UI::SelectableControlPoint*, Inkscape::UI::SelectableControlPoint*, std::allocator<Inkscape::UI::SelectableControlPoint*>, Internal::identity<Inkscape::UI::SelectableControlPoint*>, std::equal_to<Inkscape::UI::SelectableControlPoint*>, std::tr1::hash<Inkscape::UI::SelectableControlPoint*>, Internal::mod_range_hashing, Internal::default_ranged_hash, Internal::prime_rehash_policy, false, false, true>::m_allocate_node(Internal::hash_node<Inkscape::UI::SelectableControlPoint*, false>*&)’ /usr/include/c++/4.0.0/tr1/hashtable:898: note: candidates are: typename std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys>::node* std::tr1::hashtable<Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys>::m_allocate_node(const Value&) [with Key = Inkscape::UI::SelectableControlPoint*, Value = Inkscape::UI::SelectableControlPoint*, Allocator = std::allocator<Inkscape::UI::SelectableControlPoint*>, ExtractKey = Internal::identity<Inkscape::UI::SelectableControlPoint*>, Equal = std::equal_to<Inkscape::UI::SelectableControlPoint*>, H1 = std::tr1::hash<Inkscape::UI::SelectableControlPoint*>, H2 = Internal::mod_range_hashing, H = Internal::default_ranged_hash, RehashPolicy = Internal::prime_rehash_policy, bool cache_hash_code = false, bool mutable_iterators = false, bool unique_keys = true] /usr/include/c++/4.0.0/tr1/hashtable:1046: error: request for member ‘copy_code_from’ in ‘* tail’, which is of non-class type ‘Internal::hash_node<Inkscape::UI::SelectableControlPoint*, false>*’ make[2]: *** [ui/tool/node.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2