* Package: dev-cpp/sparsehash-1.5.2  * Repository: gentoo  * Maintainer: cpp@gentoo.org  * USE: amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU  * FEATURES: sandbox splitdebug >>> Unpacking source... >>> Unpacking sparsehash-1.5.2.tar.gz to /var/tmp/portage/dev-cpp/sparsehash-1.5.2/work >>> Source unpacked in /var/tmp/portage/dev-cpp/sparsehash-1.5.2/work >>> Compiling source in /var/tmp/portage/dev-cpp/sparsehash-1.5.2/work/sparsehash-1.5.2 ... * econf: updating sparsehash-1.5.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sparsehash-1.5.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... x86_64-pc-linux-gnu-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... checking how to include hash_fun directly... checking what namespace STL code is in... std configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands make -j8 [ -d src/google/sparsehash ] || mkdir -p src/google/sparsehash echo "/*" > src/google/sparsehash/_sparsehash_config echo " * NOTE: This file is for internal use only." >> src/google/sparsehash/_sparsehash_config echo " * Do not use these #defines in your own program!" >> src/google/sparsehash/_sparsehash_config echo " */" >> src/google/sparsehash/_sparsehash_config gawk '{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/google/sparsehash/_sparsehash_config mv -f src/google/sparsehash/_sparsehash_config src/google/sparsehash/sparseconfig.h make all-am make[1]: Entering directory `/var/tmp/portage/dev-cpp/sparsehash-1.5.2/work/sparsehash-1.5.2' if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -O2 -march=native -pipe -w -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; \ then mv -f ".deps/type_traits_unittest.Tpo" ".deps/type_traits_unittest.Po"; else rm -f ".deps/type_traits_unittest.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -O2 -march=native -pipe -w -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; \ then mv -f ".deps/sparsetable_unittest.Tpo" ".deps/sparsetable_unittest.Po"; else rm -f ".deps/sparsetable_unittest.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -O2 -march=native -pipe -w -MT hashtable_unittest.o -MD -MP -MF ".deps/hashtable_unittest.Tpo" -c -o hashtable_unittest.o `test -f 'src/hashtable_unittest.cc' || echo './'`src/hashtable_unittest.cc; \ then mv -f ".deps/hashtable_unittest.Tpo" ".deps/hashtable_unittest.Po"; else rm -f ".deps/hashtable_unittest.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -O2 -march=native -pipe -w -MT simple_test.o -MD -MP -MF ".deps/simple_test.Tpo" -c -o simple_test.o `test -f 'src/simple_test.cc' || echo './'`src/simple_test.cc; \ then mv -f ".deps/simple_test.Tpo" ".deps/simple_test.Po"; else rm -f ".deps/simple_test.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -O2 -march=native -pipe -w -MT time_hash_map-time_hash_map.o -MD -MP -MF ".deps/time_hash_map-time_hash_map.Tpo" -c -o time_hash_map-time_hash_map.o `test -f 'src/time_hash_map.cc' || echo './'`src/time_hash_map.cc; \ then mv -f ".deps/time_hash_map-time_hash_map.Tpo" ".deps/time_hash_map-time_hash_map.Po"; else rm -f ".deps/time_hash_map-time_hash_map.Tpo"; exit 1; fi x86_64-pc-linux-gnu-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -O2 -march=native -pipe -w -Wl,-O1 -Wl,--as-needed -o type_traits_unittest type_traits_unittest.o In file included from ./src/google/dense_hash_map:98:0, from src/hashtable_unittest.cc:61: ./src/google/sparsehash/densehashtable.h:149:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/densehashtable.h:199:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/densehashtable.h:253:11: error: ‘ptrdiff_t’ does not name a type In file included from src/sparsetable_unittest.cc:49:0: ./src/google/sparsetable:1085:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsetable: In instantiation of ‘google::table_iterator >’: src/sparsetable_unittest.cc:89:36: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ src/sparsetable_unittest.cc: In function ‘void TestInt()’: src/sparsetable_unittest.cc:90:48: error: no match for ‘operator-’ in ‘it - x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()’ In file included from src/sparsetable_unittest.cc:49:0: ./src/google/sparsetable: At global scope: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator >’: src/sparsetable_unittest.cc:92:42: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ src/sparsetable_unittest.cc: In function ‘void TestInt()’: src/sparsetable_unittest.cc:93:48: error: no match for ‘operator-’ in ‘it - x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()’ src/sparsetable_unittest.cc:96:48: error: no match for ‘operator-’ in ‘google::sparsetable::rend() [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::reverse_iterator = std::reverse_iterator > >]() - 1’ src/sparsetable_unittest.cc:96:48: note: candidates are: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: no known conversion for argument 1 from ‘google::sparsetable::reverse_iterator {aka std::reverse_iterator > >}’ to ‘const std::_Bit_iterator_base&’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:379:47: note: template typename std::reverse_iterator<_IteratorL>::difference_type std::operator-(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:322:46: note: template typename std::reverse_iterator::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) src/sparsetable_unittest.cc:99:48: error: no match for ‘operator-’ in ‘google::sparsetable::rend() const [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::const_reverse_iterator = std::reverse_iterator > >]() - 1’ src/sparsetable_unittest.cc:99:48: note: candidates are: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: no known conversion for argument 1 from ‘google::sparsetable::const_reverse_iterator {aka std::reverse_iterator > >}’ to ‘const std::_Bit_iterator_base&’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:379:47: note: template typename std::reverse_iterator<_IteratorL>::difference_type std::operator-(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:322:46: note: template typename std::reverse_iterator::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) src/sparsetable_unittest.cc:102:48: error: no match for ‘operator-’ in ‘it - z.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()’ src/sparsetable_unittest.cc:112:61: error: no match for ‘operator[]’ in ‘x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()[4]’ src/sparsetable_unittest.cc:113:22: error: no match for ‘operator+’ in ‘x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 4’ src/sparsetable_unittest.cc:113:22: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:121:15: error: no match for ‘operator-’ in ‘it - 3’ src/sparsetable_unittest.cc:122:14: error: no match for ‘operator+’ in ‘1 + it’ src/sparsetable_unittest.cc:122:14: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:123:55: error: no match for ‘operator[]’ in ‘it[-0x00000000000000002]’ src/sparsetable_unittest.cc:124:55: error: no match for ‘operator[]’ in ‘it[-0x00000000000000001]’ src/sparsetable_unittest.cc:126:54: error: no match for ‘operator[]’ in ‘it[0]’ src/sparsetable_unittest.cc:128:21: error: no match for ‘operator[]’ in ‘it[1]’ src/sparsetable_unittest.cc:130:57: error: no match for ‘operator+’ in ‘it + 1’ src/sparsetable_unittest.cc:130:57: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:139:50: error: no match for ‘operator-’ in ‘it - 1’ src/sparsetable_unittest.cc:153:49: error: no match for ‘operator+’ in ‘it + 1’ src/sparsetable_unittest.cc:153:49: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:169:61: error: no match for ‘operator[]’ in ‘x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()[4]’ src/sparsetable_unittest.cc:170:22: error: no match for ‘operator+’ in ‘x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 4’ src/sparsetable_unittest.cc:170:22: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:178:15: error: no match for ‘operator-’ in ‘it - 3’ src/sparsetable_unittest.cc:179:14: error: no match for ‘operator+’ in ‘1 + it’ src/sparsetable_unittest.cc:179:14: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:180:51: error: no match for ‘operator[]’ in ‘it[-0x00000000000000002]’ src/sparsetable_unittest.cc:181:51: error: no match for ‘operator[]’ in ‘it[-0x00000000000000001]’ src/sparsetable_unittest.cc:183:53: error: no match for ‘operator+’ in ‘it + 1’ src/sparsetable_unittest.cc:183:53: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:192:56: error: no match for ‘operator-’ in ‘it - 1’ src/sparsetable_unittest.cc:206:55: error: no match for ‘operator+’ in ‘it + 1’ src/sparsetable_unittest.cc:206:55: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:221:3: error: no match for ‘operator+’ in ‘x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 1’ src/sparsetable_unittest.cc:221:3: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:270:3: error: no match for ‘operator+’ in ‘x.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 1’ src/sparsetable_unittest.cc:270:3: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:299:23: error: no match for ‘operator+’ in ‘y.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 15’ src/sparsetable_unittest.cc:299:23: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:299:39: error: no match for ‘operator+’ in ‘y.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 30’ src/sparsetable_unittest.cc:299:39: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:300:23: error: no match for ‘operator+’ in ‘y.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]() + 34’ src/sparsetable_unittest.cc:300:23: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) src/sparsetable_unittest.cc:307:53: error: no match for ‘operator-’ in ‘it - y.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()’ In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_map:89, from src/hashtable_unittest.cc:64: ./src/google/sparsetable:1085:11: error: ‘ptrdiff_t’ does not name a type src/sparsetable_unittest.cc:349:55: error: no match for ‘operator-’ in ‘it - y2.google::sparsetable::begin [with T = int, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator >]()’ In file included from src/sparsetable_unittest.cc:49:0: ./src/google/sparsetable: At global scope: ./src/google/sparsetable: In instantiation of ‘google::table_iterator > >’: src/sparsetable_unittest.cc:369:39: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable >’ In file included from ./src/google/sparse_hash_map:89:0, from src/hashtable_unittest.cc:64: ./src/google/sparsehash/sparsehashtable.h:157:11: error: ‘ptrdiff_t’ does not name a type src/sparsetable_unittest.cc: In function ‘void TestString()’: src/sparsetable_unittest.cc:371:21: error: no match for ‘operator-’ in ‘it - x.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]()’ src/sparsetable_unittest.cc:371:21: note: candidates are: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘const std::_Bit_iterator_base&’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:379:47: note: template typename std::reverse_iterator<_IteratorL>::difference_type std::operator-(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:322:46: note: template typename std::reverse_iterator::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:891:61: note: template typename __gnu_cxx::__normal_iterator::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:884:62: note: template typename __gnu_cxx::__normal_iterator<_IteratorL, _Container>::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&) src/sparsetable_unittest.cc:375:21: error: no match for ‘operator-’ in ‘it - z.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]()’ src/sparsetable_unittest.cc:375:21: note: candidates are: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘const std::_Bit_iterator_base&’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:379:47: note: template typename std::reverse_iterator<_IteratorL>::difference_type std::operator-(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:322:46: note: template typename std::reverse_iterator::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:891:61: note: template typename __gnu_cxx::__normal_iterator::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:884:62: note: template typename __gnu_cxx::__normal_iterator<_IteratorL, _Container>::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)./src/google/sparsehash/sparsehashtable.h:205:11: error: ‘ptrdiff_t’ does not name a type src/sparsetable_unittest.cc:378:3: error: no match for ‘operator+’ in ‘x.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]() + 1’ src/sparsetable_unittest.cc:378:3: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2359:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, _CharT) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2344:26: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:710:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:695:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2307:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:328:46: note: template std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:897:64: note: template __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) ./src/google/sparsehash/sparsehashtable.h:255:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:305:11: error: ‘ptrdiff_t’ does not name a type src/sparsetable_unittest.cc:423:23: error: no match for ‘operator+’ in ‘y.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]() + 15’ src/sparsetable_unittest.cc:423:23: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2359:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, _CharT) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2344:26: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:710:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:695:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2307:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:328:46: note: template std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:897:64: note: template __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) src/sparsetable_unittest.cc:423:39: error: no match for ‘operator+’ in ‘y.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]() + 30’ src/sparsetable_unittest.cc:423:39: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2359:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, _CharT) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2344:26: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:710:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:695:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2307:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:328:46: note: template std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:897:64: note: template __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) src/sparsetable_unittest.cc:424:23: error: no match for ‘operator+’ in ‘y.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]() + 34’ src/sparsetable_unittest.cc:424:23: note: candidates are: ./src/google/sparsetable:317:61: note: template google::const_table_iterator google::operator+(typename google::const_table_iterator::difference_type, google::const_table_iterator) ./src/google/sparsetable:233:49: note: template google::table_iterator google::operator+(typename google::table_iterator::difference_type, google::table_iterator) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:352:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:266:3: note: no known conversion for argument 1 from ‘google::sparsetable >::iterator {aka google::table_iterator > >}’ to ‘std::ptrdiff_t {aka long int}’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2359:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, _CharT) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2344:26: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:710:79: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.tcc:695:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/basic_string.h:2307:58: note: template std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:328:46: note: template std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:897:64: note: template __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) In file included from src/sparsetable_unittest.cc:49:0: ./src/google/sparsetable: At global scope: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator > >’: src/sparsetable_unittest.cc:429:45: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable >’ src/sparsetable_unittest.cc: In function ‘void TestString()’: src/sparsetable_unittest.cc:431:53: error: no match for ‘operator-’ in ‘it - y.google::sparsetable::begin [with T = std::basic_string, short unsigned int GROUP_SIZE = 48u, google::sparsetable::iterator = google::table_iterator > >]()’ src/sparsetable_unittest.cc:431:53: note: candidates are: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_bvector.h:181:3: note: no known conversion for argument 1 from ‘google::sparsetable >::const_iterator {aka google::const_table_iterator > >}’ to ‘const std::_Bit_iterator_base&’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:379:47: note: template typename std::reverse_iterator<_IteratorL>::difference_type std::operator-(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:322:46: note: template typename std::reverse_iterator::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:891:61: note: template typename __gnu_cxx::__normal_iterator::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&) /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator.h:884:62: note: template typename __gnu_cxx::__normal_iterator<_IteratorL, _Container>::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&) In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_set:93, from src/simple_test.cc:39: ./src/google/sparsetable:1085:11: error: ‘ptrdiff_t’ does not name a type In file included from ./src/google/sparse_hash_set:93:0, from src/simple_test.cc:39: ./src/google/sparsehash/sparsehashtable.h:157:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:205:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:255:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:305:11: error: ‘ptrdiff_t’ does not name a type In file included from ./src/google/dense_hash_set:102:0, from src/simple_test.cc:41: ./src/google/sparsehash/densehashtable.h:149:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/densehashtable.h:199:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/densehashtable.h:253:11: error: ‘ptrdiff_t’ does not name a type In file included from src/simple_test.cc:39:0: ./src/google/sparse_hash_set: In instantiation of ‘google::sparse_hash_set’: src/simple_test.cc:62:32: instantiated from here ./src/google/sparse_hash_set:129:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >’ In file included from src/hashtable_unittest.cc:64:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map’: src/hashtable_unittest.cc:847:35: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from src/simple_test.cc:40:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map’: src/simple_test.cc:63:37: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from src/simple_test.cc:41:0: ./src/google/dense_hash_set: In instantiation of ‘google::dense_hash_set’: src/simple_test.cc:64:31: instantiated from here ./src/google/dense_hash_set:139:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >’ In file included from src/simple_test.cc:42:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map’: src/simple_test.cc:65:36: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >’ ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map’: src/hashtable_unittest.cc:848:37: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from src/hashtable_unittest.cc:61:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map’: src/hashtable_unittest.cc:864:34: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >’ ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map’: src/hashtable_unittest.cc:865:36: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from src/hashtable_unittest.cc:65:0: ./src/google/sparse_hash_set: In instantiation of ‘google::sparse_hash_set’: src/hashtable_unittest.cc:888:26: instantiated from here ./src/google/sparse_hash_set:129:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >’ In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_set:93, from src/simple_test.cc:39: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:789:55: instantiated from ‘google::sparse_hashtable::const_iterator google::sparse_hashtable::find(const key_type&) const [with Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_set:222:75: instantiated from ‘google::sparse_hash_set::iterator google::sparse_hash_set::find(const key_type&) const [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_set::iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hash_set::key_type = int]’ src/simple_test.cc:92:5: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:789:55: instantiated from ‘google::sparse_hashtable::const_iterator google::sparse_hashtable::find(const key_type&) const [with Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_set:222:75: instantiated from ‘google::sparse_hash_set::iterator google::sparse_hash_set::find(const key_type&) const [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_set::iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hash_set::key_type = int]’ src/simple_test.cc:92:5: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::key_type = int]’ src/simple_test.cc:93:5: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::key_type = int]’ src/simple_test.cc:93:5: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ In file included from src/hashtable_unittest.cc:62:0: ./src/google/dense_hash_set: In instantiation of ‘google::dense_hash_set’: src/hashtable_unittest.cc:898:25: instantiated from here ./src/google/dense_hash_set:139:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >’ In file included from src/hashtable_unittest.cc:61:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map >’: src/hashtable_unittest.cc:1027:33: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable >, int, std::tr1::hash, google::dense_hash_map >::SelectKey, google::dense_hash_map >::SetKey, std::equal_to, std::allocator > >’ In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_map:89, from src/time_hash_map.cc:64: ./src/google/sparsetable:1085:11: error: ‘ptrdiff_t’ does not name a type make[1]: *** [sparsetable_unittest.o] Errore 1 make[1]: *** Attesa dei processi non terminati.... In file included from ./src/google/sparse_hash_map:89:0, from src/time_hash_map.cc:64: ./src/google/sparsehash/sparsehashtable.h:157:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:205:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:255:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/sparsehashtable.h:305:11: error: ‘ptrdiff_t’ does not name a type In file included from src/hashtable_unittest.cc:64:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map’: src/hashtable_unittest.cc:1249:60: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, MemUsingKey, MemUsingKey::Hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, MemUsingKey::Equal, std::allocator >’ In file included from ./src/google/dense_hash_map:98:0, from src/time_hash_map.cc:67: ./src/google/sparsehash/densehashtable.h:149:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/densehashtable.h:199:11: error: ‘ptrdiff_t’ does not name a type ./src/google/sparsehash/densehashtable.h:253:11: error: ‘ptrdiff_t’ does not name a type In file included from src/hashtable_unittest.cc:61:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map’: src/hashtable_unittest.cc:1264:59: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, MemUsingKey, MemUsingKey::Hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, MemUsingKey::Equal, std::allocator >’ In file included from src/hashtable_unittest.cc:65:0: ./src/google/sparse_hash_set: In instantiation of ‘google::sparse_hash_set >’: src/hashtable_unittest.cc:967:19: instantiated from ‘void TestHash() [with Hash = google::sparse_hash_set]’ src/hashtable_unittest.cc:980:29: instantiated from here ./src/google/sparse_hash_set:129:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable >::Identity, google::sparse_hash_set >::SetKey, TestEqualTo, std::allocator >’ In file included from src/time_hash_map.cc:64:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map, int, HashFn>’: src/time_hash_map.cc:309:11: instantiated from ‘void time_map_grow(int) [with MapType = google::sparse_hash_map, int, HashFn>]’ src/time_hash_map.cc:447:10: instantiated from ‘void measure_map(const char*, int) [with MapType = google::sparse_hash_map, int, HashFn>]’ src/time_hash_map.cc:476:78: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn>::SelectKey, google::sparse_hash_map, int, HashFn>::SetKey, std::equal_to >, std::allocator >’ In file included from src/hashtable_unittest.cc:62:0: ./src/google/dense_hash_set: In instantiation of ‘google::dense_hash_set >’: src/hashtable_unittest.cc:967:19: instantiated from ‘void TestHash() [with Hash = google::dense_hash_set]’ src/hashtable_unittest.cc:981:28: instantiated from here ./src/google/dense_hash_set:139:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable >::Identity, google::dense_hash_set >::SetKey, TestEqualTo, std::allocator >’ make[1]: *** [simple_test.o] Errore 1 In file included from src/time_hash_map.cc:67:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map, int, HashFn>’: src/time_hash_map.cc:309:11: instantiated from ‘void time_map_grow(int) [with MapType = google::dense_hash_map, int, HashFn>]’ src/time_hash_map.cc:447:10: instantiated from ‘void measure_map(const char*, int) [with MapType = google::dense_hash_map, int, HashFn>]’ src/time_hash_map.cc:477:76: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int>, HashObject<4, 4>, HashFn, google::dense_hash_map, int, HashFn>::SelectKey, google::dense_hash_map, int, HashFn>::SetKey, std::equal_to >, std::allocator >’ In file included from src/hashtable_unittest.cc:64:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map >’: src/hashtable_unittest.cc:990:18: instantiated from ‘void TestMap() [with Map = google::sparse_hash_map]’ src/hashtable_unittest.cc:1003:28: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int, TestHashFcn, google::sparse_hash_map >::SelectKey, google::sparse_hash_map >::SetKey, TestEqualTo, std::allocator >’ In file included from src/hashtable_unittest.cc:61:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map >’: src/hashtable_unittest.cc:990:18: instantiated from ‘void TestMap() [with Map = google::dense_hash_map]’ src/hashtable_unittest.cc:1004:27: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int, TestHashFcn, google::dense_hash_map >::SelectKey, google::dense_hash_map >::SetKey, TestEqualTo, std::allocator >’ In file included from src/hashtable_unittest.cc:64:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map’: src/hashtable_unittest.cc:1115:8: instantiated from ‘void TestTR1API() [with HS = google::sparse_hash_map]’ src/hashtable_unittest.cc:1364:42: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from src/hashtable_unittest.cc:61:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map’: src/hashtable_unittest.cc:1115:8: instantiated from ‘void TestTR1API() [with HS = google::dense_hash_map]’ src/hashtable_unittest.cc:1365:41: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_map:89, from src/time_hash_map.cc:64: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, int>, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, int>, Key = HashObject<4, 4>, HashFcn = HashFn, ExtractKey = google::sparse_hash_map, int, HashFn>::SelectKey, SetKey = google::sparse_hash_map, int, HashFn>::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::key_type = HashObject<4, 4>]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, int>, Key = HashObject<4, 4>, HashFcn = HashFn, ExtractKey = google::sparse_hash_map, int, HashFn>::SelectKey, SetKey = google::sparse_hash_map, int, HashFn>::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn>::SelectKey, google::sparse_hash_map, int, HashFn>::SetKey, std::equal_to >, std::allocator >, google::sparse_hashtable::key_type = HashObject<4, 4>]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = HashObject<4, 4>, T = int, HashFcn = HashFn, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn>::SelectKey, google::sparse_hash_map, int, HashFn>::SetKey, std::equal_to >, std::allocator >, google::sparse_hash_map::key_type = HashObject<4, 4>]’ src/time_hash_map.cc:375:5: instantiated from ‘void time_map_fetch(int) [with MapType = google::sparse_hash_map, int, HashFn>]’ src/time_hash_map.cc:450:10: instantiated from ‘void measure_map(const char*, int) [with MapType = google::sparse_hash_map, int, HashFn>]’ src/time_hash_map.cc:476:78: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, int>, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, int>, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, int>, Key = HashObject<4, 4>, HashFcn = HashFn, ExtractKey = google::sparse_hash_map, int, HashFn>::SelectKey, SetKey = google::sparse_hash_map, int, HashFn>::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::key_type = HashObject<4, 4>]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, int>, Key = HashObject<4, 4>, HashFcn = HashFn, ExtractKey = google::sparse_hash_map, int, HashFn>::SelectKey, SetKey = google::sparse_hash_map, int, HashFn>::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn>::SelectKey, google::sparse_hash_map, int, HashFn>::SetKey, std::equal_to >, std::allocator >, google::sparse_hashtable::key_type = HashObject<4, 4>]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = HashObject<4, 4>, T = int, HashFcn = HashFn, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn>::SelectKey, google::sparse_hash_map, int, HashFn>::SetKey, std::equal_to >, std::allocator >, google::sparse_hash_map::key_type = HashObject<4, 4>]’ src/time_hash_map.cc:375:5: instantiated from ‘void time_map_fetch(int) [with MapType = google::sparse_hash_map, int, HashFn>]’ src/time_hash_map.cc:450:10: instantiated from ‘void measure_map(const char*, int) [with MapType = google::sparse_hash_map, int, HashFn>]’ src/time_hash_map.cc:476:78: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, int>, 48u>’ In file included from src/hashtable_unittest.cc:62:0: ./src/google/dense_hash_set: In instantiation of ‘google::dense_hash_set, std::tr1::hash > >’: src/hashtable_unittest.cc:666:6: instantiated from ‘void test_string(bool) [with ht = google::dense_hash_set, std::tr1::hash > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_set, htstr = google::dense_hash_set, std::tr1::hash > >, htint = google::dense_hash_set]’ src/hashtable_unittest.cc:1310:35: instantiated from here ./src/google/dense_hash_set:139:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, std::basic_string, std::tr1::hash >, google::dense_hash_set, std::tr1::hash > >::Identity, google::dense_hash_set, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator > >’ ./src/google/dense_hash_set: In instantiation of ‘google::dense_hash_set’: src/hashtable_unittest.cc:544:6: instantiated from ‘void test_charptr(bool) [with ht = google::dense_hash_set]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_set, htstr = google::dense_hash_set, std::tr1::hash > >, htint = google::dense_hash_set]’ src/hashtable_unittest.cc:1310:35: instantiated from here ./src/google/dense_hash_set:139:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable::Identity, google::dense_hash_set::SetKey, strcmp_fnc, std::allocator >’ In file included from src/hashtable_unittest.cc:61:0: ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map, int, std::tr1::hash > >’: src/hashtable_unittest.cc:666:6: instantiated from ‘void test_string(bool) [with ht = google::dense_hash_map, int, std::tr1::hash > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_map, htstr = google::dense_hash_map, int, std::tr1::hash > >, htint = google::dense_hash_map]’ src/hashtable_unittest.cc:1319:40: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, int>, std::basic_string, std::tr1::hash >, google::dense_hash_map, int, std::tr1::hash > >::SelectKey, google::dense_hash_map, int, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator >’ make[1]: *** [time_hash_map-time_hash_map.o] Errore 1 ./src/google/dense_hash_map: In instantiation of ‘google::dense_hash_map’: src/hashtable_unittest.cc:544:6: instantiated from ‘void test_charptr(bool) [with ht = google::dense_hash_map]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_map, htstr = google::dense_hash_map, int, std::tr1::hash > >, htint = google::dense_hash_map]’ src/hashtable_unittest.cc:1319:40: instantiated from here ./src/google/dense_hash_map:142:40: error: no type named ‘difference_type’ in ‘class google::dense_hashtable, char*, CharStarHash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, strcmp_fnc, std::allocator >’ In file included from src/hashtable_unittest.cc:65:0: ./src/google/sparse_hash_set: In instantiation of ‘google::sparse_hash_set, std::tr1::hash > >’: src/hashtable_unittest.cc:666:6: instantiated from ‘void test_string(bool) [with ht = google::sparse_hash_set, std::tr1::hash > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_set, htstr = google::sparse_hash_set, std::tr1::hash > >, htint = google::sparse_hash_set]’ src/hashtable_unittest.cc:1338:35: instantiated from here ./src/google/sparse_hash_set:129:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, std::basic_string, std::tr1::hash >, google::sparse_hash_set, std::tr1::hash > >::Identity, google::sparse_hash_set, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator > >’ ./src/google/sparse_hash_set: In instantiation of ‘google::sparse_hash_set’: src/hashtable_unittest.cc:544:6: instantiated from ‘void test_charptr(bool) [with ht = google::sparse_hash_set]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_set, htstr = google::sparse_hash_set, std::tr1::hash > >, htint = google::sparse_hash_set]’ src/hashtable_unittest.cc:1338:35: instantiated from here ./src/google/sparse_hash_set:129:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable::Identity, google::sparse_hash_set::SetKey, strcmp_fnc, std::allocator >’ In file included from src/hashtable_unittest.cc:64:0: ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map, int, std::tr1::hash > >’: src/hashtable_unittest.cc:666:6: instantiated from ‘void test_string(bool) [with ht = google::sparse_hash_map, int, std::tr1::hash > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, int>, std::basic_string, std::tr1::hash >, google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, google::sparse_hash_map, int, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator >’ ./src/google/sparse_hash_map: In instantiation of ‘google::sparse_hash_map’: src/hashtable_unittest.cc:544:6: instantiated from ‘void test_charptr(bool) [with ht = google::sparse_hash_map]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparse_hash_map:133:40: error: no type named ‘difference_type’ in ‘class google::sparse_hashtable, char*, CharStarHash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, strcmp_fnc, std::allocator >’ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_algobase.h:66:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_tree.h:63, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/map:60, from src/hashtable_unittest.cc:53: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits, Identity, SetKey, std::equal_to, std::allocator > >’: ./src/google/sparsehash/densehashtable.h:870:5: instantiated from ‘void google::dense_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = Identity, SetKey = SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::dense_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::dense_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::dense_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::dense_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1304:31: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘struct google::dense_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits, Identity, SetKey, std::equal_to, std::allocator > >’: ./src/google/sparsehash/sparsehashtable.h:866:5: instantiated from ‘void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = Identity, SetKey = SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1332:30: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘struct google::sparse_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >’ In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_map:89, from src/hashtable_unittest.cc:64: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:364:5: instantiated from ‘google::sparse_hashtable::local_iterator google::sparse_hashtable::begin(google::sparse_hashtable::size_type) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::local_iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::size_type = long unsigned int]’ ./src/google/sparse_hash_map:151:70: instantiated from ‘google::sparse_hash_map::local_iterator google::sparse_hash_map::begin(google::sparse_hash_map::size_type) [with Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::local_iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::size_type = long unsigned int]’ src/hashtable_unittest.cc:1123:59: instantiated from ‘void TestTR1API() [with HS = google::sparse_hash_map]’ src/hashtable_unittest.cc:1364:42: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:364:5: instantiated from ‘google::sparse_hashtable::local_iterator google::sparse_hashtable::begin(google::sparse_hashtable::size_type) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::local_iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::size_type = long unsigned int]’ ./src/google/sparse_hash_map:151:70: instantiated from ‘google::sparse_hash_map::local_iterator google::sparse_hash_map::begin(google::sparse_hash_map::size_type) [with Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::local_iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::size_type = long unsigned int]’ src/hashtable_unittest.cc:1123:59: instantiated from ‘void TestTR1API() [with HS = google::sparse_hash_map]’ src/hashtable_unittest.cc:1364:42: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator >’: ./src/google/sparsehash/sparsehashtable.h:376:5: instantiated from ‘google::sparse_hashtable::const_local_iterator google::sparse_hashtable::begin(google::sparse_hashtable::size_type) const [with Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::const_local_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::size_type = long unsigned int]’ ./src/google/sparse_hash_set:146:63: instantiated from ‘google::sparse_hash_set::local_iterator google::sparse_hash_set::begin(google::sparse_hash_set::size_type) const [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_set::local_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hash_set::size_type = long unsigned int]’ src/hashtable_unittest.cc:1123:59: instantiated from ‘void TestTR1API() [with HS = google::sparse_hash_set]’ src/hashtable_unittest.cc:1366:37: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator >’: ./src/google/sparsehash/sparsehashtable.h:376:5: instantiated from ‘google::sparse_hashtable::const_local_iterator google::sparse_hashtable::begin(google::sparse_hashtable::size_type) const [with Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::const_local_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::size_type = long unsigned int]’ ./src/google/sparse_hash_set:146:63: instantiated from ‘google::sparse_hash_set::local_iterator google::sparse_hash_set::begin(google::sparse_hash_set::size_type) const [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_set::local_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, google::sparse_hash_set::size_type = long unsigned int]’ src/hashtable_unittest.cc:1123:59: instantiated from ‘void TestTR1API() [with HS = google::sparse_hash_set]’ src/hashtable_unittest.cc:1366:37: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = int, T = Memmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::key_type = int]’ ./src/google/sparse_hash_map:232:27: instantiated from ‘google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int, T = Memmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::data_type = Memmove, google::sparse_hash_map::key_type = int]’ src/hashtable_unittest.cc:853:16: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = int, T = Memmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::key_type = int]’ ./src/google/sparse_hash_map:232:27: instantiated from ‘google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int, T = Memmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::data_type = Memmove, google::sparse_hash_map::key_type = int]’ src/hashtable_unittest.cc:853:16: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = int, T = NoMemmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::key_type = int]’ ./src/google/sparse_hash_map:232:27: instantiated from ‘google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int, T = NoMemmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::data_type = NoMemmove, google::sparse_hash_map::key_type = int]’ src/hashtable_unittest.cc:856:18: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::key_type = int]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hashtable::key_type = int]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = int, T = NoMemmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, google::sparse_hash_map::key_type = int]’ ./src/google/sparse_hash_map:232:27: instantiated from ‘google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int, T = NoMemmove, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_map::data_type = NoMemmove, google::sparse_hash_map::key_type = int]’ src/hashtable_unittest.cc:856:18: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = MemUsingKey, HashFcn = MemUsingKey::Hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, google::sparse_hashtable::key_type = MemUsingKey]’ ./src/google/sparsehash/sparsehashtable.h:837:69: instantiated from ‘std::pair, bool> google::sparse_hashtable::insert_noresize(const value_type&) [with Value = std::pair, Key = MemUsingKey, HashFcn = MemUsingKey::Hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, google::sparse_hashtable::value_type = std::pair]’ ./src/google/sparsehash/sparsehashtable.h:859:31: instantiated from ‘std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = std::pair, Key = MemUsingKey, HashFcn = MemUsingKey::Hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, google::sparse_hashtable::value_type = std::pair]’ ./src/google/sparse_hash_map:250:77: instantiated from ‘std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = MemUsingKey, T = MemUsingValueWithZeroArgConstructor, HashFcn = MemUsingKey::Hash, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, typename google::sparse_hashtable, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, MemUsingKey, MemUsingKey::Hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, MemUsingKey::Equal, std::allocator >, google::sparse_hash_map::value_type = std::pair]’ src/hashtable_unittest.cc:1253:70: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = MemUsingKey, HashFcn = MemUsingKey::Hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, google::sparse_hashtable::key_type = MemUsingKey]’ ./src/google/sparsehash/sparsehashtable.h:837:69: instantiated from ‘std::pair, bool> google::sparse_hashtable::insert_noresize(const value_type&) [with Value = std::pair, Key = MemUsingKey, HashFcn = MemUsingKey::Hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, google::sparse_hashtable::value_type = std::pair]’ ./src/google/sparsehash/sparsehashtable.h:859:31: instantiated from ‘std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = std::pair, Key = MemUsingKey, HashFcn = MemUsingKey::Hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, google::sparse_hashtable::value_type = std::pair]’ ./src/google/sparse_hash_map:250:77: instantiated from ‘std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = MemUsingKey, T = MemUsingValueWithZeroArgConstructor, HashFcn = MemUsingKey::Hash, EqualKey = MemUsingKey::Equal, Alloc = std::allocator, typename google::sparse_hashtable, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, MemUsingKey, MemUsingKey::Hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, MemUsingKey::Equal, std::allocator >, google::sparse_hash_map::value_type = std::pair]’ src/hashtable_unittest.cc:1253:70: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ In file included from ./src/google/dense_hash_map:98:0, from src/hashtable_unittest.cc:61: ./src/google/sparsehash/densehashtable.h: In member function ‘void google::dense_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = google::dense_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = Identity, SetKey = SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’: ./src/google/sparsehash/densehashtable.h:870:5: instantiated from ‘void google::dense_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = Identity, SetKey = SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::dense_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::dense_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::dense_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::dense_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1304:31: instantiated from here ./src/google/sparsehash/densehashtable.h:877:47: error: no matching function for call to ‘distance(google::dense_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >&, google::dense_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >&)’ ./src/google/sparsehash/densehashtable.h:877:47: note: candidate is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_funcs.h:113:5: note: template typename std::iterator_traits::difference_type std::distance(_InputIterator, _InputIterator) In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_algobase.h:66:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_tree.h:63, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/map:60, from src/hashtable_unittest.cc:53: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: At global scope: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator > >’: ./src/google/sparsehash/densehashtable.h:870:5: instantiated from ‘void google::dense_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::dense_hash_set::Identity, SetKey = google::dense_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/dense_hash_set:248:56: instantiated from ‘void google::dense_hash_set::insert(google::dense_hash_set::const_iterator, google::dense_hash_set::const_iterator) [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::dense_hash_set::const_iterator = google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::dense_hash_set]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_set, htstr = google::dense_hash_set, std::tr1::hash > >, htint = google::dense_hash_set]’ src/hashtable_unittest.cc:1310:35: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘struct google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator > >’: ./src/google/sparsehash/densehashtable.h:870:5: instantiated from ‘void google::dense_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >, Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::dense_hash_map::SelectKey, SetKey = google::dense_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/dense_hash_map:265:56: instantiated from ‘void google::dense_hash_map::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >, Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::dense_hash_map]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_map, htstr = google::dense_hash_map, int, std::tr1::hash > >, htint = google::dense_hash_map]’ src/hashtable_unittest.cc:1319:40: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘struct google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from ./src/google/sparse_hash_map:89:0, from src/hashtable_unittest.cc:64: ./src/google/sparsehash/sparsehashtable.h: In member function ‘void google::sparse_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = google::sparse_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = Identity, SetKey = SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’: ./src/google/sparsehash/sparsehashtable.h:866:5: instantiated from ‘void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = Identity, SetKey = SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1332:30: instantiated from here ./src/google/sparsehash/sparsehashtable.h:873:47: error: no matching function for call to ‘distance(google::sparse_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >&, google::sparse_hashtable_iterator, Identity, SetKey, std::equal_to, std::allocator >&)’ ./src/google/sparsehash/sparsehashtable.h:873:47: note: candidate is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_funcs.h:113:5: note: template typename std::iterator_traits::difference_type std::distance(_InputIterator, _InputIterator) In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_map:89, from src/hashtable_unittest.cc:64: ./src/google/sparsetable: At global scope: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::basic_string, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = Identity >, SetKey = SetKey >, EqualKey = std::equal_to >, Alloc = std::allocator >, google::sparse_hashtable::key_type = std::basic_string]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::basic_string, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = Identity >, SetKey = SetKey >, EqualKey = std::equal_to >, Alloc = std::allocator >, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, google::sparse_hashtable::key_type = std::basic_string]’ src/hashtable_unittest.cc:712:7: instantiated from ‘void test_string(bool) [with ht = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1332:30: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::basic_string, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = Identity >, SetKey = SetKey >, EqualKey = std::equal_to >, Alloc = std::allocator >, google::sparse_hashtable::key_type = std::basic_string]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::basic_string, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = Identity >, SetKey = SetKey >, EqualKey = std::equal_to >, Alloc = std::allocator >, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, google::sparse_hashtable::key_type = std::basic_string]’ src/hashtable_unittest.cc:712:7: instantiated from ‘void test_string(bool) [with ht = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1332:30: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = char*, Key = char*, HashFcn = CharStarHash, ExtractKey = Identity, SetKey = SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::key_type = char*]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = char*, Key = char*, HashFcn = CharStarHash, ExtractKey = Identity, SetKey = SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, SetKey, strcmp_fnc, std::allocator >, google::sparse_hashtable::key_type = char*]’ src/hashtable_unittest.cc:586:7: instantiated from ‘void test_charptr(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1332:30: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = char*, Key = char*, HashFcn = CharStarHash, ExtractKey = Identity, SetKey = SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::key_type = char*]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = char*, Key = char*, HashFcn = CharStarHash, ExtractKey = Identity, SetKey = SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, SetKey, strcmp_fnc, std::allocator >, google::sparse_hashtable::key_type = char*]’ src/hashtable_unittest.cc:586:7: instantiated from ‘void test_charptr(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::sparse_hashtable, SetKey, strcmp_fnc, std::allocator >, htstr = google::sparse_hashtable, std::basic_string, std::tr1::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >, htint = google::sparse_hashtable, Identity, SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:1332:30: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable’ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_algobase.h:66:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_tree.h:63, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/map:60, from src/hashtable_unittest.cc:53: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator > >’: ./src/google/sparsehash/sparsehashtable.h:866:5: instantiated from ‘void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/sparse_hash_set:237:56: instantiated from ‘void google::sparse_hash_set::insert(google::sparse_hash_set::const_iterator, google::sparse_hash_set::const_iterator) [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_set::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::sparse_hash_set]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_set, htstr = google::sparse_hash_set, std::tr1::hash > >, htint = google::sparse_hash_set]’ src/hashtable_unittest.cc:1338:35: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘struct google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >’ /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator > >’: ./src/google/sparsehash/sparsehashtable.h:866:5: instantiated from ‘void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/sparse_hash_map:252:56: instantiated from ‘void google::sparse_hash_map::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘struct google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >’ In file included from ./src/google/dense_hash_map:98:0, from src/hashtable_unittest.cc:61: ./src/google/sparsehash/densehashtable.h: In member function ‘void google::dense_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::dense_hash_set::Identity, SetKey = google::dense_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’: ./src/google/sparsehash/densehashtable.h:870:5: instantiated from ‘void google::dense_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::dense_hash_set::Identity, SetKey = google::dense_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/dense_hash_set:248:56: instantiated from ‘void google::dense_hash_set::insert(google::dense_hash_set::const_iterator, google::dense_hash_set::const_iterator) [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::dense_hash_set::const_iterator = google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::dense_hash_set]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_set, htstr = google::dense_hash_set, std::tr1::hash > >, htint = google::dense_hash_set]’ src/hashtable_unittest.cc:1310:35: instantiated from here ./src/google/sparsehash/densehashtable.h:877:47: error: no matching function for call to ‘distance(google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >&, google::dense_hashtable_const_iterator, google::dense_hash_set::Identity, google::dense_hash_set::SetKey, std::equal_to, std::allocator >&)’ ./src/google/sparsehash/densehashtable.h:877:47: note: candidate is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_funcs.h:113:5: note: template typename std::iterator_traits::difference_type std::distance(_InputIterator, _InputIterator) ./src/google/sparsehash/densehashtable.h: In member function ‘void google::dense_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >, Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::dense_hash_map::SelectKey, SetKey = google::dense_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’: ./src/google/sparsehash/densehashtable.h:870:5: instantiated from ‘void google::dense_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >, Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::dense_hash_map::SelectKey, SetKey = google::dense_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/dense_hash_map:265:56: instantiated from ‘void google::dense_hash_map::insert(InputIterator, InputIterator) [with InputIterator = google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >, Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::dense_hash_map]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::dense_hash_map, htstr = google::dense_hash_map, int, std::tr1::hash > >, htint = google::dense_hash_map]’ src/hashtable_unittest.cc:1319:40: instantiated from here ./src/google/sparsehash/densehashtable.h:877:47: error: no matching function for call to ‘distance(google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >&, google::dense_hashtable_iterator, int, std::tr1::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >&)’ ./src/google/sparsehash/densehashtable.h:877:47: note: candidate is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_funcs.h:113:5: note: template typename std::iterator_traits::difference_type std::distance(_InputIterator, _InputIterator) In file included from ./src/google/sparse_hash_map:89:0, from src/hashtable_unittest.cc:64: ./src/google/sparsehash/sparsehashtable.h: In member function ‘void google::sparse_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’: ./src/google/sparsehash/sparsehashtable.h:866:5: instantiated from ‘void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >, Value = int, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_set::Identity, SetKey = google::sparse_hash_set::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/sparse_hash_set:237:56: instantiated from ‘void google::sparse_hash_set::insert(google::sparse_hash_set::const_iterator, google::sparse_hash_set::const_iterator) [with Value = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator, google::sparse_hash_set::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::sparse_hash_set]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_set, htstr = google::sparse_hash_set, std::tr1::hash > >, htint = google::sparse_hash_set]’ src/hashtable_unittest.cc:1338:35: instantiated from here ./src/google/sparsehash/sparsehashtable.h:873:47: error: no matching function for call to ‘distance(google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >&, google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >&)’ ./src/google/sparsehash/sparsehashtable.h:873:47: note: candidate is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_funcs.h:113:5: note: template typename std::iterator_traits::difference_type std::distance(_InputIterator, _InputIterator) ./src/google/sparsehash/sparsehashtable.h: In member function ‘void google::sparse_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’: ./src/google/sparsehash/sparsehashtable.h:866:5: instantiated from ‘void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, Value = std::pair, Key = int, HashFcn = std::tr1::hash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = std::equal_to, Alloc = std::allocator]’ ./src/google/sparse_hash_map:252:56: instantiated from ‘void google::sparse_hash_map::insert(InputIterator, InputIterator) [with InputIterator = google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >, Key = int, T = int, HashFcn = std::tr1::hash, EqualKey = std::equal_to, Alloc = std::allocator]’ src/hashtable_unittest.cc:472:3: instantiated from ‘void test_int() [with htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:799:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparsehash/sparsehashtable.h:873:47: error: no matching function for call to ‘distance(google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >&, google::sparse_hashtable_iterator, int, std::tr1::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >&)’ ./src/google/sparsehash/sparsehashtable.h:873:47: note: candidate is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/include/g++-v4/bits/stl_iterator_base_funcs.h:113:5: note: template typename std::iterator_traits::difference_type std::distance(_InputIterator, _InputIterator) In file included from ./src/google/sparsehash/sparsehashtable.h:115:0, from ./src/google/sparse_hash_map:89, from src/hashtable_unittest.cc:64: ./src/google/sparsetable: At global scope: ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, int>, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, int>, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, SetKey = google::sparse_hash_map, int, std::tr1::hash > >::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::key_type = std::basic_string]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, int>, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, SetKey = google::sparse_hash_map, int, std::tr1::hash > >::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, std::basic_string, std::tr1::hash >, google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, google::sparse_hash_map, int, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator >, google::sparse_hashtable::key_type = std::basic_string]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = std::basic_string, T = int, HashFcn = std::tr1::hash >, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int>, std::basic_string, std::tr1::hash >, google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, google::sparse_hash_map, int, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator >, google::sparse_hash_map::key_type = std::basic_string]’ src/hashtable_unittest.cc:712:7: instantiated from ‘void test_string(bool) [with ht = google::sparse_hash_map, int, std::tr1::hash > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, int>, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, int>, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, int>, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, SetKey = google::sparse_hash_map, int, std::tr1::hash > >::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::key_type = std::basic_string]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, int>, Key = std::basic_string, HashFcn = std::tr1::hash >, ExtractKey = google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, SetKey = google::sparse_hash_map, int, std::tr1::hash > >::SetKey, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, std::basic_string, std::tr1::hash >, google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, google::sparse_hash_map, int, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator >, google::sparse_hashtable::key_type = std::basic_string]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = std::basic_string, T = int, HashFcn = std::tr1::hash >, EqualKey = std::equal_to >, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, int>, std::basic_string, std::tr1::hash >, google::sparse_hash_map, int, std::tr1::hash > >::SelectKey, google::sparse_hash_map, int, std::tr1::hash > >::SetKey, std::equal_to >, std::allocator >, google::sparse_hash_map::key_type = std::basic_string]’ src/hashtable_unittest.cc:712:7: instantiated from ‘void test_string(bool) [with ht = google::sparse_hash_map, int, std::tr1::hash > >]’ src/hashtable_unittest.cc:800:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, int>, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::const_table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = char*, HashFcn = CharStarHash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::key_type = char*]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = char*, HashFcn = CharStarHash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, char*, CharStarHash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, strcmp_fnc, std::allocator >, google::sparse_hashtable::key_type = char*]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = char*, T = int, HashFcn = CharStarHash, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, char*, CharStarHash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, strcmp_fnc, std::allocator >, google::sparse_hash_map::key_type = char*]’ src/hashtable_unittest.cc:586:7: instantiated from ‘void test_charptr(bool) [with ht = google::sparse_hash_map]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparsetable:245:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ ./src/google/sparsetable: In instantiation of ‘google::table_iterator, 48u> >’: ./src/google/sparsehash/sparsehashtable.h:756:7: instantiated from ‘std::pair google::sparse_hashtable::find_position(const key_type&) const [with Value = std::pair, Key = char*, HashFcn = CharStarHash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::key_type = char*]’ ./src/google/sparsehash/sparsehashtable.h:780:55: instantiated from ‘google::sparse_hashtable::iterator google::sparse_hashtable::find(const key_type&) [with Value = std::pair, Key = char*, HashFcn = CharStarHash, ExtractKey = google::sparse_hash_map::SelectKey, SetKey = google::sparse_hash_map::SetKey, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, char*, CharStarHash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, strcmp_fnc, std::allocator >, google::sparse_hashtable::key_type = char*]’ ./src/google/sparse_hash_map:228:75: instantiated from ‘google::sparse_hash_map::iterator google::sparse_hash_map::find(const key_type&) [with Key = char*, T = int, HashFcn = CharStarHash, EqualKey = strcmp_fnc, Alloc = std::allocator, google::sparse_hash_map::iterator = google::sparse_hashtable_iterator, char*, CharStarHash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, strcmp_fnc, std::allocator >, google::sparse_hash_map::key_type = char*]’ src/hashtable_unittest.cc:586:7: instantiated from ‘void test_charptr(bool) [with ht = google::sparse_hash_map]’ src/hashtable_unittest.cc:801:3: instantiated from ‘void test(bool) [with ht = google::sparse_hash_map, htstr = google::sparse_hash_map, int, std::tr1::hash > >, htint = google::sparse_hash_map]’ src/hashtable_unittest.cc:1347:40: instantiated from here ./src/google/sparsetable:162:47: error: no type named ‘difference_type’ in ‘class google::sparsetable, 48u>’ make[1]: *** [hashtable_unittest.o] Errore 1 make[1]: Leaving directory `/var/tmp/portage/dev-cpp/sparsehash-1.5.2/work/sparsehash-1.5.2' make: *** [all] Errore 2 emake failed * ERROR: dev-cpp/sparsehash-1.5.2 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 186: Called _eapi0_src_compile * ebuild.sh, line 629: Called _eapi2_src_compile * ebuild.sh, line 669: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-cpp/sparsehash-1.5.2', * the complete build log and the output of 'emerge -pqv =dev-cpp/sparsehash-1.5.2'. * The complete build log is located at '/var/tmp/portage/dev-cpp/sparsehash-1.5.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/sparsehash-1.5.2/temp/environment'. * S: '/var/tmp/portage/dev-cpp/sparsehash-1.5.2/work/sparsehash-1.5.2'