=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for sparsehash-2.0.2 [ -d src/sparsehash/internal ] || mkdir -p src/sparsehash/internal echo "/*" > src/sparsehash/internal/_sparsehash_config echo " * NOTE: This file is for internal use only." >> src/sparsehash/internal/_sparsehash_config echo " * Do not use these #defines in your own program!" >> src/sparsehash/internal/_sparsehash_config echo " */" >> src/sparsehash/internal/_sparsehash_config /usr/bin/awk '{prevline=currline; currline=$0;} /^#/ {in_second_file = 1;} !in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; in_second_file { for (i in inc) { if (index(currline, i) != 0) { print "\n"prevline"\n"currline; delete inc[i]; } } }' ./src/config.h.include ./src/config.h >> src/sparsehash/internal/_sparsehash_config mv -f src/sparsehash/internal/_sparsehash_config src/sparsehash/internal/sparseconfig.h /usr/pkg/bin/bmake all-am c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -MT template_util_unittest.o -MD -MP -MF .deps/template_util_unittest.Tpo -c -o template_util_unittest.o `test -f 'src/template_util_unittest.cc' || echo './'`src/template_util_unittest.cc mv -f .deps/template_util_unittest.Tpo .deps/template_util_unittest.Po c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -Wl,-R/usr/pkg/lib -o template_util_unittest template_util_unittest.o c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -MT type_traits_unittest.o -MD -MP -MF .deps/type_traits_unittest.Tpo -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo './'`src/type_traits_unittest.cc src/type_traits_unittest.cc:88:7: warning: private field 'n_' is not used [-Wunused-private-field] int n_; ^ src/type_traits_unittest.cc:98:7: warning: private field 'n_' is not used [-Wunused-private-field] int n_; ^ src/type_traits_unittest.cc:112:7: warning: private field 'n_' is not used [-Wunused-private-field] int n_; ^ src/type_traits_unittest.cc:138:7: warning: private field 'n_' is not used [-Wunused-private-field] int n_; ^ 4 warnings generated. mv -f .deps/type_traits_unittest.Tpo .deps/type_traits_unittest.Po c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -Wl,-R/usr/pkg/lib -o type_traits_unittest type_traits_unittest.o c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -MT libc_allocator_with_realloc_test.o -MD -MP -MF .deps/libc_allocator_with_realloc_test.Tpo -c -o libc_allocator_with_realloc_test.o `test -f 'src/libc_allocator_with_realloc_test.cc' || echo './'`src/libc_allocator_with_realloc_test.cc mv -f .deps/libc_allocator_with_realloc_test.Tpo .deps/libc_allocator_with_realloc_test.Po c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -Wl,-R/usr/pkg/lib -o libc_allocator_with_realloc_test libc_allocator_with_realloc_test.o c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -MT sparsetable_unittest.o -MD -MP -MF .deps/sparsetable_unittest.Tpo -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo './'`src/sparsetable_unittest.cc mv -f .deps/sparsetable_unittest.Tpo .deps/sparsetable_unittest.Po c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -Wl,-R/usr/pkg/lib -o sparsetable_unittest sparsetable_unittest.o c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -O2 -march=i586 -MT hashtable_test.o -MD -MP -MF .deps/hashtable_test.Tpo -c -o hashtable_test.o `test -f 'src/hashtable_test.cc' || echo './'`src/hashtable_test.cc In file included from src/hashtable_test.cc:63: ./src/hash_test_interface.h:436:50: warning: unused parameter 'k' [-Wunused-parameter] void set_empty_key(const typename p::key_type& k) { } ^ ./src/hash_test_interface.h:543:50: warning: unused parameter 'k' [-Wunused-parameter] void set_empty_key(const typename p::key_type& k) { } ^ ./src/hash_test_interface.h:659:50: warning: unused parameter 'k' [-Wunused-parameter] void set_empty_key(const typename p::key_type& k) { } ^ In file included from src/hashtable_test.cc:60: /usr/include/c++/vector:502:5: error: implicit instantiation of undefined template '__static_assert_test' static_assert((is_same::value), ^ /usr/include/c++/__config:488:35: note: expanded from macro 'static_assert' typedef __static_assert_check)> \ ^ ./src/sparsehash/sparsetable:1447:20: note: in instantiation of template class 'std::__1::vector, 48, ::Alloc >, ::Alloc, 48, ::Alloc, unsigned int, 4294967295> >, unsigned int, 4294967295> >' requested here typedef typename group_vector_type::reference GroupsReference; ^ ./src/sparsehash/internal/sparsehashtable.h:168:20: note: in instantiation of template class 'google::sparsetable, 48, ::Alloc >' requested here typedef typename sparsetable::nonempty_iterator ^ ./src/hash_test_interface.h:83:27: note: in instantiation of template class 'google::sparse_hashtable_iterator, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >' requested here class iterator : public HT::iterator { ^ src/hashtable_test.cc:592:32: note: in instantiation of member class 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' requested here typename TypeParam::iterator i; ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableIntTest_Typedefs' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ /usr/include/c++/__config:484:24: note: template is declared here template struct __static_assert_test; ^ src/hashtable_test.cc:614:8: error: no viable conversion from 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' to 'const google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::const_iterator' ci = this->ht_.begin(); ^~~~~~~~~~~~~~~~~ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableIntTest_Typedefs' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/hash_test_interface.h:106:5: note: candidate constructor const_iterator(typename BaseHashtableInterface::iterator it) ^ ./src/hash_test_interface.h:95:9: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' to 'const google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::const_iterator &' for 1st argument class const_iterator : public HT::const_iterator { ^ ./src/hash_test_interface.h:95:9: note: passing argument to parameter here src/hashtable_test.cc:616:9: error: no viable conversion from 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::local_iterator' to 'const google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::const_local_iterator' cli = this->ht_.begin(0); ^~~~~~~~~~~~~~~~~~ ./src/hash_test_interface.h:136:5: note: candidate constructor const_local_iterator(local_iterator it) ^ ./src/hash_test_interface.h:127:9: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::local_iterator' to 'const google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::const_local_iterator &' for 1st argument class const_local_iterator : public HT::const_local_iterator { ^ ./src/hash_test_interface.h:127:9: note: passing argument to parameter here In file included from src/hashtable_test.cc:63: In file included from ./src/hash_test_interface.h:50: ./src/sparsehash/internal/sparsehashtable.h:376:41: error: no matching constructor for initialization of 'iterator' (aka 'sparse_hashtable_iterator, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >') iterator begin() { return iterator(this, table.nonempty_begin(), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sparsehash/sparse_hash_map:153:63: note: in instantiation of member function 'google::sparse_hashtable, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >::begin' requested here iterator begin() { return rep.begin(); } ^ ./src/hash_test_interface.h:144:25: note: in instantiation of member function 'google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::begin' requested here return iterator(ht_.begin(), this); ^ src/hashtable_test.cc:614:18: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::begin' requested here ci = this->ht_.begin(); ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableIntTest_Typedefs' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/sparsehashtable.h:179:3: note: candidate constructor not viable: no known conversion from 'nonempty_iterator' (aka 'two_d_iterator, vector_alloc> >') to 'st_iterator' (aka 'int') for 2nd argument sparse_hashtable_iterator(const sparse_hashtable *h, ^ ./src/sparsehash/internal/sparsehashtable.h:182:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided sparse_hashtable_iterator() { } // not ever used internally ^ ./src/sparsehash/internal/sparsehashtable.h:161:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct sparse_hashtable_iterator { ^ In file included from src/hashtable_test.cc:63: ./src/hash_test_interface.h:88:15: error: type 'typename sparse_hash_map >::iterator' (aka 'sparse_hashtable_iterator, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >') is not a direct or virtual base of 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' : HT::iterator(it), parent_(parent) { } ^~~~~~~~ ./src/hash_test_interface.h:144:12: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator::iterator' requested here return iterator(ht_.begin(), this); ^ src/hashtable_test.cc:614:18: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::begin' requested here ci = this->ht_.begin(); ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableIntTest_Typedefs' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ In file included from src/hashtable_test.cc:63: In file included from ./src/hash_test_interface.h:50: ./src/sparsehash/internal/sparsehashtable.h:394:14: error: no matching constructor for initialization of 'local_iterator' (aka 'sparse_hashtable_iterator, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >') return local_iterator(this, table.get_iter(i), table.nonempty_end()); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sparsehash/sparse_hash_map:159:63: note: in instantiation of member function 'google::sparse_hashtable, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >::begin' requested here local_iterator begin(size_type i) { return rep.begin(i); } ^ ./src/hash_test_interface.h:156:31: note: in instantiation of member function 'google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::begin' requested here return local_iterator(ht_.begin(i), this); ^ src/hashtable_test.cc:616:19: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::begin' requested here cli = this->ht_.begin(0); ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:571:1: note: in instantiation of member function '::TEST_onetype_HashtableIntTest_Typedefs::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableIntTest_Typedefs' requested here TYPED_TEST(HashtableIntTest, Typedefs) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/sparsehashtable.h:179:3: note: candidate constructor not viable: no known conversion from 'nonempty_iterator' (aka 'two_d_iterator, vector_alloc> >') to 'st_iterator' (aka 'int') for 2nd argument sparse_hashtable_iterator(const sparse_hashtable *h, ^ ./src/sparsehash/internal/sparsehashtable.h:182:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided sparse_hashtable_iterator() { } // not ever used internally ^ ./src/sparsehash/internal/sparsehashtable.h:161:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct sparse_hashtable_iterator { ^ src/hashtable_test.cc:620:33: error: invalid operands to binary expression ('google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' and 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator') EXPECT_TRUE(this->ht_.begin() == this->ht_.end()); ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/libc_allocator_with_realloc.h:106:13: note: candidate template ignored: could not match 'libc_allocator_with_realloc' against 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' inline bool operator==(const libc_allocator_with_realloc&, ^ src/hashtable_test.cc:624:20: error: invalid operands to binary expression ('typename HashtableInterface_SparseHashMap >::iterator' and 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator') EXPECT_TRUE(it != this->ht_.end()); ~~ ^ ~~~~~~~~~~~~~~~ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ ./src/sparsehash/internal/libc_allocator_with_realloc.h:112:13: note: candidate template ignored: could not match 'libc_allocator_with_realloc' against 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' inline bool operator!=(const libc_allocator_with_realloc&, ^ src/hashtable_test.cc:625:5: error: cannot increment value of type 'typename HashtableInterface_SparseHashMap >::iterator' ++it; ^ ~~ src/hashtable_test.cc:626:20: error: invalid operands to binary expression ('typename HashtableInterface_SparseHashMap >::iterator' and 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator') EXPECT_TRUE(it == this->ht_.end()); ~~ ^ ~~~~~~~~~~~~~~~ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ ./src/sparsehash/internal/libc_allocator_with_realloc.h:106:13: note: candidate template ignored: could not match 'libc_allocator_with_realloc' against 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' inline bool operator==(const libc_allocator_with_realloc&, ^ In file included from src/hashtable_test.cc:63: ./src/hash_test_interface.h:147:12: error: no matching constructor for initialization of 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::iterator' return iterator(ht_.end(), this); ^ ~~~~~~~~~~~~~~~ src/hashtable_test.cc:620:46: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::end' requested here EXPECT_TRUE(this->ht_.begin() == this->ht_.end()); ^ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/hash_test_interface.h:85:5: note: candidate constructor not viable: requires 0 arguments, but 2 were provided iterator() : parent_(NULL) { } // this allows code like "iterator it;" ^ ./src/hash_test_interface.h:83:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class iterator : public HT::iterator { ^ In file included from src/hashtable_test.cc:63: In file included from ./src/hash_test_interface.h:50: ./src/sparsehash/internal/sparsehashtable.h:378:41: error: no matching constructor for initialization of 'iterator' (aka 'sparse_hashtable_iterator, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >') iterator end() { return iterator(this, table.nonempty_end(), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sparsehash/sparse_hash_map:154:63: note: in instantiation of member function 'google::sparse_hashtable, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >::end' requested here iterator end() { return rep.end(); } ^ ./src/hash_test_interface.h:147:25: note: in instantiation of member function 'google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::end' requested here return iterator(ht_.end(), this); ^ src/hashtable_test.cc:620:46: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::end' requested here EXPECT_TRUE(this->ht_.begin() == this->ht_.end()); ^ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/sparsehashtable.h:179:3: note: candidate constructor not viable: no known conversion from 'nonempty_iterator' (aka 'two_d_iterator, vector_alloc> >') to 'st_iterator' (aka 'int') for 2nd argument sparse_hashtable_iterator(const sparse_hashtable *h, ^ ./src/sparsehash/internal/sparsehashtable.h:182:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided sparse_hashtable_iterator() { } // not ever used internally ^ ./src/sparsehash/internal/sparsehashtable.h:161:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct sparse_hashtable_iterator { ^ ./src/sparsehash/internal/sparsehashtable.h:946:39: error: no matching constructor for initialization of 'iterator' (aka 'sparse_hashtable_iterator, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >') return std::pair(iterator(this, table.get_iter(pos.first), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sparsehash/internal/sparsehashtable.h:979:12: note: in instantiation of member function 'google::sparse_hashtable, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >::insert_noresize' requested here return insert_noresize(obj); ^ ./src/sparsehash/sparse_hash_map:261:16: note: in instantiation of member function 'google::sparse_hashtable, int, ::Hasher, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SelectKey, google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::SetKey, ::Hasher, ::Alloc >::insert' requested here return rep.insert(obj); ^ ./src/hash_test_interface.h:295:52: note: in instantiation of member function 'google::sparse_hash_map::Hasher, ::Hasher, ::Alloc >::insert' requested here std::pair r = ht_.insert(obj); ^ src/hashtable_test.cc:621:13: note: in instantiation of member function 'google::BaseHashtableInterface::Hasher, ::Hasher, ::Alloc > >::insert' requested here this->ht_.insert(this->UniqueObject(1)); ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators::Hasher, ::Hasher, ::Alloc > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:181:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/sparsehashtable.h:179:3: note: candidate constructor not viable: no known conversion from 'nonempty_iterator' (aka 'two_d_iterator, vector_alloc> >') to 'st_iterator' (aka 'int') for 2nd argument sparse_hashtable_iterator(const sparse_hashtable *h, ^ ./src/sparsehash/internal/sparsehashtable.h:182:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided sparse_hashtable_iterator() { } // not ever used internally ^ ./src/sparsehash/internal/sparsehashtable.h:161:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct sparse_hashtable_iterator { ^ In file included from src/hashtable_test.cc:60: /usr/include/c++/vector:502:5: error: implicit instantiation of undefined template '__static_assert_test' static_assert((is_same::value), ^ /usr/include/c++/__config:488:35: note: expanded from macro 'static_assert' typedef __static_assert_check)> \ ^ ./src/sparsehash/sparsetable:1447:20: note: in instantiation of template class 'std::__1::vector, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, 48, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >, ::Alloc, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, 48, ::Alloc, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, unsigned int, 4294967295> >, unsigned int, 4294967295> >' requested here typedef typename group_vector_type::reference GroupsReference; ^ ./src/sparsehash/internal/sparsehashtable.h:168:20: note: in instantiation of template class 'google::sparsetable, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, 48, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >' requested here typedef typename sparsetable::nonempty_iterator ^ ./src/hash_test_interface.h:83:27: note: in instantiation of template class 'google::sparse_hashtable_iterator, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, std::__1::basic_string, std::__1::allocator >, ::Hasher, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SelectKey, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SetKey, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >' requested here class iterator : public HT::iterator { ^ src/hashtable_test.cc:620:25: note: in instantiation of member class 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator' requested here EXPECT_TRUE(this->ht_.begin() == this->ht_.end()); ^ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:205:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ /usr/include/c++/__config:484:24: note: template is declared here template struct __static_assert_test; ^ src/hashtable_test.cc:624:20: error: invalid operands to binary expression ('typename HashtableInterface_SparseHashMap, allocator >, basic_string, allocator >, Hasher, Hasher, Alloc, allocator >, unsigned int, 4294967295> >::iterator' and 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator') EXPECT_TRUE(it != this->ht_.end()); ~~ ^ ~~~~~~~~~~~~~~~ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:205:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/libc_allocator_with_realloc.h:112:13: note: candidate template ignored: could not match 'libc_allocator_with_realloc' against 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator' inline bool operator!=(const libc_allocator_with_realloc&, ^ src/hashtable_test.cc:625:5: error: cannot increment value of type 'typename HashtableInterface_SparseHashMap, allocator >, basic_string, allocator >, Hasher, Hasher, Alloc, allocator >, unsigned int, 4294967295> >::iterator' ++it; ^ ~~ src/hashtable_test.cc:626:20: error: invalid operands to binary expression ('typename HashtableInterface_SparseHashMap, allocator >, basic_string, allocator >, Hasher, Hasher, Alloc, allocator >, unsigned int, 4294967295> >::iterator' and 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator') EXPECT_TRUE(it == this->ht_.end()); ~~ ^ ~~~~~~~~~~~~~~~ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ ./src/sparsehash/internal/libc_allocator_with_realloc.h:106:13: note: candidate template ignored: could not match 'libc_allocator_with_realloc' against 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator' inline bool operator==(const libc_allocator_with_realloc&, ^ In file included from src/hashtable_test.cc:63: In file included from ./src/hash_test_interface.h:50: ./src/sparsehash/internal/sparsehashtable.h:376:41: error: no matching constructor for initialization of 'iterator' (aka 'sparse_hashtable_iterator, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, std::__1::basic_string, std::__1::allocator >, ::Hasher, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SelectKey, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SetKey, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >') iterator begin() { return iterator(this, table.nonempty_begin(), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sparsehash/sparse_hash_map:153:63: note: in instantiation of member function 'google::sparse_hashtable, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, std::__1::basic_string, std::__1::allocator >, ::Hasher, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SelectKey, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SetKey, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::begin' requested here iterator begin() { return rep.begin(); } ^ ./src/hash_test_interface.h:144:25: note: in instantiation of member function 'google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::begin' requested here return iterator(ht_.begin(), this); ^ src/hashtable_test.cc:620:25: note: in instantiation of member function 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::begin' requested here EXPECT_TRUE(this->ht_.begin() == this->ht_.end()); ^ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:205:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ ./src/sparsehash/internal/sparsehashtable.h:179:3: note: candidate constructor not viable: no known conversion from 'nonempty_iterator' (aka 'two_d_iterator, vector_alloc> >') to 'st_iterator' (aka 'int') for 2nd argument sparse_hashtable_iterator(const sparse_hashtable *h, ^ ./src/sparsehash/internal/sparsehashtable.h:182:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided sparse_hashtable_iterator() { } // not ever used internally ^ ./src/sparsehash/internal/sparsehashtable.h:161:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct sparse_hashtable_iterator { ^ In file included from src/hashtable_test.cc:63: ./src/hash_test_interface.h:88:15: error: type 'typename sparse_hash_map, allocator >, basic_string, allocator >, Hasher, Hasher, Alloc, allocator >, unsigned int, 4294967295> >::iterator' (aka 'sparse_hashtable_iterator, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > >, std::__1::basic_string, std::__1::allocator >, ::Hasher, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SelectKey, google::sparse_hash_map, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >::SetKey, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> >') is not a direct or virtual base of 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator' : HT::iterator(it), parent_(parent) { } ^~~~~~~~ ./src/hash_test_interface.h:144:12: note: in instantiation of member function 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::iterator::iterator' requested here return iterator(ht_.begin(), this); ^ src/hashtable_test.cc:620:25: note: in instantiation of member function 'google::BaseHashtableInterface, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::begin' requested here EXPECT_TRUE(this->ht_.begin() == this->ht_.end()); ^ ./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE' if (!(cond)) { \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::Run' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST' Run(); \ ^ src/hashtable_test.cc:619:1: note: in instantiation of member function '::TEST_onetype_HashtableAllTest_NormalIterators, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, ::Hasher, ::Hasher, ::Alloc, std::__1::allocator >, unsigned int, 4294967295> > >::TEST_onetype_HashtableAllTest_NormalIterators' requested here TYPED_TEST(HashtableAllTest, NormalIterators) { ^ ./src/testutil.h:205:68: note: expanded from macro 'TYPED_TEST' TEST_onetype_##superclass##_##testname t; \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/devel/sparsehash/work/sparsehash-2.0.2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/devel/sparsehash/work/sparsehash-2.0.2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/sparsehash *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/sparsehash