<86>Jul 19 11:08:45 userdel[21635]: delete user 'rooter' <86>Jul 19 11:08:45 groupadd[21705]: group added to /etc/group: name=rooter, GID=597 <86>Jul 19 11:08:45 groupadd[21705]: new group: name=rooter, GID=597 <86>Jul 19 11:08:45 useradd[21790]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Jul 19 11:08:45 userdel[21921]: delete user 'builder' <86>Jul 19 11:08:45 userdel[21921]: removed group 'builder' owned by 'builder' <86>Jul 19 11:08:45 userdel[21921]: removed shadow group 'builder' owned by 'builder' <86>Jul 19 11:08:45 groupadd[22347]: group added to /etc/group: name=builder, GID=598 <86>Jul 19 11:08:45 groupadd[22347]: group added to /etc/gshadow: name=builder <86>Jul 19 11:08:45 groupadd[22347]: new group: name=builder, GID=598 <86>Jul 19 11:08:45 useradd[22507]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Jul 19 11:08:48 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jul 19 11:08:49 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 19 11:08:50 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 19 11:08:50 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sparsehash-2.0.3-alt1.nosrc.rpm Installing sparsehash-2.0.3-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.84626 + 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/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/sparsehash-sparsehash-2.0.3.tar.gz + 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.84626 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-g++... i586-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 i586-alt-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-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... i586-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' i586-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 -march=i586 -mtune=generic -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/lib' | 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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 = 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 = 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 = 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 = 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 = 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 = 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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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 = 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 = 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 = 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 = 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 = 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 = 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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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' i586-alt-linux-g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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.66357 + 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/lib" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/lib" 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/lib/pkgconfig" || /bin/mkdir -p "/usr/src/tmp/sparsehash-buildroot/usr/lib/pkgconfig" /bin/install -p -m 644 libsparsehash.pc '/usr/src/tmp/sparsehash-buildroot/usr/lib/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/lib/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/lib: 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.bTCOmM 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.jtmHqF 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.Scs4BP 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.LlZHk7 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/lib/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.o379sF 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/i586/libsparsehash-devel-2.0.3-alt1.i586.rpm 116.73user 3.38system 1:38.70elapsed 121%CPU (0avgtext+0avgdata 832076maxresident)k 0inputs+0outputs (0major+1470138minor)pagefaults 0swaps 122.59user 6.97system 1:51.58elapsed 116%CPU (0avgtext+0avgdata 832076maxresident)k 0inputs+0outputs (0major+1753664minor)pagefaults 0swaps