<86>Jun 18 04:34:55 userdel[3319784]: delete user 'rooter' <86>Jun 18 04:34:55 userdel[3319784]: removed group 'rooter' owned by 'rooter' <86>Jun 18 04:34:55 userdel[3319784]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 18 04:34:55 groupadd[3319821]: group added to /etc/group: name=rooter, GID=927 <86>Jun 18 04:34:55 groupadd[3319821]: group added to /etc/gshadow: name=rooter <86>Jun 18 04:34:55 groupadd[3319821]: new group: name=rooter, GID=927 <86>Jun 18 04:34:55 useradd[3319842]: new user: name=rooter, UID=927, GID=927, home=/root, shell=/bin/bash <86>Jun 18 04:34:55 userdel[3319874]: delete user 'builder' <86>Jun 18 04:34:55 userdel[3319874]: removed group 'builder' owned by 'builder' <86>Jun 18 04:34:55 userdel[3319874]: removed shadow group 'builder' owned by 'builder' <86>Jun 18 04:34:55 groupadd[3319903]: group added to /etc/group: name=builder, GID=928 <86>Jun 18 04:34:55 groupadd[3319903]: group added to /etc/gshadow: name=builder <86>Jun 18 04:34:55 groupadd[3319903]: new group: name=builder, GID=928 <86>Jun 18 04:34:55 useradd[3319922]: new user: name=builder, UID=928, GID=928, home=/usr/src, shell=/bin/bash <13>Jun 18 04:34:57 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 18 04:34:57 rpmi: libstdc++12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Jun 18 04:34:58 rpmi: gcc12-c++-12.1.1-alt1 sisyphus+300988.100.1.1 1654028661 installed <13>Jun 18 04:34:58 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libgoogle-sparsehash-1.5.2-alt1.1.nosrc.rpm (w1.gzdio) Installing libgoogle-sparsehash-1.5.2-alt1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.77739 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libgoogle-sparsehash-1.5.2 + echo 'Source #0 (libgoogle-sparsehash-1.5.2.tar):' Source #0 (libgoogle-sparsehash-1.5.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libgoogle-sparsehash-1.5.2.tar + cd libgoogle-sparsehash-1.5.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libgoogle-sparsehash-1.5.2-alt-gcc4.6.patch):' Patch #0 (libgoogle-sparsehash-1.5.2-alt-gcc4.6.patch): + /usr/bin/patch -p2 patching file src/google/sparsehash/densehashtable.h patching file src/google/sparsehash/sparsehashtable.h patching file src/google/sparsetable + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77739 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libgoogle-sparsehash-1.5.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=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 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none 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... checking what namespace STL code is in... std configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands + make make: Entering directory '/usr/src/RPM/BUILD/libgoogle-sparsehash-1.5.2' [ -d src/google/sparsehash ] || mkdir -p src/google/sparsehash echo "/*" > src/google/sparsehash/_sparsehash_config echo " * NOTE: This file is for internal use only." >> src/google/sparsehash/_sparsehash_config echo " * Do not use these #defines in your own program!" >> src/google/sparsehash/_sparsehash_config echo " */" >> src/google/sparsehash/_sparsehash_config gawk '{prevline=currline; currline=$0;} \ /^#/ {in_second_file = 1;} \ !in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; \ in_second_file { for (i in inc) { \ if (index(currline, i) != 0) { \ print "\n"prevline"\n"currline; \ delete inc[i]; \ } \ } }' \ ./src/config.h.include ./src/config.h \ >> src/google/sparsehash/_sparsehash_config mv -f src/google/sparsehash/_sparsehash_config src/google/sparsehash/sparseconfig.h make all-am make[1]: Entering directory '/usr/src/RPM/BUILD/libgoogle-sparsehash-1.5.2' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo './'`src/type_traits_unittest.cc i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o type_traits_unittest type_traits_unittest.o i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo './'`src/sparsetable_unittest.cc i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o sparsetable_unittest sparsetable_unittest.o i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hashtable_unittest.o `test -f 'src/hashtable_unittest.cc' || echo './'`src/hashtable_unittest.cc In file included from ./src/google/dense_hash_map:98, from src/hashtable_unittest.cc:61: ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = std::hash >; ExtractKey = Identity >; SetKey = SetKey >; EqualKey = std::equal_to >; Alloc = std::allocator >]': src/hashtable_unittest.cc:759:14: required from 'void test_string(bool) [with ht = google::dense_hashtable, std::__cxx11::basic_string, std::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >]' src/hashtable_unittest.cc:800:21: required from 'void test(bool) [with ht = google::dense_hashtable, SetKey, strcmp_fnc, std::allocator >; htstr = google::dense_hashtable, std::__cxx11::basic_string, std::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >; htint = google::dense_hashtable, Identity, SetKey, std::equal_to, std::allocator >]' src/hashtable_unittest.cc:1303:28: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, std::__cxx11::basic_string, std::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >::value_type' {aka 'class std::__cxx11::basic_string'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/streambuf:41, from /usr/include/c++/12/bits/streambuf_iterator.h:35, from /usr/include/c++/12/iterator:66, from src/hashtable_unittest.cc:55: /usr/include/c++/12/bits/basic_string.h:86:11: note: 'google::dense_hashtable, std::__cxx11::basic_string, std::hash >, Identity >, SetKey >, std::equal_to >, std::allocator > >::value_type' {aka 'class std::__cxx11::basic_string'} declared here 86 | class basic_string | ^~~~~~~~~~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::__cxx11::basic_string; Key = std::__cxx11::basic_string; HashFcn = std::hash >; ExtractKey = google::dense_hash_set, std::hash > >::Identity; SetKey = google::dense_hash_set, std::hash > >::SetKey; EqualKey = std::equal_to >; Alloc = std::allocator >]': ./src/google/dense_hash_set:183:50: required from 'void google::dense_hash_set::clear() [with Value = std::__cxx11::basic_string; HashFcn = std::hash >; EqualKey = std::equal_to >; Alloc = std::allocator >]' src/hashtable_unittest.cc:759:14: required from 'void test_string(bool) [with ht = google::dense_hash_set, std::hash > >]' src/hashtable_unittest.cc:800:21: required from 'void test(bool) [with ht = google::dense_hash_set; htstr = google::dense_hash_set, std::hash > >; htint = google::dense_hash_set]' src/hashtable_unittest.cc:1310:29: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, std::__cxx11::basic_string, std::hash >, google::dense_hash_set, std::hash > >::Identity, google::dense_hash_set, std::hash > >::SetKey, std::equal_to >, std::allocator > >::value_type' {aka 'class std::__cxx11::basic_string'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/basic_string.h:86:11: note: 'google::dense_hashtable, std::__cxx11::basic_string, std::hash >, google::dense_hash_set, std::hash > >::Identity, google::dense_hash_set, std::hash > >::SetKey, std::equal_to >, std::allocator > >::value_type' {aka 'class std::__cxx11::basic_string'} declared here 86 | class basic_string | ^~~~~~~~~~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::pair, int>; Key = std::__cxx11::basic_string; HashFcn = std::hash >; ExtractKey = google::dense_hash_map, int, std::hash > >::SelectKey; SetKey = google::dense_hash_map, int, std::hash > >::SetKey; EqualKey = std::equal_to >; Alloc = std::allocator]': ./src/google/dense_hash_map:191:50: required from 'void google::dense_hash_map::clear() [with Key = std::__cxx11::basic_string; T = int; HashFcn = std::hash >; EqualKey = std::equal_to >; Alloc = std::allocator]' src/hashtable_unittest.cc:759:14: required from 'void test_string(bool) [with ht = google::dense_hash_map, int, std::hash > >]' src/hashtable_unittest.cc:800:21: required from 'void test(bool) [with ht = google::dense_hash_map; htstr = google::dense_hash_map, int, std::hash > >; htint = google::dense_hash_map]' src/hashtable_unittest.cc:1319:34: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, int>, std::__cxx11::basic_string, std::hash >, google::dense_hash_map, int, std::hash > >::SelectKey, google::dense_hash_map, int, std::hash > >::SetKey, std::equal_to >, std::allocator >::value_type' {aka 'struct std::pair, int>'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:64, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from src/hashtable_unittest.cc:52: /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::dense_hashtable, int>, std::__cxx11::basic_string, std::hash >, google::dense_hash_map, int, std::hash > >::SelectKey, google::dense_hash_map, int, std::hash > >::SetKey, std::equal_to >, std::allocator >::value_type' {aka 'struct std::pair, int>'} declared here 185 | struct pair | ^~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::pair >; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map >::SelectKey; SetKey = google::dense_hash_map >::SetKey; EqualKey = std::equal_to; Alloc = std::allocator >]': ./src/google/sparsehash/densehashtable.h:572:5: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, size_type) [with Value = std::pair >; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map >::SelectKey; SetKey = google::dense_hash_map >::SetKey; EqualKey = std::equal_to; Alloc = std::allocator >; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:669:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, size_type) [with Value = std::pair >; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map >::SelectKey; SetKey = google::dense_hash_map >::SetKey; EqualKey = std::equal_to; Alloc = std::allocator >; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:355:23: required from 'void google::dense_hashtable::squash_deleted() [with Value = std::pair >; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map >::SelectKey; SetKey = google::dense_hash_map >::SetKey; EqualKey = std::equal_to; Alloc = std::allocator >]' ./src/google/sparsehash/densehashtable.h:367:5: required from 'void google::dense_hashtable::set_deleted_key(const key_type&) [with Value = std::pair >; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map >::SelectKey; SetKey = google::dense_hash_map >::SetKey; EqualKey = std::equal_to; Alloc = std::allocator >; key_type = int]' ./src/google/dense_hash_map:279:24: required from 'void google::dense_hash_map::set_deleted_key(const key_type&) [with Key = int; T = std::__cxx11::basic_string; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator >; key_type = int]' src/hashtable_unittest.cc:1030:23: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable >, int, std::hash, google::dense_hash_map >::SelectKey, google::dense_hash_map >::SetKey, std::equal_to, std::allocator > >::value_type' {aka 'struct std::pair >'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::dense_hashtable >, int, std::hash, google::dense_hash_map >::SelectKey, google::dense_hash_map >::SetKey, std::equal_to, std::allocator > >::value_type' {aka 'struct std::pair >'} declared here 185 | struct pair | ^~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::pair; Key = MemUsingKey; HashFcn = MemUsingKey::Hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = MemUsingKey::Equal; Alloc = std::allocator]': ./src/google/sparsehash/densehashtable.h:572:5: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = MemUsingKey; HashFcn = MemUsingKey::Hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = MemUsingKey::Equal; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:669:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = MemUsingKey; HashFcn = MemUsingKey::Hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = MemUsingKey::Equal; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:355:23: required from 'void google::dense_hashtable::squash_deleted() [with Value = std::pair; Key = MemUsingKey; HashFcn = MemUsingKey::Hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = MemUsingKey::Equal; Alloc = std::allocator]' ./src/google/sparsehash/densehashtable.h:367:5: required from 'void google::dense_hashtable::set_deleted_key(const key_type&) [with Value = std::pair; Key = MemUsingKey; HashFcn = MemUsingKey::Hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = MemUsingKey::Equal; Alloc = std::allocator; key_type = MemUsingKey]' ./src/google/dense_hash_map:279:24: required from 'void google::dense_hash_map::set_deleted_key(const key_type&) [with Key = MemUsingKey; T = MemUsingValueWithZeroArgConstructor; HashFcn = MemUsingKey::Hash; EqualKey = MemUsingKey::Equal; Alloc = std::allocator; key_type = MemUsingKey]' src/hashtable_unittest.cc:1266:23: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, MemUsingKey, MemUsingKey::Hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, MemUsingKey::Equal, std::allocator >::value_type' {aka 'struct std::pair'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::dense_hashtable, MemUsingKey, MemUsingKey::Hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, MemUsingKey::Equal, std::allocator >::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ In file included from ./src/google/sparsehash/sparsehashtable.h:116, from ./src/google/sparse_hash_map:89, from src/hashtable_unittest.cc:64: ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:906:14: required from 'google::sparsegroup::value_type& google::sparsegroup::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = short unsigned int; const_reference = const std::pair&]' ./src/google/sparsetable:1292:42: required from 'google::sparsetable::value_type& google::sparsetable::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = unsigned int; const_reference = const std::pair&]' ./src/google/sparsehash/sparsehashtable.h:849:16: required from 'std::pair, bool> google::sparse_hashtable::insert_noresize(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparsehash/sparsehashtable.h:860:12: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/sparse_hash_map:236:20: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; data_type = Memmove; key_type = int]' src/hashtable_unittest.cc:853:16: required from here ./src/google/sparsetable:879:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 879 | memcpy(group + i, group + i-1, sizeof(*group)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator]': ./src/google/sparsehash/densehashtable.h:572:5: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:669:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:539:23: required from 'void google::dense_hashtable::resize_delta(size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:863:5: required from 'std::pair, bool> google::dense_hashtable::insert(const value_type&) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = std::pair]' ./src/google/dense_hash_map:263:73: required from 'std::pair, Key, HashFcn, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::dense_hash_map::insert(const value_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::dense_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::dense_hashtable_iterator, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/dense_hash_map:249:20: required from 'google::dense_hash_map::data_type& google::dense_hash_map::operator[](const key_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; data_type = Memmove; key_type = int]' src/hashtable_unittest.cc:872:16: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >::value_type' {aka 'struct std::pair'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::dense_hashtable, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::expand_array(size_t, google::true_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_t = unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsehash/densehashtable.h:581:19: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:669:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:539:23: required from 'void google::dense_hashtable::resize_delta(size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:863:5: required from 'std::pair, bool> google::dense_hashtable::insert(const value_type&) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = std::pair]' ./src/google/dense_hash_map:263:73: required from 'std::pair, Key, HashFcn, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::dense_hash_map::insert(const value_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::dense_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::dense_hashtable_iterator, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/dense_hash_map:249:20: required from 'google::dense_hash_map::data_type& google::dense_hash_map::operator[](const key_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; data_type = Memmove; key_type = int]' src/hashtable_unittest.cc:872:16: required from here ./src/google/sparsehash/densehashtable.h:551:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >::value_type' {aka 'struct std::pair'}; use 'new' and 'delete' instead [-Wclass-memaccess] 551 | table = (value_type *) realloc(table, resize_to * sizeof(value_type)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::dense_hashtable, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsehash/densehashtable.h: In instantiation of 'void google::dense_hashtable::clear() [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator]': ./src/google/sparsehash/densehashtable.h:572:5: required from 'void google::dense_hashtable::copy_from(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:669:5: required from 'google::dense_hashtable::dense_hashtable(const google::dense_hashtable&, size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:539:23: required from 'void google::dense_hashtable::resize_delta(size_type) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/densehashtable.h:863:5: required from 'std::pair, bool> google::dense_hashtable::insert(const value_type&) [with Value = std::pair; Key = int; HashFcn = std::hash; ExtractKey = google::dense_hash_map::SelectKey; SetKey = google::dense_hash_map::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = std::pair]' ./src/google/dense_hash_map:263:73: required from 'std::pair, Key, HashFcn, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::dense_hash_map::insert(const value_type&) [with Key = int; T = NoMemmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::dense_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::dense_hashtable_iterator, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/dense_hash_map:249:20: required from 'google::dense_hash_map::data_type& google::dense_hash_map::operator[](const key_type&) [with Key = int; T = NoMemmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; data_type = NoMemmove; key_type = int]' src/hashtable_unittest.cc:875:18: required from here ./src/google/sparsehash/densehashtable.h:726:35: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'google::dense_hashtable, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >::value_type' {aka 'struct std::pair'}; use 'new' and 'delete' instead [-Wclass-memaccess] 726 | table = (value_type *) realloc(table, num_buckets * sizeof(*table)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::dense_hashtable, int, std::hash, google::dense_hash_map::SelectKey, google::dense_hash_map::SetKey, std::equal_to, std::allocator >::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:906:14: required from 'google::sparsegroup::value_type& google::sparsegroup::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = short unsigned int; const_reference = const std::pair&]' ./src/google/sparsetable:1292:42: required from 'google::sparsetable::value_type& google::sparsetable::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = unsigned int; const_reference = const std::pair&]' ./src/google/sparsehash/sparsehashtable.h:849:16: required from 'std::pair, bool> google::sparse_hashtable::insert_noresize(const value_type&) [with Value = std::pair; Key = int; HashFcn = TestHashFcn; ExtractKey = google::sparse_hash_map >::SelectKey; SetKey = google::sparse_hash_map >::SetKey; EqualKey = TestEqualTo; Alloc = std::allocator; value_type = std::pair]' ./src/google/sparsehash/sparsehashtable.h:877:7: required from 'void google::sparse_hashtable::insert(ForwardIterator, ForwardIterator, std::forward_iterator_tag) [with ForwardIterator = std::_Rb_tree_const_iterator >; Value = std::pair; Key = int; HashFcn = TestHashFcn; ExtractKey = google::sparse_hash_map >::SelectKey; SetKey = google::sparse_hash_map >::SetKey; EqualKey = TestEqualTo; Alloc = std::allocator]' ./src/google/sparsehash/sparsehashtable.h:867:11: required from 'void google::sparse_hashtable::insert(InputIterator, InputIterator) [with InputIterator = std::_Rb_tree_const_iterator >; Value = std::pair; Key = int; HashFcn = TestHashFcn; ExtractKey = google::sparse_hash_map >::SelectKey; SetKey = google::sparse_hash_map >::SetKey; EqualKey = TestEqualTo; Alloc = std::allocator]' ./src/google/sparse_hash_map:175:15: required from 'google::sparse_hash_map::sparse_hash_map(InputIterator, InputIterator, size_type, const hasher&, const key_equal&) [with InputIterator = std::_Rb_tree_const_iterator >; Key = int; T = int; HashFcn = TestHashFcn; EqualKey = TestEqualTo; Alloc = std::allocator; size_type = unsigned int; hasher = TestHashFcn; key_equal = TestEqualTo]' src/hashtable_unittest.cc:996:18: required from 'void TestMap() [with Map = google::sparse_hash_map]' src/hashtable_unittest.cc:1003:27: required from here ./src/google/sparsetable:879:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 879 | memcpy(group + i, group + i-1, sizeof(*group)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:906:14: required from 'google::sparsegroup::value_type& google::sparsegroup::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = short unsigned int; const_reference = const std::pair&]' ./src/google/sparsetable:1292:42: required from 'google::sparsetable::value_type& google::sparsetable::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = unsigned int; const_reference = const std::pair&]' ./src/google/sparsehash/sparsehashtable.h:849:16: required from 'std::pair, bool> google::sparse_hashtable::insert_noresize(const value_type&) [with Value = std::pair; Key = char*; HashFcn = CharStarHash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = strcmp_fnc; Alloc = std::allocator; value_type = std::pair]' ./src/google/sparsehash/sparsehashtable.h:860:12: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = std::pair; Key = char*; HashFcn = CharStarHash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = strcmp_fnc; Alloc = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = char*; T = int; HashFcn = CharStarHash; EqualKey = strcmp_fnc; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, char*, CharStarHash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, strcmp_fnc, std::allocator >; value_type = std::pair]' src/hashtable_unittest.cc:267:13: required from 'void {anonymous}::insert(google::sparse_hash_map*, K) [with K = char*; V = int; H = CharStarHash; C = strcmp_fnc]' src/hashtable_unittest.cc:567:15: required from 'void test_charptr(bool) [with ht = google::sparse_hash_map]' src/hashtable_unittest.cc:801:19: required from 'void test(bool) [with ht = google::sparse_hash_map; htstr = google::sparse_hash_map, int, std::hash > >; htint = google::sparse_hash_map]' src/hashtable_unittest.cc:1347:35: required from here ./src/google/sparsetable:879:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 879 | memcpy(group + i, group + i-1, sizeof(*group)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:970:18: required from 'void google::sparsegroup::erase(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int]' ./src/google/sparsetable:978:10: required from 'void google::sparsegroup::erase(iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:985:12: required from 'void google::sparsegroup::erase(iterator, iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:1211:28: required from 'void google::sparsetable::resize(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsetable:1404:5: required from 'bool google::sparsetable::read_metadata(FILE*) [with T = std::pair; short unsigned int GROUP_SIZE = 48; FILE = FILE]' ./src/google/sparsehash/sparsehashtable.h:949:38: required from 'bool google::sparse_hashtable::read_metadata(FILE*) [with Value = std::pair; Key = char*; HashFcn = CharStarHash; ExtractKey = google::sparse_hash_map::SelectKey; SetKey = google::sparse_hash_map::SetKey; EqualKey = strcmp_fnc; Alloc = std::allocator; FILE = FILE]' ./src/google/sparse_hash_map:280:65: required from 'bool google::sparse_hash_map::read_metadata(FILE*) [with Key = char*; T = int; HashFcn = CharStarHash; EqualKey = strcmp_fnc; Alloc = std::allocator; FILE = FILE]' src/hashtable_unittest.cc:633:24: required from 'void test_charptr(bool) [with ht = google::sparse_hash_map]' src/hashtable_unittest.cc:801:19: required from 'void test(bool) [with ht = google::sparse_hash_map; htstr = google::sparse_hash_map, int, std::hash > >; htint = google::sparse_hash_map]' src/hashtable_unittest.cc:1347:35: required from here ./src/google/sparsetable:939:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 939 | memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:970:18: required from 'void google::sparsegroup::erase(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int]' ./src/google/sparsetable:978:10: required from 'void google::sparsegroup::erase(iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:985:12: required from 'void google::sparsegroup::erase(iterator, iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:1211:28: required from 'void google::sparsetable::resize(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:608:19: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/sparse_hash_map:236:20: required from 'google::sparse_hash_map::data_type& google::sparse_hash_map::operator[](const key_type&) [with Key = int; T = Memmove; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; data_type = Memmove; key_type = int]' src/hashtable_unittest.cc:853:16: required from here ./src/google/sparsetable:939:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 939 | memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:970:18: required from 'void google::sparsegroup::erase(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int]' ./src/google/sparsetable:978:10: required from 'void google::sparsegroup::erase(iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:985:12: required from 'void google::sparsegroup::erase(iterator, iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:1211:28: required from 'void google::sparsetable::resize(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:608:19: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:433:24: required from 'void google::sparse_hashtable::squash_deleted() [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 = std::allocator]' ./src/google/sparsehash/sparsehashtable.h:442:5: required from 'void google::sparse_hashtable::set_deleted_key(const key_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 = std::allocator; key_type = int]' ./src/google/sparse_hash_map:263:24: required from 'void google::sparse_hash_map::set_deleted_key(const key_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; key_type = int]' src/hashtable_unittest.cc:1116:23: required from 'void TestTR1API() [with HS = google::sparse_hash_map]' src/hashtable_unittest.cc:1364:41: required from here ./src/google/sparsetable:939:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] 939 | memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_pair.h:185:12: note: 'google::sparsegroup, 48>::value_type' {aka 'struct std::pair'} declared here 185 | struct pair | ^~~~ i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o hashtable_unittest hashtable_unittest.o i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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/google/sparsehash/sparsehashtable.h:116, from ./src/google/sparse_hash_set:93, from src/simple_test.cc:39: ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(size_type, google::true_type) [with T = int; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:906:14: required from 'google::sparsegroup::value_type& google::sparsegroup::set(size_type, const_reference) [with T = int; short unsigned int GROUP_SIZE = 48; reference = int&; size_type = short unsigned int; const_reference = const int&]' ./src/google/sparsetable:1292:42: required from 'google::sparsetable::value_type& google::sparsetable::set(size_type, const_reference) [with T = int; short unsigned int GROUP_SIZE = 48; reference = int&; size_type = unsigned int; const_reference = const int&]' ./src/google/sparsehash/sparsehashtable.h:849:16: required from 'std::pair, bool> google::sparse_hashtable::insert_noresize(const value_type&) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = int]' ./src/google/sparsehash/sparsehashtable.h:860:12: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = int]' ./src/google/sparse_hash_set:232:53: required from 'std::pair::Identity, google::sparse_hash_set::SetKey, EqualKey, Alloc>::const_iterator, bool> google::sparse_hash_set::insert(const value_type&) [with Value = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >; value_type = int]' src/simple_test.cc:70:16: required from here ./src/google/sparsetable:879:13: error: 'memcpy' was not declared in this scope 879 | memcpy(group + i, group + i-1, sizeof(*group)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/google/sparsetable:78:1: note: 'memcpy' is defined in header ''; did you forget to '#include '? 77 | #include // for true_type, integral_constant, etc. +++ |+#include 78 | ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::set_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:906:14: required from 'google::sparsegroup::value_type& google::sparsegroup::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = short unsigned int; const_reference = const std::pair&]' ./src/google/sparsetable:1292:42: required from 'google::sparsetable::value_type& google::sparsetable::set(size_type, const_reference) [with T = std::pair; short unsigned int GROUP_SIZE = 48; reference = std::pair&; size_type = unsigned int; const_reference = const std::pair&]' ./src/google/sparsehash/sparsehashtable.h:849:16: required from 'std::pair, bool> google::sparse_hashtable::insert_noresize(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparsehash/sparsehashtable.h:860:12: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/sparse_hash_map:236:20: 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 = std::allocator; data_type = int; key_type = int]' src/simple_test.cc:71:11: required from here ./src/google/sparsetable:879:13: error: 'memcpy' was not declared in this scope 879 | memcpy(group + i, group + i-1, sizeof(*group)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/google/sparsetable:879:13: note: 'memcpy' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::clear() [with T = int; short unsigned int GROUP_SIZE = 48]': ./src/google/sparsetable:1191:19: required from 'void google::sparsetable::clear() [with T = int; short unsigned int GROUP_SIZE = 48]' ./src/google/sparsehash/sparsehashtable.h:737:16: required from 'void google::sparse_hashtable::clear() [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator]' ./src/google/sparsehash/sparsehashtable.h:599:5: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, google::sparse_hashtable&, size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, google::sparse_hashtable&, size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = int]' ./src/google/sparse_hash_set:232:53: required from 'std::pair::Identity, google::sparse_hash_set::SetKey, EqualKey, Alloc>::const_iterator, bool> google::sparse_hash_set::insert(const value_type&) [with Value = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >; value_type = int]' src/simple_test.cc:70:16: required from here ./src/google/sparsetable:819:11: error: 'memset' was not declared in this scope 819 | memset(bitmap, 0, sizeof(bitmap)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/google/sparsetable:819:11: note: 'memset' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::clear() [with T = std::pair; short unsigned int GROUP_SIZE = 48]': ./src/google/sparsetable:1191:19: required from 'void google::sparsetable::clear() [with T = std::pair; short unsigned int GROUP_SIZE = 48]' ./src/google/sparsehash/sparsehashtable.h:737:16: required from 'void google::sparse_hashtable::clear() [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 = std::allocator]' ./src/google/sparsehash/sparsehashtable.h:599:5: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/sparse_hash_map:236:20: 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 = std::allocator; data_type = int; key_type = int]' src/simple_test.cc:71:11: required from here ./src/google/sparsetable:819:11: error: 'memset' was not declared in this scope ./src/google/sparsetable:819:11: note: 'memset' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'google::sparsegroup::sparsegroup() [with T = int; short unsigned int GROUP_SIZE = 48]': /usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = google::sparsegroup; _Args = {}]' /usr/include/c++/12/bits/stl_uninitialized.h:638:18: required from 'static _ForwardIterator std::__uninitialized_default_n_1<_TrivialValueType>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = google::sparsegroup*; _Size = unsigned int; bool _TrivialValueType = false]' /usr/include/c++/12/bits/stl_uninitialized.h:701:20: required from '_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = google::sparsegroup*; _Size = unsigned int]' /usr/include/c++/12/bits/stl_uninitialized.h:766:44: required from '_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator, _Size, allocator<_Tp>&) [with _ForwardIterator = google::sparsegroup*; _Size = unsigned int; _Tp = google::sparsegroup]' /usr/include/c++/12/bits/stl_vector.h:1713:36: required from 'void std::vector<_Tp, _Alloc>::_M_default_initialize(size_type) [with _Tp = google::sparsegroup; _Alloc = std::allocator >; size_type = unsigned int]' /usr/include/c++/12/bits/stl_vector.h:553:9: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = google::sparsegroup; _Alloc = std::allocator >; size_type = unsigned int; allocator_type = std::allocator >]' ./src/google/sparsetable:1176:7: required from 'google::sparsetable::sparsetable(size_type) [with T = int; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:674:7: required from 'google::sparse_hashtable::sparse_hashtable(size_type, const HashFcn&, const EqualKey&, const SetKey&, const ExtractKey&) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparse_hash_set:161:7: required from 'google::sparse_hash_set::sparse_hash_set(size_type, const hasher&, const key_equal&) [with Value = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int; hasher = std::hash; key_equal = std::equal_to]' src/simple_test.cc:62:32: required from here ./src/google/sparsetable:780:52: error: 'memset' was not declared in this scope 780 | sparsegroup() : group(0), num_buckets(0) { memset(bitmap, 0, sizeof(bitmap)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/google/sparsetable:780:52: note: 'memset' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'google::sparsegroup::sparsegroup() [with T = std::pair; short unsigned int GROUP_SIZE = 48]': /usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = google::sparsegroup, 48>; _Args = {}]' /usr/include/c++/12/bits/stl_uninitialized.h:638:18: required from 'static _ForwardIterator std::__uninitialized_default_n_1<_TrivialValueType>::__uninit_default_n(_ForwardIterator, _Size) [with _ForwardIterator = google::sparsegroup, 48>*; _Size = unsigned int; bool _TrivialValueType = false]' /usr/include/c++/12/bits/stl_uninitialized.h:701:20: required from '_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size) [with _ForwardIterator = google::sparsegroup, 48>*; _Size = unsigned int]' /usr/include/c++/12/bits/stl_uninitialized.h:766:44: required from '_ForwardIterator std::__uninitialized_default_n_a(_ForwardIterator, _Size, allocator<_Tp>&) [with _ForwardIterator = google::sparsegroup, 48>*; _Size = unsigned int; _Tp = google::sparsegroup, 48>]' /usr/include/c++/12/bits/stl_vector.h:1713:36: required from 'void std::vector<_Tp, _Alloc>::_M_default_initialize(size_type) [with _Tp = google::sparsegroup, 48>; _Alloc = std::allocator, 48> >; size_type = unsigned int]' /usr/include/c++/12/bits/stl_vector.h:553:9: required from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = google::sparsegroup, 48>; _Alloc = std::allocator, 48> >; size_type = unsigned int; allocator_type = std::allocator, 48> >]' ./src/google/sparsetable:1176:7: required from 'google::sparsetable::sparsetable(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:674:7: required from 'google::sparse_hashtable::sparse_hashtable(size_type, const HashFcn&, const EqualKey&, const SetKey&, const ExtractKey&) [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 = std::allocator; size_type = unsigned int]' ./src/google/sparse_hash_map:167:7: required from 'google::sparse_hash_map::sparse_hash_map(size_type, const hasher&, const key_equal&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int; hasher = std::hash; key_equal = std::equal_to]' src/simple_test.cc:63:37: required from here ./src/google/sparsetable:780:52: error: 'memset' was not declared in this scope ./src/google/sparsetable:780:52: note: 'memset' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(size_type, google::true_type) [with T = int; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:970:18: required from 'void google::sparsegroup::erase(size_type) [with T = int; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int]' ./src/google/sparsetable:978:10: required from 'void google::sparsegroup::erase(iterator) [with T = int; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator >]' ./src/google/sparsetable:985:12: required from 'void google::sparsegroup::erase(iterator, iterator) [with T = int; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator >]' ./src/google/sparsetable:1211:28: required from 'void google::sparsetable::resize(size_type) [with T = int; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:608:19: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, google::sparse_hashtable&, size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, google::sparse_hashtable&, size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = int]' ./src/google/sparse_hash_set:232:53: required from 'std::pair::Identity, google::sparse_hash_set::SetKey, EqualKey, Alloc>::const_iterator, bool> google::sparse_hash_set::insert(const value_type&) [with Value = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >; value_type = int]' src/simple_test.cc:70:16: required from here ./src/google/sparsetable:939:13: error: 'memcpy' was not declared in this scope 939 | memcpy(group + i, group + i+1, sizeof(*group)); // hopefully inlined! | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/google/sparsetable:939:13: note: 'memcpy' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'void google::sparsegroup::erase_aux(size_type, google::true_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int; google::true_type = google::integral_constant]': ./src/google/sparsetable:970:18: required from 'void google::sparsegroup::erase(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = short unsigned int]' ./src/google/sparsetable:978:10: required from 'void google::sparsegroup::erase(iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:985:12: required from 'void google::sparsegroup::erase(iterator, iterator) [with T = std::pair; short unsigned int GROUP_SIZE = 48; iterator = google::table_iterator, 48> >]' ./src/google/sparsetable:1211:28: required from 'void google::sparsetable::resize(size_type) [with T = std::pair; short unsigned int GROUP_SIZE = 48; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:608:19: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/sparse_hash_map:236:20: 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 = std::allocator; data_type = int; key_type = int]' src/simple_test.cc:71:11: required from here ./src/google/sparsetable:939:13: error: 'memcpy' was not declared in this scope ./src/google/sparsetable:939:13: note: 'memcpy' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'google::sparsegroup::sparsegroup(const google::sparsegroup&) [with T = int; short unsigned int GROUP_SIZE = 48]': /usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = google::sparsegroup; _Args = {const google::sparsegroup&}]' /usr/include/c++/12/bits/stl_uninitialized.h:120:21: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const google::sparsegroup*; _ForwardIterator = google::sparsegroup*]' /usr/include/c++/12/bits/stl_uninitialized.h:137:32: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const google::sparsegroup*; _ForwardIterator = google::sparsegroup*; bool _TrivialValueTypes = false]' /usr/include/c++/12/bits/stl_uninitialized.h:185:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const google::sparsegroup*; _ForwardIterator = google::sparsegroup*]' /usr/include/c++/12/bits/stl_uninitialized.h:372:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = const google::sparsegroup*; _ForwardIterator = google::sparsegroup*; _Tp = google::sparsegroup]' /usr/include/c++/12/bits/stl_uninitialized.h:397:2: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/google/sparsehash/sparsehashtable.h:608:19: required from 'void google::sparse_hashtable::move_from(MoveDontCopyT, google::sparse_hashtable&, size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, google::sparse_hashtable&, size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(size_type) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_type&) [with Value = int; Key = int; HashFcn = std::hash; ExtractKey = google::sparse_hash_set::Identity; SetKey = google::sparse_hash_set::SetKey; EqualKey = std::equal_to; Alloc = std::allocator; value_type = int]' ./src/google/sparse_hash_set:232:53: required from 'std::pair::Identity, google::sparse_hash_set::SetKey, EqualKey, Alloc>::const_iterator, bool> google::sparse_hash_set::insert(const value_type&) [with Value = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable::const_iterator = google::sparse_hashtable_const_iterator, google::sparse_hash_set::Identity, google::sparse_hash_set::SetKey, std::equal_to, std::allocator >; value_type = int]' src/simple_test.cc:70:16: required from here ./src/google/sparsetable:786:11: error: 'memcpy' was not declared in this scope 786 | memcpy(bitmap, x.bitmap, sizeof(bitmap)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/google/sparsetable:786:11: note: 'memcpy' is defined in header ''; did you forget to '#include '? ./src/google/sparsetable: In instantiation of 'google::sparsegroup::sparsegroup(const google::sparsegroup&) [with T = std::pair; short unsigned int GROUP_SIZE = 48]': /usr/include/c++/12/bits/stl_construct.h:119:7: required from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = google::sparsegroup, 48>; _Args = {const google::sparsegroup, 48>&}]' /usr/include/c++/12/bits/stl_uninitialized.h:120:21: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const google::sparsegroup, 48>*; _ForwardIterator = google::sparsegroup, 48>*]' /usr/include/c++/12/bits/stl_uninitialized.h:137:32: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const google::sparsegroup, 48>*; _ForwardIterator = google::sparsegroup, 48>*; bool _TrivialValueTypes = false]' /usr/include/c++/12/bits/stl_uninitialized.h:185:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const google::sparsegroup, 48>*; _ForwardIterator = google::sparsegroup, 48>*]' /usr/include/c++/12/bits/stl_uninitialized.h:372:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = const google::sparsegroup, 48>*; _ForwardIterator = google::sparsegroup, 48>*; _Tp = google::sparsegroup, 48>]' /usr/include/c++/12/bits/stl_uninitialized.h:397:2: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] ./src/google/sparsehash/sparsehashtable.h:703:5: required from 'google::sparse_hashtable::sparse_hashtable(MoveDontCopyT, 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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:560:24: required from 'void google::sparse_hashtable::resize_delta(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 = std::allocator; size_type = unsigned int]' ./src/google/sparsehash/sparsehashtable.h:859:5: required from 'std::pair, bool> google::sparse_hashtable::insert(const value_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 = std::allocator; value_type = std::pair]' ./src/google/sparse_hash_map:250:73: required from 'std::pair, Key, HashFcn, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, EqualKey, Alloc>::iterator, bool> google::sparse_hash_map::insert(const value_type&) [with Key = int; T = int; HashFcn = std::hash; EqualKey = std::equal_to; Alloc = std::allocator; typename google::sparse_hashtable, Key, HashFcn, SelectKey, SetKey, EqualKey, Alloc>::iterator = google::sparse_hashtable_iterator, int, std::hash, google::sparse_hash_map::SelectKey, google::sparse_hash_map::SetKey, std::equal_to, std::allocator >; value_type = std::pair]' ./src/google/sparse_hash_map:236:20: 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 = std::allocator; data_type = int; key_type = int]' src/simple_test.cc:71:11: required from here ./src/google/sparsetable:786:11: error: 'memcpy' was not declared in this scope ./src/google/sparsetable:786:11: note: 'memcpy' is defined in header ''; did you forget to '#include '? make[1]: *** [Makefile:488: simple_test.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libgoogle-sparsehash-1.5.2' make: *** [Makefile:343: all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/libgoogle-sparsehash-1.5.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.77739 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.77739 (%build) Command exited with non-zero status 1 24.60user 1.74system 0:12.59elapsed 209%CPU (0avgtext+0avgdata 277960maxresident)k 0inputs+0outputs (0major+683233minor)pagefaults 0swaps hsh-rebuild: rebuild of `libgoogle-sparsehash-1.5.2-alt1.1.src.rpm' failed. Command exited with non-zero status 1 27.95user 4.58system 0:17.88elapsed 181%CPU (0avgtext+0avgdata 277960maxresident)k 0inputs+0outputs (30391major+875530minor)pagefaults 0swaps