Skip to content

Instantly share code, notes, and snippets.

@WattsInABox
Created October 12, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WattsInABox/6d75f07c6954b7274034 to your computer and use it in GitHub Desktop.
Save WattsInABox/6d75f07c6954b7274034 to your computer and use it in GitHub Desktop.
gem install google_hash -v 0.8.8 on Mac OS X El Capitan
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/williamrwatson/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20151012-90285-1dtklec.rb extconf.rb
building local copy/version of google sparse/dense hash library
sh configure --prefix=/Users/williamrwatson/.rvm/gems/ruby-2.1.5@o2o/gems/google_hash-0.8.8/ext/local_installed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for memcpy... yes
checking for memmove... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for uint16_t... yes
checking for u_int16_t... yes
checking for __uint16... no
checking for long long... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking how to run the C++ preprocessor... g++ -E
checking google/malloc_extension.h usability... no
checking google/malloc_extension.h presence... no
checking for google/malloc_extension.h... no
checking whether the compiler implements namespaces... yes
checking the location of hash_map... <unordered_map>
checking how to include hash_fun directly... <functional>
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
[ -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
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
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -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
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o template_util_unittest template_util_unittest.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -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:296:28: warning: 'const' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<const RefFloat>::value);
^~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:297:28: warning: 'volatile' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<volatile RefFloat>::value);
^~~~~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:298:28: warning: 'const' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<const volatile RefFloat>::value);
^~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
src/type_traits_unittest.cc:298:34: warning: 'volatile' qualifier on reference type 'RefFloat' (aka 'float &') has no effect [-Wignored-qualifiers]
EXPECT_TRUE(is_reference<const volatile RefFloat>::value);
^~~~~~~~~
./src/testutil.h:51:9: note: expanded from macro 'EXPECT_TRUE'
if (!(cond)) { \
^
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_;
^
8 warnings generated.
mv -f .deps/type_traits_unittest.Tpo .deps/type_traits_unittest.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o type_traits_unittest type_traits_unittest.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -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
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o libc_allocator_with_realloc_test libc_allocator_with_realloc_test.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -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
In file included from src/sparsetable_unittest.cc:47:
In file included from ./src/sparsehash/sparsetable:246:
./src/sparsehash/internal/hashtable-common.h:167:29: warning: unused typedef 'serializing_int_requires_an_unsigned_type' [-Wunused-local-typedef]
serializing_int_requires_an_unsigned_type);
^
./src/sparsehash/internal/hashtable-common.h:54:49: note: expanded from macro 'SPARSEHASH_COMPILE_ASSERT'
typedef SparsehashCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
^
./src/sparsehash/internal/hashtable-common.h:180:29: warning: unused typedef 'serializing_int_requires_an_unsigned_type' [-Wunused-local-typedef]
serializing_int_requires_an_unsigned_type);
^
./src/sparsehash/internal/hashtable-common.h:54:49: note: expanded from macro 'SPARSEHASH_COMPILE_ASSERT'
typedef SparsehashCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
^
2 warnings generated.
mv -f .deps/sparsetable_unittest.Tpo .deps/sparsetable_unittest.Po
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o sparsetable_unittest sparsetable_unittest.o
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -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) { }
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:193:68: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type4> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: substitution failure [with K2 = int, T2 = int]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('int' vs 'const int &')
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:197:68: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type5> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: substitution failure [with K2 = int]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('int' vs 'const int &')
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Negation<int>, (anonymous namespace)::SetKey<int, (anonymous namespace)::Negation<int> >, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Negation<int>, (anonymous namespace)::SetKey<int, (anonymous namespace)::Negation<int> >, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:201:68: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type6> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashtable'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: substitution failure [with V2 = int, K2 = int]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('int' vs 'const int &')
friend void swap(
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<const char *, (anonymous namespace)::ValueType, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<const char *, (anonymous namespace)::ValueType, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:241:69: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type16> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: substitution failure [with K2 = const char *, T2 = (anonymous namespace)::ValueType]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('const char *' vs 'const char *const &')
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:245:69: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type17> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: substitution failure [with K2 = const char *]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('const char *' vs 'const char *const &')
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<const char *, const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Identity, (anonymous namespace)::SetKey<const char *, (anonymous namespace)::Identity>, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<(anonymous namespace)::ValueType, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<const char *, const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Identity, (anonymous namespace)::SetKey<const char *, (anonymous namespace)::Identity>, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<(anonymous namespace)::ValueType, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:249:69: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type18> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashtable'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: substitution failure [with V2 = const char *, K2 = const char *]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('const char *' vs 'const char *const &')
friend void swap(
^
3 warnings and 6 errors generated.
make[1]: *** [hashtable_test.o] Error 1
make: *** [all] Error 2
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -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) { }
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:193:68: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type4> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: substitution failure [with K2 = int, T2 = int]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('int' vs 'const int &')
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:197:68: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type5> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: substitution failure [with K2 = int]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('int' vs 'const int &')
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Negation<int>, (anonymous namespace)::SetKey<int, (anonymous namespace)::Negation<int> >, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<int, int, &kEmptyInt, (anonymous namespace)::Hasher, (anonymous namespace)::Negation<int>, (anonymous namespace)::SetKey<int, (anonymous namespace)::Negation<int> >, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<int, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:201:68: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type6> t; \
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: substitution failure [with V2 = int, K2 = int]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('int' vs 'const int &')
friend void swap(
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashtable'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<const char *, (anonymous namespace)::ValueType, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashMap<const char *, (anonymous namespace)::ValueType, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:241:69: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type16> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashMap'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashMap'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashMap'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: substitution failure [with K2 = const char *, T2 = (anonymous namespace)::ValueType]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('const char *' vs 'const char *const &')
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashMap'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashSet<const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<const char *, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:245:69: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type17> t; \
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashSet'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashtable' against 'HashtableInterface_DenseHashSet'
friend void swap(
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: substitution failure [with K2 = const char *]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('const char *' vs 'const char *const &')
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashSet'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashSet'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
src/hashtable_test.cc:904:3: error: no matching function for call to 'swap'
swap(this->ht_, other_ht);
^~~~
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<const char *, const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Identity, (anonymous namespace)::SetKey<const char *, (anonymous namespace)::Identity>, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<(anonymous namespace)::ValueType, unsigned long, 18446744073709551615> > >::Run' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:171:7: note: expanded from macro 'TYPED_TEST'
Run(); \
^
src/hashtable_test.cc:857:1: note: in instantiation of member function '(anonymous namespace)::TEST_onetype_HashtableAllTest_Swap<google::HashtableInterface_DenseHashtable<const char *, const char *, &kEmptyCharStar, (anonymous namespace)::Hasher, (anonymous namespace)::Identity, (anonymous namespace)::SetKey<const char *, (anonymous namespace)::Identity>, (anonymous namespace)::Hasher, (anonymous namespace)::Alloc<(anonymous namespace)::ValueType, unsigned long, 18446744073709551615> > >::TEST_onetype_HashtableAllTest_Swap' requested here
TYPED_TEST(HashtableAllTest, Swap) {
^
./src/testutil.h:249:69: note: expanded from macro 'TYPED_TEST'
TEST_onetype_##superclass##_##testname<superclass##_type18> t; \
^
./src/hash_test_interface.h:553:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashSet<K2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:1007:15: note: candidate template ignored: substitution failure [with V2 = const char *, K2 = const char *]: deduced non-type template argument does not have the same type as the its corresponding template parameter ('const char *' vs 'const char *const &')
friend void swap(
^
./src/sparsehash/sparsetable:1348:13: note: candidate template ignored: could not match 'sparsegroup' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsegroup<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/sparsetable:1813:13: note: candidate template ignored: could not match 'sparsetable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparsetable<T,GROUP_SIZE,Alloc> &x,
^
./src/sparsehash/internal/sparsehashtable.h:1222:13: note: candidate template ignored: could not match 'sparse_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/sparse_hash_map:356:13: note: candidate template ignored: could not match 'sparse_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/sparse_hash_set:331:13: note: candidate template ignored: could not match 'sparse_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(sparse_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/sparsehash/internal/densehashtable.h:1290:13: note: candidate template ignored: could not match 'dense_hashtable' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hashtable<V,K,HF,ExK,SetK,EqK,A> &x,
^
./src/sparsehash/dense_hash_map:362:13: note: candidate template ignored: could not match 'dense_hash_map' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_map<Key, T, HashFcn, EqualKey, Alloc>& hm1,
^
./src/sparsehash/dense_hash_set:331:13: note: candidate template ignored: could not match 'dense_hash_set' against 'HashtableInterface_DenseHashtable'
inline void swap(dense_hash_set<Val, HashFcn, EqualKey, Alloc>& hs1,
^
./src/hash_test_interface.h:446:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_SparseHashMap<K2,T2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:674:15: note: candidate template ignored: could not match 'HashtableInterface_SparseHashtable' against 'HashtableInterface_DenseHashtable'
friend void swap(
^
./src/hash_test_interface.h:772:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashMap' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashMap<K2,T2,Empty2,H2,E2,A2>& a,
^
./src/hash_test_interface.h:876:15: note: candidate template ignored: could not match 'HashtableInterface_DenseHashSet' against 'HashtableInterface_DenseHashtable'
friend void swap(HashtableInterface_DenseHashSet<K2,Empty2,H2,E2,A2>& a,
^
3 warnings and 6 errors generated.
make[1]: *** [hashtable_test.o] Error 1
make: *** [install] Error 2
running from /Users/williamrwatson/.rvm/gems/ruby-2.1.5@o2o/gems/google_hash-0.8.8/ext
checking for tr1/functional... no
checking for functional... yes
checking for tr1/functional... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling dense_double_to_double.cpp
dense_double_to_double.cpp:3:10: fatal error: 'google/dense_hash_map' file not found
#include <google/dense_hash_map>
^
1 error generated.
make: *** [dense_double_to_double.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/williamrwatson/.rvm/gems/ruby-2.1.5@o2o/gems/google_hash-0.8.8 for inspection.
Results logged to /Users/williamrwatson/.rvm/gems/ruby-2.1.5@o2o/extensions/x86_64-darwin-15/2.1.0/google_hash-0.8.8/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment