<86>Dec 6 05:00:44 userdel[2043608]: delete user 'rooter' <86>Dec 6 05:00:44 userdel[2043608]: removed group 'rooter' owned by 'rooter' <86>Dec 6 05:00:44 userdel[2043608]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 6 05:00:44 groupadd[2043635]: group added to /etc/group: name=rooter, GID=648 <86>Dec 6 05:00:44 groupadd[2043635]: group added to /etc/gshadow: name=rooter <86>Dec 6 05:00:44 groupadd[2043635]: new group: name=rooter, GID=648 <86>Dec 6 05:00:44 useradd[2043652]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Dec 6 05:00:44 userdel[2043684]: delete user 'builder' <86>Dec 6 05:00:44 userdel[2043684]: removed group 'builder' owned by 'builder' <86>Dec 6 05:00:44 userdel[2043684]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 05:00:44 groupadd[2043699]: group added to /etc/group: name=builder, GID=649 <86>Dec 6 05:00:44 groupadd[2043699]: group added to /etc/gshadow: name=builder <86>Dec 6 05:00:44 groupadd[2043699]: new group: name=builder, GID=649 <86>Dec 6 05:00:44 useradd[2043718]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash <13>Dec 6 05:00:47 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Dec 6 05:00:47 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Dec 6 05:00:48 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Dec 6 05:00:48 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/sparsehash-2.0.3-alt1.nosrc.rpm Installing sparsehash-2.0.3-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sparsehash-sparsehash-2.0.3 + echo 'Source #0 (sparsehash-sparsehash-2.0.3.tar.gz):' Source #0 (sparsehash-sparsehash-2.0.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/sparsehash-sparsehash-2.0.3.tar.gz + /bin/tar -xf - + cd sparsehash-sparsehash-2.0.3 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.79326 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sparsehash-sparsehash-2.0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for memcpy... yes checking for memmove... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for uint16_t... yes checking for u_int16_t... yes checking for __uint16... no checking for long long... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking google/malloc_extension.h usability... no checking google/malloc_extension.h presence... no checking for google/malloc_extension.h... no checking whether the compiler implements namespaces... yes checking the location of hash_map... checking how to include hash_fun directly... configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext + make -j8 make: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' [ -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 gawk '{prevline=currline; currline=$0;} \ /^#/ {in_second_file = 1;} \ !in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; \ in_second_file { for (i in inc) { \ if (index(currline, i) != 0) { \ print "\n"prevline"\n"currline; \ delete inc[i]; \ } \ } }' \ ./src/config.h.include ./src/config.h \ >> src/sparsehash/internal/_sparsehash_config mv -f src/sparsehash/internal/_sparsehash_config src/sparsehash/internal/sparseconfig.h make: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make all-am make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o template_util_unittest.o `test -f 'src/template_util_unittest.cc' || echo './'`src/template_util_unittest.cc make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' echo 'prefix=/usr' > "libsparsehash.pc".tmp echo 'exec_prefix='`echo '/usr' | sed 's@^/usr@${prefix}@'` >> "libsparsehash.pc".tmp echo 'libdir='`echo '/usr/lib64' | sed 's@^/usr@${exec_prefix}@'` >> "libsparsehash.pc".tmp echo 'includedir='`echo '/usr/include' | sed 's@^/usr@${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" make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o template_util_unittest template_util_unittest.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo './'`src/type_traits_unittest.cc make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o type_traits_unittest type_traits_unittest.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -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 make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o libc_allocator_with_realloc_test libc_allocator_with_realloc_test.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o simple_compat_test.o `test -f 'src/simple_compat_test.cc' || echo './'`src/simple_compat_test.cc 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/utility:70, from /usr/include/c++/8/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/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/utility:70, from /usr/include/c++/8/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/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o simple_compat_test simple_compat_test.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o simple_test.o `test -f 'src/simple_test.cc' || echo './'`src/simple_test.cc 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/utility:70, from /usr/include/c++/8/algorithm:60, from ./src/sparsehash/sparse_hash_set:92, from src/simple_test.cc:40: /usr/include/c++/8/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/utility:70, from /usr/include/c++/8/algorithm:60, from ./src/sparsehash/sparse_hash_set:92, from src/simple_test.cc:40: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o simple_test simple_test.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo './'`src/sparsetable_unittest.cc make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o sparsetable_unittest sparsetable_unittest.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o time_hash_map-time_hash_map.o `test -f 'src/time_hash_map.cc' || echo './'`src/time_hash_map.cc 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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/time_hash_map.cc:81: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair* const, int>' declared here struct pair ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o time_hash_map time_hash_map-time_hash_map.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -c -o hashtable_test.o `test -f 'src/hashtable_test.cc' || echo './'`src/hashtable_test.cc 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; ^~ 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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/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 = _IO_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 = _IO_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 = _IO_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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/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/string:52, from /usr/include/c++/8/bits/locale_classes.h:40, from /usr/include/c++/8/bits/ios_base.h:41, from /usr/include/c++/8/ios:42, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/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/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from src/hashtable_test.cc:56: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' x86_64-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -o hashtable_test hashtable_test.o make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.15036 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sparsehash-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sparsehash-buildroot + cd sparsehash-sparsehash-2.0.3 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/sparsehash-buildroot make: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make install-am make[1]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[2]: Entering directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' test -z "/usr/lib64" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/lib64" test -z "/usr/share/doc/sparsehash-2.0.2" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/share/doc/sparsehash-2.0.2" /bin/install -p -m 644 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 '/usr/src/tmp/sparsehash-buildroot/usr/share/doc/sparsehash-2.0.2' test -z "/usr/include/google" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/include/google" /bin/install -p -m 644 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 '/usr/src/tmp/sparsehash-buildroot/usr/include/google' test -z "/usr/include/google/sparsehash" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/include/google/sparsehash" /bin/install -p -m 644 src/google/sparsehash/densehashtable.h src/google/sparsehash/sparsehashtable.h src/google/sparsehash/hashtable-common.h src/google/sparsehash/libc_allocator_with_realloc.h '/usr/src/tmp/sparsehash-buildroot/usr/include/google/sparsehash' test -z "/usr/include/sparsehash/internal" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash/internal" /bin/install -p -m 644 src/sparsehash/internal/densehashtable.h src/sparsehash/internal/sparsehashtable.h src/sparsehash/internal/hashtable-common.h src/sparsehash/internal/libc_allocator_with_realloc.h '/usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash/internal' test -z "/usr/include/sparsehash/internal" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash/internal" /bin/install -p -m 644 src/sparsehash/internal/sparseconfig.h '/usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash/internal' test -z "/usr/lib64/pkgconfig" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/lib64/pkgconfig" /bin/install -p -m 644 libsparsehash.pc '/usr/src/tmp/sparsehash-buildroot/usr/lib64/pkgconfig' test -z "/usr/include/sparsehash" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash" /bin/install -p -m 644 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 '/usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash' make[2]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make[1]: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' make: Leaving directory '/usr/src/RPM/BUILD/sparsehash-sparsehash-2.0.3' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/sparsehash-buildroot (auto) Verifying and fixing files in /usr/src/tmp/sparsehash-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/lib64/pkgconfig/libsparsehash.pc: Cflags: '-I${includedir}' --> '' Checking contents of files in /usr/src/tmp/sparsehash-buildroot/ (default) Compressing files in /usr/src/tmp/sparsehash-buildroot (auto) Adjusting library links in /usr/src/tmp/sparsehash-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/sparsehash-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: libsparsehash-2.0.3-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eoBgKX find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FD0eGf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libgoogle-sparsehash = 2.0.3-alt1 Obsoletes: libgoogle-sparsehash <= 1.5.2 Processing files: libsparsehash-devel-2.0.3-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vvnv1A find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Zz1aMZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) In file included from /usr/src/tmp/sparsehash-buildroot/usr/include/google/type_traits.h:34: /usr/src/tmp/sparsehash-buildroot/usr/include/sparsehash/type_traits.h:61:10: fatal error: utility: No such file or directory #include // For pair ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/sparsehash-buildroot/usr/include/google/type_traits.h: cpp failed, trying c++ mode Provides: libgoogle-sparsehash = 2.0.3-alt1, pkgconfig(libsparsehash) = 2.0.2 Requires: libsparsehash, /usr/lib64/pkgconfig Obsoletes: libgoogle-sparsehash <= 1.5.2 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hEsmsu Adding to libsparsehash-devel a strict dependency on libsparsehash Wrote: /usr/src/RPM/RPMS/noarch/libsparsehash-2.0.3-alt1.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libsparsehash-devel-2.0.3-alt1.x86_64.rpm 195.24user 8.17system 2:22.76elapsed 142%CPU (0avgtext+0avgdata 1310096maxresident)k 0inputs+0outputs (0major+1565411minor)pagefaults 0swaps 203.07user 13.56system 2:34.89elapsed 139%CPU (0avgtext+0avgdata 1310096maxresident)k 0inputs+0outputs (0major+1862841minor)pagefaults 0swaps