------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> sparsehash-2.0.3 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> sparsehash-2.0.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sparsehash-2.0.3 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> sparsehash-2.0.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sparsehash-2.0.3 for building => SHA256 Checksum OK for sparsehash-sparsehash-sparsehash-2.0.3_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> sparsehash-2.0.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sparsehash-2.0.3 for building ===> Extracting for sparsehash-2.0.3 => SHA256 Checksum OK for sparsehash-sparsehash-sparsehash-2.0.3_GH0.tar.gz. Extracted Memory Use: 1.61M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for sparsehash-2.0.3 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> Configuring for sparsehash-2.0.3 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for uint16_t... yes checking for u_int16_t... (cached) yes checking for __uint16... no checking for long long... (cached) yes checking for sys/resource.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) 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... c++ -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... configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for sparsehash-2.0.3 --- src/sparsehash/internal/sparseconfig.h --- [ -d src/sparsehash/internal ] || mkdir -p src/sparsehash/internal echo "/*" > src/sparsehash/internal/_sparsehash_config echo " * NOTE: This file is for internal use only." >> src/sparsehash/internal/_sparsehash_config echo " * Do not use these #defines in your own program!" >> src/sparsehash/internal/_sparsehash_config echo " */" >> src/sparsehash/internal/_sparsehash_config /usr/bin/awk '{prevline=currline; currline=$0;} /^#/ {in_second_file = 1;} !in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; in_second_file { for (i in inc) { if (index(currline, i) != 0) { print "\n"prevline"\n"currline; delete inc[i]; } } }' ./src/config.h.include ./src/config.h >> src/sparsehash/internal/_sparsehash_config mv -f src/sparsehash/internal/_sparsehash_config src/sparsehash/internal/sparseconfig.h --- all --- /usr/bin/make all-am --- template_util_unittest.o --- --- type_traits_unittest.o --- --- libc_allocator_with_realloc_test.o --- --- sparsetable_unittest.o --- --- hashtable_test.o --- --- simple_test.o --- --- simple_compat_test.o --- --- time_hash_map-time_hash_map.o --- --- libsparsehash.pc --- --- template_util_unittest.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -MT template_util_unittest.o -MD -MP -MF .deps/template_util_unittest.Tpo -c -o template_util_unittest.o `test -f 'src/template_util_unittest.cc' || echo './'`src/template_util_unittest.cc --- type_traits_unittest.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -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 --- hashtable_test.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -MT hashtable_test.o -MD -MP -MF .deps/hashtable_test.Tpo -c -o hashtable_test.o `test -f 'src/hashtable_test.cc' || echo './'`src/hashtable_test.cc --- simple_test.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -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 --- simple_compat_test.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -MT simple_compat_test.o -MD -MP -MF .deps/simple_compat_test.Tpo -c -o simple_compat_test.o `test -f 'src/simple_compat_test.cc' || echo './'`src/simple_compat_test.cc --- time_hash_map-time_hash_map.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -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 --- libc_allocator_with_realloc_test.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -MT libc_allocator_with_realloc_test.o -MD -MP -MF .deps/libc_allocator_with_realloc_test.Tpo -c -o libc_allocator_with_realloc_test.o `test -f 'src/libc_allocator_with_realloc_test.cc' || echo './'`src/libc_allocator_with_realloc_test.cc --- libsparsehash.pc --- echo 'prefix=/usr/local' > "libsparsehash.pc".tmp echo 'exec_prefix='`echo '/usr/local' | sed 's@^/usr/local@${prefix}@'` >> "libsparsehash.pc".tmp echo 'libdir='`echo '/usr/local/lib' | sed 's@^/usr/local@${exec_prefix}@'` >> "libsparsehash.pc".tmp --- sparsetable_unittest.o --- c++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -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 --- libsparsehash.pc --- echo 'includedir='`echo '/usr/local/include' | sed 's@^/usr/local@${prefix}@'` >> "libsparsehash.pc".tmp echo '' >> "libsparsehash.pc".tmp echo 'Name: sparsehash' >> "libsparsehash.pc".tmp echo 'Version: 2.0.2' >> "libsparsehash.pc".tmp grep '^Summary:' ./packages/rpm/rpm.spec | sed s/^Summary:/Description:/ | head -n1 >> "libsparsehash.pc".tmp grep '^URL: ' ./packages/rpm/rpm.spec >> "libsparsehash.pc".tmp echo 'Requires:' >> "libsparsehash.pc".tmp echo 'Libs:' >> "libsparsehash.pc".tmp echo 'Cflags: -I${includedir}' >> "libsparsehash.pc".tmp mv -f "libsparsehash.pc".tmp "libsparsehash.pc" --- template_util_unittest.o --- mv -f .deps/template_util_unittest.Tpo .deps/template_util_unittest.Po --- template_util_unittest --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o template_util_unittest template_util_unittest.o --- type_traits_unittest.o --- mv -f .deps/type_traits_unittest.Tpo .deps/type_traits_unittest.Po --- type_traits_unittest --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o type_traits_unittest type_traits_unittest.o --- libc_allocator_with_realloc_test.o --- mv -f .deps/libc_allocator_with_realloc_test.Tpo .deps/libc_allocator_with_realloc_test.Po --- libc_allocator_with_realloc_test --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o libc_allocator_with_realloc_test libc_allocator_with_realloc_test.o --- simple_test.o --- In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_set:97, from src/simple_test.cc:40: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::reference = std::pair&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::reference = std::pair&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, google::libc_allocator_with_realloc > >; google::sparse_hashtable::const_reference = const std::pair&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = int]' src/simple_test.cc:74:11: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/utility:70, from /usr/include/c++/8.0/algorithm:60, from ./src/sparsehash/sparse_hash_set:92, from src/simple_test.cc:40: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_set:97, from src/simple_test.cc:40: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: required from 'google::sparse_hashtable::sparse_hashtable(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:655:22: required from 'bool google::sparse_hashtable::resize_delta(google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = int]' src/simple_test.cc:74:11: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/utility:70, from /usr/include/c++/8.0/algorithm:60, from ./src/sparsehash/sparse_hash_set:92, from src/simple_test.cc:40: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ --- simple_compat_test.o --- In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_set:97, from ./src/google/sparse_hash_set:34, from src/simple_compat_test.cc:40: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::reference = std::pair&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::reference = std::pair&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, google::libc_allocator_with_realloc > >; google::sparse_hashtable::const_reference = const std::pair&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = int]' src/simple_compat_test.cc:74:11: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/utility:70, from /usr/include/c++/8.0/algorithm:60, from ./src/sparsehash/sparse_hash_set:92, from ./src/google/sparse_hash_set:34, from src/simple_compat_test.cc:40: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_set:97, from ./src/google/sparse_hash_set:34, from src/simple_compat_test.cc:40: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: required from 'google::sparse_hashtable::sparse_hashtable(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:655:22: required from 'bool google::sparse_hashtable::resize_delta(google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = int]' src/simple_compat_test.cc:74:11: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/utility:70, from /usr/include/c++/8.0/algorithm:60, from ./src/sparsehash/sparse_hash_set:92, from ./src/google/sparse_hash_set:34, from src/simple_compat_test.cc:40: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ --- hashtable_test.o --- src/hashtable_test.cc: In instantiation of 'void {anonymous}::TEST_onetype_HashtableIntTest_Typedefs::Run() [with TypeParam = google::HashtableInterface_SparseHashMap >]': src/hashtable_test.cc:571:1: required from '{anonymous}::TEST_onetype_HashtableIntTest_Typedefs::TEST_onetype_HashtableIntTest_Typedefs() [with TypeParam = google::HashtableInterface_SparseHashMap >]' src/hashtable_test.cc:571:1: required from here src/hashtable_test.cc:577:32: warning: variable 'kt' set but not used [-Wunused-but-set-variable] typename TypeParam::key_type kt; ^~ src/hashtable_test.cc:583:33: warning: variable 'st' set but not used [-Wunused-but-set-variable] typename TypeParam::size_type st; ^~ src/hashtable_test.cc: In instantiation of 'void {anonymous}::TEST_onetype_HashtableIntTest_Typedefs::Run() [with TypeParam = google::HashtableInterface_SparseHashSet >]': src/hashtable_test.cc:571:1: required from '{anonymous}::TEST_onetype_HashtableIntTest_Typedefs::TEST_onetype_HashtableIntTest_Typedefs() [with TypeParam = google::HashtableInterface_SparseHashSet >]' src/hashtable_test.cc:571:1: required from here src/hashtable_test.cc:577:32: warning: variable 'kt' set but not used [-Wunused-but-set-variable] typename TypeParam::key_type kt; ^~ src/hashtable_test.cc:583:33: warning: variable 'st' set but not used [-Wunused-but-set-variable] typename TypeParam::size_type st; ^~ src/hashtable_test.cc: In instantiation of 'void {anonymous}::TEST_onetype_HashtableIntTest_Typedefs::Run() [with TypeParam = google::HashtableInterface_SparseHashtable, {anonymous}::SetKey >, {anonymous}::Hasher, {anonymous}::Alloc >]': src/hashtable_test.cc:571:1: required from '{anonymous}::TEST_onetype_HashtableIntTest_Typedefs::TEST_onetype_HashtableIntTest_Typedefs() [with TypeParam = google::HashtableInterface_SparseHashtable, {anonymous}::SetKey >, {anonymous}::Hasher, {anonymous}::Alloc >]' src/hashtable_test.cc:571:1: required from here src/hashtable_test.cc:577:32: warning: variable 'kt' set but not used [-Wunused-but-set-variable] typename TypeParam::key_type kt; ^~ src/hashtable_test.cc:583:33: warning: variable 'st' set but not used [-Wunused-but-set-variable] typename TypeParam::size_type st; ^~ src/hashtable_test.cc: In instantiation of 'void {anonymous}::TEST_onetype_HashtableIntTest_Typedefs::Run() [with TypeParam = google::HashtableInterface_DenseHashMap >]': src/hashtable_test.cc:571:1: required from '{anonymous}::TEST_onetype_HashtableIntTest_Typedefs::TEST_onetype_HashtableIntTest_Typedefs() [with TypeParam = google::HashtableInterface_DenseHashMap >]' src/hashtable_test.cc:571:1: required from here src/hashtable_test.cc:577:32: warning: variable 'kt' set but not used [-Wunused-but-set-variable] typename TypeParam::key_type kt; ^~ src/hashtable_test.cc:583:33: warning: variable 'st' set but not used [-Wunused-but-set-variable] typename TypeParam::size_type st; ^~ src/hashtable_test.cc: In instantiation of 'void {anonymous}::TEST_onetype_HashtableIntTest_Typedefs::Run() [with TypeParam = google::HashtableInterface_DenseHashSet >]': src/hashtable_test.cc:571:1: required from '{anonymous}::TEST_onetype_HashtableIntTest_Typedefs::TEST_onetype_HashtableIntTest_Typedefs() [with TypeParam = google::HashtableInterface_DenseHashSet >]' src/hashtable_test.cc:571:1: required from here src/hashtable_test.cc:577:32: warning: variable 'kt' set but not used [-Wunused-but-set-variable] typename TypeParam::key_type kt; ^~ src/hashtable_test.cc:583:33: warning: variable 'st' set but not used [-Wunused-but-set-variable] typename TypeParam::size_type st; ^~ src/hashtable_test.cc: In instantiation of 'void {anonymous}::TEST_onetype_HashtableIntTest_Typedefs::Run() [with TypeParam = google::HashtableInterface_DenseHashtable, {anonymous}::SetKey >, {anonymous}::Hasher, {anonymous}::Alloc >]': src/hashtable_test.cc:571:1: required from '{anonymous}::TEST_onetype_HashtableIntTest_Typedefs::TEST_onetype_HashtableIntTest_Typedefs() [with TypeParam = google::HashtableInterface_DenseHashtable, {anonymous}::SetKey >, {anonymous}::Hasher, {anonymous}::Alloc >]' src/hashtable_test.cc:571:1: required from here src/hashtable_test.cc:577:32: warning: variable 'kt' set but not used [-Wunused-but-set-variable] typename TypeParam::key_type kt; ^~ src/hashtable_test.cc:583:33: warning: variable 'st' set but not used [-Wunused-but-set-variable] typename TypeParam::size_type st; ^~ --- time_hash_map-time_hash_map.o --- In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<4, 4>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<4, 4>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<4, 4>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<4, 4>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<4, 4>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<4, 4>]' src/time_hash_map.cc:721:71: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<8, 8>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<8, 8>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<8, 8>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<8, 8>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<8, 8>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<8, 8>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<8, 8>]' src/time_hash_map.cc:722:71: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<16, 16>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<16, 16>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<16, 16>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<16, 16>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<16, 16>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<16, 16>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<16, 16>]' src/time_hash_map.cc:723:75: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<256, 256>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<256, 256>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<256, 256>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<256, 256>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<256, 256>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<256, 256>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<256, 256>]' src/time_hash_map.cc:724:80: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::reference = std::pair* const, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair* const, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::reference = std::pair* const, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair* const, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<4, 4>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator* const, int>, HashObject<4, 4>*, HashFn, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >; google::sparse_hashtable::const_reference = const std::pair* const, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::DefaultValue; Value = std::pair* const, int>; Key = HashObject<4, 4>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::value_type = std::pair* const, int>; google::sparse_hashtable::key_type = HashObject<4, 4>*]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<4, 4>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<4, 4>*]' src/time_hash_map.cc:633:12: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<4, 4>]' src/time_hash_map.cc:721:71: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::reference = std::pair* const, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair* const, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::reference = std::pair* const, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair* const, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<8, 8>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator* const, int>, HashObject<8, 8>*, HashFn, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >; google::sparse_hashtable::const_reference = const std::pair* const, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::DefaultValue; Value = std::pair* const, int>; Key = HashObject<8, 8>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::value_type = std::pair* const, int>; google::sparse_hashtable::key_type = HashObject<8, 8>*]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<8, 8>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<8, 8>*]' src/time_hash_map.cc:633:12: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<8, 8>]' src/time_hash_map.cc:722:71: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::reference = std::pair* const, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair* const, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::reference = std::pair* const, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair* const, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<16, 16>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator* const, int>, HashObject<16, 16>*, HashFn, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >; google::sparse_hashtable::const_reference = const std::pair* const, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::DefaultValue; Value = std::pair* const, int>; Key = HashObject<16, 16>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::value_type = std::pair* const, int>; google::sparse_hashtable::key_type = HashObject<16, 16>*]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<16, 16>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<16, 16>*]' src/time_hash_map.cc:633:12: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<16, 16>]' src/time_hash_map.cc:723:75: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::reference = std::pair* const, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair* const, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::reference = std::pair* const, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair* const, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<256, 256>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator* const, int>, HashObject<256, 256>*, HashFn, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey, google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >; google::sparse_hashtable::const_reference = const std::pair* const, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::DefaultValue; Value = std::pair* const, int>; Key = HashObject<256, 256>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::value_type = std::pair* const, int>; google::sparse_hashtable::key_type = HashObject<256, 256>*]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<256, 256>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<256, 256>*]' src/time_hash_map.cc:633:12: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<256, 256>]' src/time_hash_map.cc:724:80: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/densehashtable.h:101, from ./src/sparsehash/dense_hash_map:104, from src/time_hash_map.cc:86: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::pair, int>; google::libc_allocator_with_realloc::pointer = std::pair, int>*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/sparsetable:1316:15: required from 'google::sparsegroup::alloc_impl >::pointer google::sparsegroup::alloc_impl >::realloc_or_die(google::sparsegroup::alloc_impl >::pointer, google::sparsegroup::alloc_impl >::size_type) [with A = std::pair, int>; T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::alloc_impl >::pointer = std::pair, int>*; google::sparsegroup::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/sparsetable:1087:11: required from 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<4, 4>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<4, 4>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<4, 4>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<4, 4>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<4, 4>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<4, 4>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<4, 4>]' src/time_hash_map.cc:721:71: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair, int>'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/densehashtable.h:101, from ./src/sparsehash/dense_hash_map:104, from src/time_hash_map.cc:86: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::pair, int>; google::libc_allocator_with_realloc::pointer = std::pair, int>*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/sparsetable:1316:15: required from 'google::sparsegroup::alloc_impl >::pointer google::sparsegroup::alloc_impl >::realloc_or_die(google::sparsegroup::alloc_impl >::pointer, google::sparsegroup::alloc_impl >::size_type) [with A = std::pair, int>; T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::alloc_impl >::pointer = std::pair, int>*; google::sparsegroup::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/sparsetable:1087:11: required from 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<8, 8>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<8, 8>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<8, 8>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<8, 8>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<8, 8>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<8, 8>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<8, 8>]' src/time_hash_map.cc:722:71: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair, int>'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/densehashtable.h:101, from ./src/sparsehash/dense_hash_map:104, from src/time_hash_map.cc:86: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::pair, int>; google::libc_allocator_with_realloc::pointer = std::pair, int>*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/sparsetable:1316:15: required from 'google::sparsegroup::alloc_impl >::pointer google::sparsegroup::alloc_impl >::realloc_or_die(google::sparsegroup::alloc_impl >::pointer, google::sparsegroup::alloc_impl >::size_type) [with A = std::pair, int>; T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::alloc_impl >::pointer = std::pair, int>*; google::sparsegroup::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/sparsetable:1087:11: required from 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<16, 16>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<16, 16>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<16, 16>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<16, 16>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<16, 16>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<16, 16>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<16, 16>]' src/time_hash_map.cc:723:75: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair, int>'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/densehashtable.h:101, from ./src/sparsehash/dense_hash_map:104, from src/time_hash_map.cc:86: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::pair, int>; google::libc_allocator_with_realloc::pointer = std::pair, int>*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/sparsetable:1316:15: required from 'google::sparsegroup::alloc_impl >::pointer google::sparsegroup::alloc_impl >::realloc_or_die(google::sparsegroup::alloc_impl >::pointer, google::sparsegroup::alloc_impl >::size_type) [with A = std::pair, int>; T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::alloc_impl >::pointer = std::pair, int>*; google::sparsegroup::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/sparsetable:1087:11: required from 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::reference = std::pair, int>&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair, int>&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::reference = std::pair, int>&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair, int>&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<256, 256>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int>, HashObject<256, 256>, HashFn, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey, google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey, std::equal_to >, google::libc_allocator_with_realloc, int> > >; google::sparse_hashtable::const_reference = const std::pair, int>&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<256, 256>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<256, 256>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<256, 256>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<256, 256>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<256, 256>]' src/time_hash_map.cc:724:80: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair, int>'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<4, 4>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<4, 4>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<4, 4>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<4, 4>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<4, 4>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<4, 4>]' src/time_hash_map.cc:721:71: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<8, 8>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<8, 8>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<8, 8>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<8, 8>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<8, 8>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<8, 8>]' src/time_hash_map.cc:722:71: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<16, 16>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<16, 16>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<16, 16>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<16, 16>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<16, 16>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<16, 16>]' src/time_hash_map.cc:723:75: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsegroup::iterator = google::table_iterator, int>, 48, google::libc_allocator_with_realloc, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair, int>; Key = HashObject<256, 256>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::DefaultValue; Value = std::pair, int>; Key = HashObject<256, 256>; HashFcn = HashFn; ExtractKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SelectKey; SetKey = google::sparse_hash_map, int, HashFn, std::equal_to >, google::libc_allocator_with_realloc, int> > >::SetKey; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hashtable::value_type = std::pair, int>; google::sparse_hashtable::key_type = HashObject<256, 256>]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = HashObject<256, 256>; T = int; HashFcn = HashFn; EqualKey = std::equal_to >; Alloc = google::libc_allocator_with_realloc, int> >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = HashObject<256, 256>]' src/time_hash_map.cc:434:8: required from 'void time_map_grow(int) [with MapType = EasyUseSparseHashMap, int, HashFn>]' src/time_hash_map.cc:658:32: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<256, 256>]' src/time_hash_map.cc:724:80: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<4, 4>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/sparse_hash_map:235:41: required from 'void google::sparse_hash_map::resize(google::sparse_hash_map::size_type) [with Key = HashObject<4, 4>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::size_type = long unsigned int]' src/time_hash_map.cc:620:5: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<4, 4>]' src/time_hash_map.cc:721:71: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<8, 8>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/sparse_hash_map:235:41: required from 'void google::sparse_hash_map::resize(google::sparse_hash_map::size_type) [with Key = HashObject<8, 8>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::size_type = long unsigned int]' src/time_hash_map.cc:620:5: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<8, 8>]' src/time_hash_map.cc:722:71: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<16, 16>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/sparse_hash_map:235:41: required from 'void google::sparse_hash_map::resize(google::sparse_hash_map::size_type) [with Key = HashObject<16, 16>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::size_type = long unsigned int]' src/time_hash_map.cc:620:5: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<16, 16>]' src/time_hash_map.cc:723:75: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ In file included from ./src/sparsehash/internal/sparsehashtable.h:106, from ./src/sparsehash/sparse_hash_map:93, from src/time_hash_map.cc:87: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsegroup::iterator = google::table_iterator* const, int>, 48, google::libc_allocator_with_realloc* const, int> > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair* const, int>; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair* const, int>; Key = HashObject<256, 256>*; HashFcn = HashFn; ExtractKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SelectKey; SetKey = google::sparse_hash_map*, int, HashFn, std::equal_to*>, google::libc_allocator_with_realloc* const, int> > >::SetKey; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/sparsehash/sparse_hash_map:235:41: required from 'void google::sparse_hash_map::resize(google::sparse_hash_map::size_type) [with Key = HashObject<256, 256>*; T = int; HashFcn = HashFn; EqualKey = std::equal_to*>; Alloc = google::libc_allocator_with_realloc* const, int> >; google::sparse_hash_map::size_type = long unsigned int]' src/time_hash_map.cc:620:5: required from 'void stresshashfunction(int, int, int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:649:34: required from 'void stresshashfunction(int) [with MapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:673:38: required from 'void measure_map(const char*, int, int, bool) [with MapType = EasyUseSparseHashMap, int, HashFn>; StressMapType = EasyUseSparseHashMap*, int, HashFn>]' src/time_hash_map.cc:683:63: required from 'void test_all_maps(int, int) [with ObjType = HashObject<256, 256>]' src/time_hash_map.cc:724:80: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair* const, int>' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/stl_tree.h:63, from /usr/include/c++/8.0/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ --- simple_test.o --- mv -f .deps/simple_test.Tpo .deps/simple_test.Po --- simple_test --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o simple_test simple_test.o --- simple_compat_test.o --- mv -f .deps/simple_compat_test.Tpo .deps/simple_compat_test.Po --- simple_compat_test --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o simple_compat_test simple_compat_test.o --- sparsetable_unittest.o --- mv -f .deps/sparsetable_unittest.Tpo .deps/sparsetable_unittest.Po --- sparsetable_unittest --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o sparsetable_unittest sparsetable_unittest.o --- hashtable_test.o --- In file included from src/hashtable_test.cc:62: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::reference = std::pair&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::reference = std::pair&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, google::libc_allocator_with_realloc > >; google::sparse_hashtable::const_reference = const std::pair&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = int; google::sparse_hash_map::key_type = int]' src/hashtable_test.cc:634:9: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from src/hashtable_test.cc:62: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::reference = std::pair&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::reference = std::pair&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, {anonymous}::Hasher, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, {anonymous}::Hasher, google::libc_allocator_with_realloc > >; google::sparse_hashtable::const_reference = const std::pair&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = {anonymous}::Memmove; HashFcn = {anonymous}::Hasher; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = {anonymous}::Memmove; google::sparse_hash_map::key_type = int]' src/hashtable_test.cc:1777:14: required from here ./src/sparsehash/sparsetable:1091:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i-1, sizeof(*group)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ./src/sparsehash/sparsetable:247, from src/hashtable_test.cc:62: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::pair >; google::libc_allocator_with_realloc::pointer = std::pair >*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/internal/densehashtable.h:1196:15: required from 'google::dense_hashtable::alloc_impl >::pointer google::dense_hashtable::alloc_impl >::realloc_or_die(google::dense_hashtable::alloc_impl >::pointer, google::dense_hashtable::alloc_impl >::size_type) [with A = std::pair >; Value = std::pair >; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SelectKey; SetKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc > >; google::dense_hashtable::alloc_impl >::pointer = std::pair >*; google::dense_hashtable::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/internal/densehashtable.h:622:11: required from 'void google::dense_hashtable::resize_table(google::dense_hashtable::size_type, google::dense_hashtable::size_type, google::true_type) [with Value = std::pair >; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SelectKey; SetKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc > >; google::dense_hashtable::size_type = long unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/internal/densehashtable.h:779:9: required from 'void google::dense_hashtable::clear_to_size(google::dense_hashtable::size_type) [with Value = std::pair >; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SelectKey; SetKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc > >; google::dense_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/densehashtable.h:632:5: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, google::dense_hashtable::size_type) [with Value = std::pair >; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SelectKey; SetKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc > >; google::dense_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/densehashtable.h:723:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, google::dense_hashtable::size_type) [with Value = std::pair >; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SelectKey; SetKey = google::dense_hash_map, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc > >; google::dense_hashtable::size_type = long unsigned int]' ./src/sparsehash/dense_hash_map:113:7: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair >'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from src/hashtable_test.cc:62: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/sparsetable:1706:5: required from 'bool google::sparsetable::read_metadata(INPUT*) [with INPUT = __FILE; T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >]' ./src/sparsehash/internal/sparsehashtable.h:1114:16: required from 'bool google::sparse_hashtable::read_metadata(INPUT*) [with INPUT = __FILE; Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >]' ./src/sparsehash/sparse_hash_map:345:70: required from 'bool google::sparse_hash_map::read_metadata(INPUT*) [with INPUT = __FILE; Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = google::libc_allocator_with_realloc >]' src/hashtable_test.cc:1451:3: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ./src/sparsehash/sparsetable:247, from src/hashtable_test.cc:62: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::pair; google::libc_allocator_with_realloc::pointer = std::pair*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/sparsetable:1316:15: required from 'google::sparsegroup::alloc_impl >::pointer google::sparsegroup::alloc_impl >::realloc_or_die(google::sparsegroup::alloc_impl >::pointer, google::sparsegroup::alloc_impl >::size_type) [with A = std::pair; T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::alloc_impl >::pointer = std::pair*; google::sparsegroup::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/sparsetable:1087:11: required from 'void google::sparsegroup::set_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/sparsetable:1123:7: required from 'google::sparsegroup::reference google::sparsegroup::set(google::sparsegroup::size_type, google::sparsegroup::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::reference = std::pair&; google::sparsegroup::size_type = short unsigned int; google::sparsegroup::const_reference = const std::pair&]' ./src/sparsehash/sparsetable:1608:15: required from 'google::sparsetable::reference google::sparsetable::set(google::sparsetable::size_type, google::sparsetable::const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::reference = std::pair&; google::sparsetable::size_type = long unsigned int; google::sparsetable::const_reference = const std::pair&]' ./src/sparsehash/internal/sparsehashtable.h:935:5: required from 'google::sparse_hashtable::iterator google::sparse_hashtable::insert_at(google::sparse_hashtable::const_reference, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::iterator = google::sparse_hashtable_iterator, int, {anonymous}::Hasher, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, {anonymous}::Hasher, google::libc_allocator_with_realloc > >; google::sparse_hashtable::const_reference = const std::pair&; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1005:15: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = {anonymous}::Memmove; HashFcn = {anonymous}::Hasher; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = {anonymous}::Memmove; google::sparse_hash_map::key_type = int]' src/hashtable_test.cc:1777:14: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ./src/sparsehash/sparsetable:247, from src/hashtable_test.cc:62: ./src/sparsehash/internal/libc_allocator_with_realloc.h: In instantiation of 'T* google::libc_allocator_with_realloc::reallocate(google::libc_allocator_with_realloc::pointer, google::libc_allocator_with_realloc::size_type) [with T = std::__cxx11::basic_string; google::libc_allocator_with_realloc::pointer = std::__cxx11::basic_string*; google::libc_allocator_with_realloc::size_type = long unsigned int]': ./src/sparsehash/internal/densehashtable.h:1196:15: required from 'google::dense_hashtable::alloc_impl >::pointer google::dense_hashtable::alloc_impl >::realloc_or_die(google::dense_hashtable::alloc_impl >::pointer, google::dense_hashtable::alloc_impl >::size_type) [with A = std::__cxx11::basic_string; Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::Identity; SetKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::dense_hashtable::alloc_impl >::pointer = std::__cxx11::basic_string*; google::dense_hashtable::alloc_impl >::size_type = long unsigned int]' ./src/sparsehash/internal/densehashtable.h:622:11: required from 'void google::dense_hashtable::resize_table(google::dense_hashtable::size_type, google::dense_hashtable::size_type, google::true_type) [with Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::Identity; SetKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::dense_hashtable::size_type = long unsigned int; google::true_type = google::integral_constant]' ./src/sparsehash/internal/densehashtable.h:779:9: required from 'void google::dense_hashtable::clear_to_size(google::dense_hashtable::size_type) [with Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::Identity; SetKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::dense_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/densehashtable.h:632:5: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, google::dense_hashtable::size_type) [with Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::Identity; SetKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::dense_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/densehashtable.h:723:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, google::dense_hashtable::size_type) [with Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = {anonymous}::Hasher; ExtractKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::Identity; SetKey = google::dense_hash_set, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::dense_hashtable::size_type = long unsigned int]' ./src/sparsehash/dense_hash_set:117:7: required from 'std::pair google::sparse_hash_map::DefaultValue::operator()(const Key&) [with Key = std::__cxx11::basic_string; T = {anonymous}::DenseStringSet; HashFcn = {anonymous}::Hasher; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc, {anonymous}::DenseStringSet> >]' ./src/sparsehash/internal/sparsehashtable.h:1003:44: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map, {anonymous}::DenseStringSet, {anonymous}::Hasher, {anonymous}::Hasher>::DefaultValue; Value = std::pair, {anonymous}::DenseStringSet>; Key = std::__cxx11::basic_string; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map, {anonymous}::DenseStringSet, {anonymous}::Hasher, {anonymous}::Hasher>::SelectKey; SetKey = google::sparse_hash_map, {anonymous}::DenseStringSet, {anonymous}::Hasher, {anonymous}::Hasher>::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc, {anonymous}::DenseStringSet> >; google::sparse_hashtable::value_type = std::pair, {anonymous}::DenseStringSet>; google::sparse_hashtable::key_type = std::__cxx11::basic_string]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = std::__cxx11::basic_string; T = {anonymous}::DenseStringSet; HashFcn = {anonymous}::Hasher; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc, {anonymous}::DenseStringSet> >; google::sparse_hash_map::data_type = {anonymous}::DenseStringSet; google::sparse_hash_map::key_type = std::__cxx11::basic_string]' src/hashtable_test.cc:1902:11: required from here ./src/sparsehash/internal/libc_allocator_with_realloc.h:68:40: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class std::__cxx11::basic_string'; use 'new' and 'delete' instead [-Wclass-memaccess] return static_cast(realloc(p, n * sizeof(value_type))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/string:52, from /usr/include/c++/8.0/bits/locale_classes.h:40, from /usr/include/c++/8.0/bits/ios_base.h:41, from /usr/include/c++/8.0/ios:42, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/basic_string.h:77:11: note: 'class std::__cxx11::basic_string' declared here class basic_string ^~~~~~~~~~~~ In file included from src/hashtable_test.cc:62: ./src/sparsehash/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(google::sparsegroup::size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/sparsehash/sparsetable:1192:9: required from 'void google::sparsegroup::erase(google::sparsegroup::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::size_type = short unsigned int]' ./src/sparsehash/sparsetable:1200:5: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1207:7: required from 'void google::sparsegroup::erase(google::sparsegroup::iterator, google::sparsegroup::iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsegroup::iterator = google::table_iterator, 48, google::libc_allocator_with_realloc > > >]' ./src/sparsehash/sparsetable:1517:9: required from 'void google::sparsetable::resize(google::sparsetable::size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; Alloc = google::libc_allocator_with_realloc >; google::sparsetable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:706:7: required from 'void google::sparse_hashtable::move_from(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:797:5: required from 'google::sparse_hashtable::sparse_hashtable(google::sparse_hashtable::MoveDontCopyT, google::sparse_hashtable&, google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:655:22: required from 'bool google::sparse_hashtable::resize_delta(google::sparse_hashtable::size_type) [with Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::size_type = long unsigned int]' ./src/sparsehash/internal/sparsehashtable.h:1001:16: required from 'google::sparse_hashtable::value_type& google::sparse_hashtable::find_or_insert(const key_type&) [with DefaultValue = google::sparse_hash_map::DefaultValue; Value = std::pair; Key = int; HashFcn = {anonymous}::Hasher; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hashtable::value_type = std::pair; google::sparse_hashtable::key_type = int]' ./src/sparsehash/sparse_hash_map:246:59: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = {anonymous}::Memmove; HashFcn = {anonymous}::Hasher; EqualKey = {anonymous}::Hasher; Alloc = google::libc_allocator_with_realloc >; google::sparse_hash_map::data_type = {anonymous}::Memmove; google::sparse_hash_map::key_type = int]' src/hashtable_test.cc:1777:14: required from here ./src/sparsehash/sparsetable:1157:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8.0/bits/stl_algobase.h:64, from /usr/include/c++/8.0/bits/char_traits.h:39, from /usr/include/c++/8.0/ios:40, from /usr/include/c++/8.0/ostream:38, from /usr/include/c++/8.0/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8.0/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ --- time_hash_map-time_hash_map.o --- mv -f .deps/time_hash_map-time_hash_map.Tpo .deps/time_hash_map-time_hash_map.Po --- time_hash_map --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o time_hash_map time_hash_map-time_hash_map.o --- hashtable_test.o --- mv -f .deps/hashtable_test.Tpo .deps/hashtable_test.Po --- hashtable_test --- c++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -O2 -fno-strict-aliasing -o hashtable_test hashtable_test.o SUCCEEDED 00:02:20 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for sparsehash-2.0.3 ===> Generating temporary packing list /usr/bin/make install-am test -z "/usr/local/lib" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/lib" test -z "/usr/local/share/doc/sparsehash" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/share/doc/sparsehash" install -m 0644 AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt TODO doc/dense_hash_map.html doc/dense_hash_set.html doc/sparse_hash_map.html doc/sparse_hash_set.html doc/sparsetable.html doc/implementation.html doc/performance.html doc/index.html doc/designstyle.css '/construction/devel/sparsehash/stage/usr/local/share/doc/sparsehash' test -z "/usr/local/include/google" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/include/google" install -m 0644 src/google/dense_hash_map src/google/dense_hash_set src/google/sparse_hash_map src/google/sparse_hash_set src/google/sparsetable src/google/template_util.h src/google/type_traits.h '/construction/devel/sparsehash/stage/usr/local/include/google' test -z "/usr/local/include/google/sparsehash" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/include/google/sparsehash" install -m 0644 src/google/sparsehash/densehashtable.h src/google/sparsehash/sparsehashtable.h src/google/sparsehash/hashtable-common.h src/google/sparsehash/libc_allocator_with_realloc.h '/construction/devel/sparsehash/stage/usr/local/include/google/sparsehash' test -z "/usr/local/include/sparsehash/internal" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/include/sparsehash/internal" install -m 0644 src/sparsehash/internal/densehashtable.h src/sparsehash/internal/sparsehashtable.h src/sparsehash/internal/hashtable-common.h src/sparsehash/internal/libc_allocator_with_realloc.h '/construction/devel/sparsehash/stage/usr/local/include/sparsehash/internal' test -z "/usr/local/include/sparsehash/internal" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/include/sparsehash/internal" install -m 0644 src/sparsehash/internal/sparseconfig.h '/construction/devel/sparsehash/stage/usr/local/include/sparsehash/internal' test -z "/usr/local/libdata/pkgconfig" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/libdata/pkgconfig" install -m 0644 libsparsehash.pc '/construction/devel/sparsehash/stage/usr/local/libdata/pkgconfig' test -z "/usr/local/include/sparsehash" || /bin/mkdir -p "/construction/devel/sparsehash/stage/usr/local/include/sparsehash" install -m 0644 src/sparsehash/dense_hash_map src/sparsehash/dense_hash_set src/sparsehash/sparse_hash_map src/sparsehash/sparse_hash_set src/sparsehash/sparsetable src/sparsehash/template_util.h src/sparsehash/type_traits.h '/construction/devel/sparsehash/stage/usr/local/include/sparsehash' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for sparsehash-2.0.3 file sizes/checksums [41]: 0% file sizes/checksums [41]: 100% packing files [41]: 0% packing files [41]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:02:29