sbuild (Debian sbuild) 0.81.2+deb11u1 (31 August 2022) on debian-ci-siliconvalley +==============================================================================+ | vowpal-wabbit 8.6.1.dfsg1-1 (armhf) Sat, 03 Dec 2022 14:17:05 +0000 | +==============================================================================+ Package: vowpal-wabbit Version: 8.6.1.dfsg1-1 Source Version: 8.6.1.dfsg1-1 Distribution: unstable Machine Architecture: amd64 Host Architecture: armhf Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-0336475d-7330-4766-a029-fc796ca2a03d' with '<>' I: NOTICE: Log filtering will replace 'build/vowpal-wabbit-0J33JF/resolver-O95ozO' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://localhost:3142/debian sid InRelease [161 kB] Get:2 http://localhost:3142/debian sid/main Sources.diff/Index [63.6 kB] Get:3 http://localhost:3142/debian sid/main amd64 Packages.diff/Index [63.6 kB] Get:4 http://localhost:3142/debian sid/main Sources T-2022-12-03-0803.53-F-2022-12-03-0204.41.pdiff [32.4 kB] Get:4 http://localhost:3142/debian sid/main Sources T-2022-12-03-0803.53-F-2022-12-03-0204.41.pdiff [32.4 kB] Get:5 http://localhost:3142/debian sid/main amd64 Packages T-2022-12-03-0803.53-F-2022-12-03-0204.41.pdiff [36.0 kB] Get:5 http://localhost:3142/debian sid/main amd64 Packages T-2022-12-03-0803.53-F-2022-12-03-0204.41.pdiff [36.0 kB] Get:6 http://localhost:3142/debian sid/main armhf Packages [9050 kB] Fetched 9406 kB in 2s (3771 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: dpkg dpkg-dev libdpkg-perl liblzma5 rpcsvc-proto xz-utils 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 6663 kB of archives. After this operation, 10.2 kB of additional disk space will be used. Get:1 http://localhost:3142/debian sid/main amd64 dpkg amd64 1.21.11 [2404 kB] Get:2 http://localhost:3142/debian sid/main amd64 liblzma5 amd64 5.2.9-0.0 [189 kB] Get:3 http://localhost:3142/debian sid/main amd64 xz-utils amd64 5.2.9-0.0 [340 kB] Get:4 http://localhost:3142/debian sid/main amd64 dpkg-dev all 1.21.11 [2202 kB] Get:5 http://localhost:3142/debian sid/main amd64 libdpkg-perl all 1.21.11 [1465 kB] Get:6 http://localhost:3142/debian sid/main amd64 rpcsvc-proto amd64 1.4.3-1 [63.3 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 6663 kB in 0s (167 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15684 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.11_amd64.deb ... Unpacking dpkg (1.21.11) over (1.21.10) ... Setting up dpkg (1.21.11) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15684 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.9-0.0_amd64.deb ... Unpacking liblzma5:amd64 (5.2.9-0.0) over (5.2.8-0.0) ... Setting up liblzma5:amd64 (5.2.9-0.0) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15684 files and directories currently installed.) Preparing to unpack .../xz-utils_5.2.9-0.0_amd64.deb ... Unpacking xz-utils (5.2.9-0.0) over (5.2.8-0.0) ... Preparing to unpack .../dpkg-dev_1.21.11_all.deb ... Unpacking dpkg-dev (1.21.11) over (1.21.10) ... Preparing to unpack .../libdpkg-perl_1.21.11_all.deb ... Unpacking libdpkg-perl (1.21.11) over (1.21.10) ... Preparing to unpack .../rpcsvc-proto_1.4.3-1_amd64.deb ... Unpacking rpcsvc-proto (1.4.3-1) over (1.4.2-4) ... Setting up rpcsvc-proto (1.4.3-1) ... Setting up xz-utils (5.2.9-0.0) ... Setting up libdpkg-perl (1.21.11) ... Setting up dpkg-dev (1.21.11) ... Processing triggers for libc-bin (2.36-6) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'vowpal-wabbit' packaging is maintained in the 'Git' version control system at: git://github.com/yarikoptic/vowpal_wabbit.git -b debian Please use: git clone git://github.com/yarikoptic/vowpal_wabbit.git -b debian to retrieve the latest (possibly unreleased) updates to the package. Need to get 18.0 MB of source archives. Get:1 http://localhost:3142/debian sid/main vowpal-wabbit 8.6.1.dfsg1-1 (dsc) [2273 B] Get:2 http://localhost:3142/debian sid/main vowpal-wabbit 8.6.1.dfsg1-1 (tar) [18.0 MB] Get:3 http://localhost:3142/debian sid/main vowpal-wabbit 8.6.1.dfsg1-1 (diff) [6752 B] Fetched 18.0 MB in 0s (190 MB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/vowpal-wabbit-0J33JF/vowpal-wabbit-8.6.1.dfsg1' with '<>' I: NOTICE: Log filtering will replace 'build/vowpal-wabbit-0J33JF' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9), dh-autoreconf, libboost-program-options-dev, libboost-python-dev, rapidjson-dev, help2man, markdown, html2text, zlib1g-dev, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64, libc-dev:armhf, libstdc++-dev:armhf Filtered Build-Depends: debhelper (>= 9), dh-autoreconf, libboost-program-options-dev, libboost-python-dev, rapidjson-dev, help2man, markdown, html2text, zlib1g-dev, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64, libc-dev:armhf, libstdc++-dev:armhf dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [465 B] Get:5 copy:/<>/apt_archive ./ Packages [553 B] Fetched 1975 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev binutils-arm-linux-gnueabihf bsdextrautils cpp-12-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cross-config crossbuild-essential-armhf debhelper dh-autoreconf dh-strip-nondeterminism dpkg-cross dwz file g++-12-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-12-arm-linux-gnueabihf gcc-12-arm-linux-gnueabihf-base gcc-12-base:armhf gcc-12-cross-base gcc-arm-linux-gnueabihf gettext gettext-base groff-base help2man html2text:armhf intltool-debian libarchive-zip-perl libasan8:armhf libasan8-armhf-cross libatomic1:armhf libatomic1-armhf-cross libboost-program-options-dev:armhf libboost-program-options1.74-dev:armhf libboost-program-options1.74.0:armhf libboost-python-dev:armhf libboost-python1.74-dev:armhf libboost-python1.74.0:armhf libboost1.74-dev:armhf libbz2-1.0:armhf libc6:armhf libc6-armhf-cross libc6-dev:armhf libc6-dev-armhf-cross libcom-err2:armhf libconfig-auto-perl libconfig-inifiles-perl libcrypt-dev:armhf libcrypt1:armhf libdb5.3:armhf libdebhelper-perl libdebian-dpkgcross-perl libelf1 libexpat1 libexpat1:armhf libexpat1-dev libexpat1-dev:armhf libffi8:armhf libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libgcc-12-dev:armhf libgcc-12-dev-armhf-cross libgcc-s1:armhf libgcc-s1-armhf-cross libgomp1:armhf libgomp1-armhf-cross libgssapi-krb5-2:armhf libicu72 libio-string-perl libjs-jquery libjs-sphinxdoc libjs-underscore libk5crypto3:armhf libkeyutils1:armhf libkrb5-3:armhf libkrb5support0:armhf liblocale-gettext-perl liblzma5:armhf libmagic-mgc libmagic1 libmpdec3 libmpdec3:armhf libncursesw6 libncursesw6:armhf libnsl-dev:armhf libnsl2:armhf libpipeline1 libpython3-dev libpython3-dev:armhf libpython3-stdlib libpython3.10 libpython3.10:armhf libpython3.10-dev libpython3.10-dev:armhf libpython3.10-minimal libpython3.10-minimal:armhf libpython3.10-stdlib libpython3.10-stdlib:armhf libreadline8 libreadline8:armhf libsqlite3-0 libsqlite3-0:armhf libssl3:armhf libstdc++-12-dev:armhf libstdc++-12-dev-armhf-cross libstdc++6:armhf libstdc++6-armhf-cross libsub-override-perl libtinfo6:armhf libtirpc-dev:armhf libtirpc3:armhf libtool libubsan1:armhf libubsan1-armhf-cross libuchardet0 libuuid1:armhf libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev:armhf linux-libc-dev-armhf-cross m4 man-db markdown media-types po-debconf python3 python3-dev python3-distutils python3-lib2to3 python3-minimal python3.10 python3.10-dev python3.10-minimal rapidjson-dev readline-common sensible-utils ucf zlib1g:armhf zlib1g-dev zlib1g-dev:armhf Suggested packages: autoconf-archive gnu-standards autoconf-doc binutils-doc gcc-12-locales cpp-12-doc cpp-doc dh-make binutils-multiarch gcc-12-doc manpages-dev flex bison gdb-arm-linux-gnueabihf gcc-doc gettext-doc libasprintf-dev libgettextpo-dev groff curl:armhf | wget:armhf libboost1.74-doc:armhf gccxml:armhf python3:armhf libboost-atomic1.74-dev:armhf libboost-chrono1.74-dev:armhf libboost-container1.74-dev:armhf libboost-context1.74-dev:armhf libboost-contract1.74-dev:armhf libboost-coroutine1.74-dev:armhf libboost-date-time1.74-dev:armhf libboost-exception1.74-dev:armhf libboost-fiber1.74-dev:armhf libboost-filesystem1.74-dev:armhf libboost-graph1.74-dev:armhf libboost-graph-parallel1.74-dev:armhf libboost-iostreams1.74-dev:armhf libboost-locale1.74-dev:armhf libboost-log1.74-dev:armhf libboost-math1.74-dev:armhf libboost-mpi1.74-dev:armhf libboost-mpi-python1.74-dev:armhf libboost-numpy1.74-dev:armhf libboost-random1.74-dev:armhf libboost-regex1.74-dev:armhf libboost-serialization1.74-dev:armhf libboost-stacktrace1.74-dev:armhf libboost-system1.74-dev:armhf libboost-test1.74-dev:armhf libboost-thread1.74-dev:armhf libboost-timer1.74-dev:armhf libboost-type-erasure1.74-dev:armhf libboost-wave1.74-dev:armhf libboost1.74-tools-dev:armhf libmpfrc++-dev:armhf libntl-dev:armhf libboost-nowide1.74-dev:armhf glibc-doc:armhf libc-l10n:armhf locales:armhf libnss-nis:armhf libnss-nisplus:armhf manpages-dev:armhf krb5-doc:armhf krb5-user:armhf libstdc++-12-doc:armhf libtool-doc gfortran | fortran95-compiler gcj-jdk libyaml-shell-perl m4-doc apparmor less www-browser libmail-box-perl python3-doc python3-tk python3-venv python3.10-venv python3.10-doc binfmt-support rapidjson-doc readline-doc Recommended packages: curl | wget | lynx libidn2-0:armhf libarchive-cpio-perl javascript-common krb5-locales:armhf libgpm2 libgpm2:armhf libltdl-dev uuid-runtime:armhf libwww-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev binutils-arm-linux-gnueabihf bsdextrautils cpp-12-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cross-config crossbuild-essential-armhf debhelper dh-autoreconf dh-strip-nondeterminism dpkg-cross dwz file g++-12-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-12-arm-linux-gnueabihf gcc-12-arm-linux-gnueabihf-base gcc-12-base:armhf gcc-12-cross-base gcc-arm-linux-gnueabihf gettext gettext-base groff-base help2man html2text:armhf intltool-debian libarchive-zip-perl libasan8:armhf libasan8-armhf-cross libatomic1:armhf libatomic1-armhf-cross libboost-program-options-dev:armhf libboost-program-options1.74-dev:armhf libboost-program-options1.74.0:armhf libboost-python-dev:armhf libboost-python1.74-dev:armhf libboost-python1.74.0:armhf libboost1.74-dev:armhf libbz2-1.0:armhf libc6:armhf libc6-armhf-cross libc6-dev:armhf libc6-dev-armhf-cross libcom-err2:armhf libconfig-auto-perl libconfig-inifiles-perl libcrypt-dev:armhf libcrypt1:armhf libdb5.3:armhf libdebhelper-perl libdebian-dpkgcross-perl libelf1 libexpat1 libexpat1:armhf libexpat1-dev libexpat1-dev:armhf libffi8:armhf libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libgcc-12-dev:armhf libgcc-12-dev-armhf-cross libgcc-s1:armhf libgcc-s1-armhf-cross libgomp1:armhf libgomp1-armhf-cross libgssapi-krb5-2:armhf libicu72 libio-string-perl libjs-jquery libjs-sphinxdoc libjs-underscore libk5crypto3:armhf libkeyutils1:armhf libkrb5-3:armhf libkrb5support0:armhf liblocale-gettext-perl liblzma5:armhf libmagic-mgc libmagic1 libmpdec3 libmpdec3:armhf libncursesw6 libncursesw6:armhf libnsl-dev:armhf libnsl2:armhf libpipeline1 libpython3-dev libpython3-dev:armhf libpython3-stdlib libpython3.10 libpython3.10:armhf libpython3.10-dev libpython3.10-dev:armhf libpython3.10-minimal libpython3.10-minimal:armhf libpython3.10-stdlib libpython3.10-stdlib:armhf libreadline8 libreadline8:armhf libsqlite3-0 libsqlite3-0:armhf libssl3:armhf libstdc++-12-dev:armhf libstdc++-12-dev-armhf-cross libstdc++6:armhf libstdc++6-armhf-cross libsub-override-perl libtinfo6:armhf libtirpc-dev:armhf libtirpc3:armhf libtool libubsan1:armhf libubsan1-armhf-cross libuchardet0 libuuid1:armhf libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev:armhf linux-libc-dev-armhf-cross m4 man-db markdown media-types po-debconf python3 python3-dev python3-distutils python3-lib2to3 python3-minimal python3.10 python3.10-dev python3.10-minimal rapidjson-dev readline-common sbuild-build-depends-main-dummy:armhf sensible-utils ucf zlib1g:armhf zlib1g-dev zlib1g-dev:armhf 0 upgraded, 149 newly installed, 0 to remove and 0 not upgraded. Need to get 119 MB of archives. After this operation, 576 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [984 B] Get:2 http://localhost:3142/debian sid/main amd64 liblocale-gettext-perl amd64 1.07-4+b3 [15.1 kB] Get:3 http://localhost:3142/debian sid/main amd64 libpython3.10-minimal amd64 3.10.8-3 [784 kB] Get:4 http://localhost:3142/debian sid/main amd64 libexpat1 amd64 2.5.0-1 [99.3 kB] Get:5 http://localhost:3142/debian sid/main amd64 python3.10-minimal amd64 3.10.8-3 [1951 kB] Get:6 http://localhost:3142/debian sid/main amd64 python3-minimal amd64 3.10.6-3 [25.5 kB] Get:7 http://localhost:3142/debian sid/main amd64 media-types all 8.0.0 [33.4 kB] Get:8 http://localhost:3142/debian sid/main amd64 libmpdec3 amd64 2.5.1-2 [87.8 kB] Get:9 http://localhost:3142/debian sid/main amd64 libncursesw6 amd64 6.3+20220423-2 [133 kB] Get:10 http://localhost:3142/debian sid/main amd64 readline-common all 8.2-1.2 [68.5 kB] Get:11 http://localhost:3142/debian sid/main amd64 libreadline8 amd64 8.2-1.2 [165 kB] Get:12 http://localhost:3142/debian sid/main amd64 libsqlite3-0 amd64 3.40.0-1 [838 kB] Get:13 http://localhost:3142/debian sid/main amd64 libpython3.10-stdlib amd64 3.10.8-3 [1685 kB] Get:14 http://localhost:3142/debian sid/main amd64 python3.10 amd64 3.10.8-3 [506 kB] Get:15 http://localhost:3142/debian sid/main amd64 libpython3-stdlib amd64 3.10.6-3 [8588 B] Get:16 http://localhost:3142/debian sid/main amd64 python3 amd64 3.10.6-3 [25.2 kB] Get:17 http://localhost:3142/debian sid/main amd64 sensible-utils all 0.0.17 [21.5 kB] Get:18 http://localhost:3142/debian sid/main amd64 libmagic-mgc amd64 1:5.41-4 [295 kB] Get:19 http://localhost:3142/debian sid/main amd64 libmagic1 amd64 1:5.41-4 [129 kB] Get:20 http://localhost:3142/debian sid/main amd64 file amd64 1:5.41-4 [67.0 kB] Get:21 http://localhost:3142/debian sid/main amd64 gettext-base amd64 0.21-10 [160 kB] Get:22 http://localhost:3142/debian sid/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get:23 http://localhost:3142/debian sid/main amd64 groff-base amd64 1.22.4-9 [916 kB] Get:24 http://localhost:3142/debian sid/main amd64 bsdextrautils amd64 2.38.1-4 [86.2 kB] Get:25 http://localhost:3142/debian sid/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get:26 http://localhost:3142/debian sid/main amd64 man-db amd64 2.11.1-1 [1384 kB] Get:27 http://localhost:3142/debian sid/main amd64 ucf all 3.0043 [74.0 kB] Get:28 http://localhost:3142/debian sid/main amd64 m4 amd64 1.4.19-1 [291 kB] Get:29 http://localhost:3142/debian sid/main amd64 autoconf all 2.71-2 [343 kB] Get:30 http://localhost:3142/debian sid/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get:31 http://localhost:3142/debian sid/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get:32 http://localhost:3142/debian sid/main amd64 autopoint all 0.21-10 [495 kB] Get:33 http://localhost:3142/debian sid/main amd64 binutils-arm-linux-gnueabihf amd64 2.39-8 [3230 kB] Get:34 http://localhost:3142/debian sid/main amd64 gcc-12-arm-linux-gnueabihf-base amd64 12.2.0-9cross2 [37.3 kB] Get:35 http://localhost:3142/debian sid/main amd64 cpp-12-arm-linux-gnueabihf amd64 12.2.0-9cross2 [8666 kB] Get:36 http://localhost:3142/debian sid/main amd64 cpp-arm-linux-gnueabihf amd64 4:12.2.0-1 [17.2 kB] Get:37 http://localhost:3142/debian sid/main amd64 cross-config all 2.6.19 [16.3 kB] Get:38 http://localhost:3142/debian sid/main amd64 gcc-12-cross-base all 12.2.0-9cross2 [32.8 kB] Get:39 http://localhost:3142/debian sid/main amd64 libc6-armhf-cross all 2.36-3cross1 [872 kB] Get:40 http://localhost:3142/debian sid/main amd64 libgcc-s1-armhf-cross all 12.2.0-9cross2 [36.7 kB] Get:41 http://localhost:3142/debian sid/main amd64 libgomp1-armhf-cross all 12.2.0-9cross2 [94.8 kB] Get:42 http://localhost:3142/debian sid/main amd64 libatomic1-armhf-cross all 12.2.0-9cross2 [6772 B] Get:43 http://localhost:3142/debian sid/main amd64 libasan8-armhf-cross all 12.2.0-9cross2 [2113 kB] Get:44 http://localhost:3142/debian sid/main amd64 libstdc++6-armhf-cross all 12.2.0-9cross2 [476 kB] Get:45 http://localhost:3142/debian sid/main amd64 libubsan1-armhf-cross all 12.2.0-9cross2 [855 kB] Get:46 http://localhost:3142/debian sid/main amd64 libgcc-12-dev-armhf-cross all 12.2.0-9cross2 [742 kB] Get:47 http://localhost:3142/debian sid/main amd64 gcc-12-arm-linux-gnueabihf amd64 12.2.0-9cross2 [17.0 MB] Get:48 http://localhost:3142/debian sid/main amd64 gcc-arm-linux-gnueabihf amd64 4:12.2.0-1 [1464 B] Get:49 http://localhost:3142/debian sid/main amd64 linux-libc-dev-armhf-cross all 6.0.6-2cross1 [1763 kB] Get:50 http://localhost:3142/debian sid/main amd64 libc6-dev-armhf-cross all 2.36-3cross1 [1260 kB] Get:51 http://localhost:3142/debian sid/main amd64 libstdc++-12-dev-armhf-cross all 12.2.0-9cross2 [2036 kB] Get:52 http://localhost:3142/debian sid/main amd64 g++-12-arm-linux-gnueabihf amd64 12.2.0-9cross2 [9595 kB] Get:53 http://localhost:3142/debian sid/main amd64 g++-arm-linux-gnueabihf amd64 4:12.2.0-1 [1180 B] Get:54 http://localhost:3142/debian sid/main amd64 libconfig-inifiles-perl all 3.000003-1 [52.1 kB] Get:55 http://localhost:3142/debian sid/main amd64 libio-string-perl all 1.08-3.1 [11.8 kB] Get:56 http://localhost:3142/debian sid/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get:57 http://localhost:3142/debian sid/main amd64 libxml2 amd64 2.9.14+dfsg-1.1+b2 [687 kB] Get:58 http://localhost:3142/debian sid/main amd64 libxml-namespacesupport-perl all 1.12-2 [15.1 kB] Get:59 http://localhost:3142/debian sid/main amd64 libxml-sax-base-perl all 1.09-3 [20.6 kB] Get:60 http://localhost:3142/debian sid/main amd64 libxml-sax-perl all 1.02+dfsg-3 [59.4 kB] Get:61 http://localhost:3142/debian sid/main amd64 libxml-libxml-perl amd64 2.0207+dfsg+really+2.0134-1+b1 [322 kB] Get:62 http://localhost:3142/debian sid/main amd64 libxml-simple-perl all 2.25-1 [72.0 kB] Get:63 http://localhost:3142/debian sid/main amd64 libyaml-perl all 1.30-2 [63.4 kB] Get:64 http://localhost:3142/debian sid/main amd64 libconfig-auto-perl all 0.44-2 [19.2 kB] Get:65 http://localhost:3142/debian sid/main amd64 libfile-which-perl all 1.27-2 [15.1 kB] Get:66 http://localhost:3142/debian sid/main amd64 libfile-homedir-perl all 1.006-2 [42.4 kB] Get:67 http://localhost:3142/debian sid/main amd64 libdebian-dpkgcross-perl all 2.6.19 [15.3 kB] Get:68 http://localhost:3142/debian sid/main amd64 dpkg-cross all 2.6.19 [25.6 kB] Get:69 http://localhost:3142/debian sid/main amd64 crossbuild-essential-armhf all 12.9 [6708 B] Get:70 http://localhost:3142/debian sid/main amd64 libdebhelper-perl all 13.11.1 [80.8 kB] Get:71 http://localhost:3142/debian sid/main amd64 libtool all 2.4.7-5 [517 kB] Get:72 http://localhost:3142/debian sid/main amd64 dh-autoreconf all 20 [17.1 kB] Get:73 http://localhost:3142/debian sid/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get:74 http://localhost:3142/debian sid/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get:75 http://localhost:3142/debian sid/main amd64 libfile-stripnondeterminism-perl all 1.13.0-2 [19.4 kB] Get:76 http://localhost:3142/debian sid/main amd64 dh-strip-nondeterminism all 1.13.0-2 [8556 B] Get:77 http://localhost:3142/debian sid/main amd64 libelf1 amd64 0.188-1 [172 kB] Get:78 http://localhost:3142/debian sid/main amd64 dwz amd64 0.14+20220924-2 [109 kB] Get:79 http://localhost:3142/debian sid/main amd64 gettext amd64 0.21-10 [1300 kB] Get:80 http://localhost:3142/debian sid/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get:81 http://localhost:3142/debian sid/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get:82 http://localhost:3142/debian sid/main amd64 debhelper all 13.11.1 [941 kB] Get:83 http://localhost:3142/debian sid/main armhf gcc-12-base armhf 12.2.0-9 [37.0 kB] Get:84 http://localhost:3142/debian sid/main amd64 help2man amd64 1.49.2 [202 kB] Get:85 http://localhost:3142/debian sid/main armhf libgcc-s1 armhf 12.2.0-9 [36.6 kB] Get:86 http://localhost:3142/debian sid/main armhf libc6 armhf 2.36-6 [2184 kB] Get:87 http://localhost:3142/debian sid/main armhf libstdc++6 armhf 12.2.0-9 [519 kB] Get:88 http://localhost:3142/debian sid/main armhf html2text armhf 1.3.2a-28 [83.5 kB] Get:89 http://localhost:3142/debian sid/main armhf libasan8 armhf 12.2.0-9 [2114 kB] Get:90 http://localhost:3142/debian sid/main armhf libatomic1 armhf 12.2.0-9 [7044 B] Get:91 http://localhost:3142/debian sid/main armhf libgomp1 armhf 12.2.0-9 [97.0 kB] Get:92 http://localhost:3142/debian sid/main armhf libubsan1 armhf 12.2.0-9 [856 kB] Get:93 http://localhost:3142/debian sid/main armhf libgcc-12-dev armhf 12.2.0-9 [742 kB] Get:94 http://localhost:3142/debian sid/main armhf linux-libc-dev armhf 6.0.10-2 [1650 kB] Get:95 http://localhost:3142/debian sid/main armhf libcrypt1 armhf 1:4.4.33-1 [95.6 kB] Get:96 http://localhost:3142/debian sid/main armhf libcrypt-dev armhf 1:4.4.33-1 [125 kB] Get:97 http://localhost:3142/debian sid/main armhf libcom-err2 armhf 1.46.6~rc1-1+b1 [14.1 kB] Get:98 http://localhost:3142/debian sid/main armhf libkrb5support0 armhf 1.20.1-1 [29.2 kB] Get:99 http://localhost:3142/debian sid/main armhf libk5crypto3 armhf 1.20.1-1 [74.4 kB] Get:100 http://localhost:3142/debian sid/main armhf libkeyutils1 armhf 1.6.3-1 [14.7 kB] Get:101 http://localhost:3142/debian sid/main armhf libssl3 armhf 3.0.7-1 [1656 kB] Get:102 http://localhost:3142/debian sid/main armhf libkrb5-3 armhf 1.20.1-1 [287 kB] Get:103 http://localhost:3142/debian sid/main armhf libgssapi-krb5-2 armhf 1.20.1-1 [111 kB] Get:104 http://localhost:3142/debian sid/main armhf libtirpc3 armhf 1.3.3+ds-1 [72.9 kB] Get:105 http://localhost:3142/debian sid/main armhf libnsl2 armhf 1.3.0-2 [33.9 kB] Get:106 http://localhost:3142/debian sid/main armhf libtirpc-dev armhf 1.3.3+ds-1 [182 kB] Get:107 http://localhost:3142/debian sid/main armhf libnsl-dev armhf 1.3.0-2 [62.1 kB] Get:108 http://localhost:3142/debian sid/main armhf libc6-dev armhf 2.36-6 [1264 kB] Get:109 http://localhost:3142/debian sid/main armhf libstdc++-12-dev armhf 12.2.0-9 [2085 kB] Get:110 http://localhost:3142/debian sid/main armhf libboost1.74-dev armhf 1.74.0-17+b2 [9508 kB] Get:111 http://localhost:3142/debian sid/main armhf libboost-program-options1.74.0 armhf 1.74.0-17+b2 [311 kB] Get:112 http://localhost:3142/debian sid/main armhf libboost-program-options1.74-dev armhf 1.74.0-17+b2 [355 kB] Get:113 http://localhost:3142/debian sid/main armhf libboost-program-options-dev armhf 1.74.0.3 [4340 B] Get:114 http://localhost:3142/debian sid/main armhf libboost-python1.74.0 armhf 1.74.0-17+b2 [291 kB] Get:115 http://localhost:3142/debian sid/main armhf libpython3.10-minimal armhf 3.10.8-3 [769 kB] Get:116 http://localhost:3142/debian sid/main armhf libbz2-1.0 armhf 1.0.8-5+b1 [44.1 kB] Get:117 http://localhost:3142/debian sid/main armhf libdb5.3 armhf 5.3.28+dfsg1-0.10 [595 kB] Get:118 http://localhost:3142/debian sid/main armhf libffi8 armhf 3.4.4-1 [19.5 kB] Get:119 http://localhost:3142/debian sid/main armhf liblzma5 armhf 5.2.9-0.0 [179 kB] Get:120 http://localhost:3142/debian sid/main armhf libmpdec3 armhf 2.5.1-2 [74.9 kB] Get:121 http://localhost:3142/debian sid/main armhf libtinfo6 armhf 6.3+20220423-2 [337 kB] Get:122 http://localhost:3142/debian sid/main armhf libncursesw6 armhf 6.3+20220423-2 [107 kB] Get:123 http://localhost:3142/debian sid/main armhf libreadline8 armhf 8.2-1.2 [143 kB] Get:124 http://localhost:3142/debian sid/main armhf libsqlite3-0 armhf 3.40.0-1 [734 kB] Get:125 http://localhost:3142/debian sid/main armhf libuuid1 armhf 2.38.1-4 [27.3 kB] Get:126 http://localhost:3142/debian sid/main armhf libpython3.10-stdlib armhf 3.10.8-3 [1605 kB] Get:127 http://localhost:3142/debian sid/main armhf libexpat1 armhf 2.5.0-1 [79.9 kB] Get:128 http://localhost:3142/debian sid/main armhf zlib1g armhf 1:1.2.13.dfsg-1 [73.8 kB] Get:129 http://localhost:3142/debian sid/main armhf libpython3.10 armhf 3.10.8-3 [1501 kB] Get:130 http://localhost:3142/debian sid/main armhf libexpat1-dev armhf 2.5.0-1 [134 kB] Get:131 http://localhost:3142/debian sid/main armhf zlib1g-dev armhf 1:1.2.13.dfsg-1 [902 kB] Get:132 http://localhost:3142/debian sid/main armhf libpython3.10-dev armhf 3.10.8-3 [3079 kB] Get:133 http://localhost:3142/debian sid/main armhf libpython3-dev armhf 3.10.6-3 [8820 B] Get:134 http://localhost:3142/debian sid/main amd64 libpython3.10 amd64 3.10.8-3 [1753 kB] Get:135 http://localhost:3142/debian sid/main amd64 libexpat1-dev amd64 2.5.0-1 [150 kB] Get:136 http://localhost:3142/debian sid/main amd64 zlib1g-dev amd64 1:1.2.13.dfsg-1 [916 kB] Get:137 http://localhost:3142/debian sid/main amd64 libpython3.10-dev amd64 3.10.8-3 [4127 kB] Get:138 http://localhost:3142/debian sid/main amd64 libpython3-dev amd64 3.10.6-3 [8816 B] Get:139 http://localhost:3142/debian sid/main amd64 python3.10-dev amd64 3.10.8-3 [508 kB] Get:140 http://localhost:3142/debian sid/main amd64 python3-lib2to3 all 3.10.8-1 [77.3 kB] Get:141 http://localhost:3142/debian sid/main amd64 python3-distutils all 3.10.8-1 [139 kB] Get:142 http://localhost:3142/debian sid/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get:143 http://localhost:3142/debian sid/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-2 [116 kB] Get:144 http://localhost:3142/debian sid/main amd64 libjs-sphinxdoc all 4.5.0-4 [142 kB] Get:145 http://localhost:3142/debian sid/main amd64 python3-dev amd64 3.10.6-3 [25.4 kB] Get:146 http://localhost:3142/debian sid/main armhf libboost-python1.74-dev armhf 1.74.0-17+b2 [312 kB] Get:147 http://localhost:3142/debian sid/main armhf libboost-python-dev armhf 1.74.0.3 [4632 B] Get:148 http://localhost:3142/debian sid/main amd64 markdown all 1.0.1-12 [17.7 kB] Get:149 http://localhost:3142/debian sid/main amd64 rapidjson-dev all 1.1.0+dfsg2-7.1 [97.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 119 MB in 1s (195 MB/s) Selecting previously unselected package liblocale-gettext-perl. (Reading database ... 15684 files and directories currently installed.) Preparing to unpack .../liblocale-gettext-perl_1.07-4+b3_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-4+b3) ... Selecting previously unselected package libpython3.10-minimal:amd64. Preparing to unpack .../libpython3.10-minimal_3.10.8-3_amd64.deb ... Unpacking libpython3.10-minimal:amd64 (3.10.8-3) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.5.0-1_amd64.deb ... Unpacking libexpat1:amd64 (2.5.0-1) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.8-3_amd64.deb ... Unpacking python3.10-minimal (3.10.8-3) ... Setting up libpython3.10-minimal:amd64 (3.10.8-3) ... Setting up libexpat1:amd64 (2.5.0-1) ... Setting up python3.10-minimal (3.10.8-3) ... Selecting previously unselected package python3-minimal. (Reading database ... 16004 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.6-3_amd64.deb ... Unpacking python3-minimal (3.10.6-3) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_8.0.0_all.deb ... Unpacking media-types (8.0.0) ... Selecting previously unselected package libmpdec3:amd64. Preparing to unpack .../2-libmpdec3_2.5.1-2_amd64.deb ... Unpacking libmpdec3:amd64 (2.5.1-2) ... Selecting previously unselected package libncursesw6:amd64. Preparing to unpack .../3-libncursesw6_6.3+20220423-2_amd64.deb ... Unpacking libncursesw6:amd64 (6.3+20220423-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-1.2_all.deb ... Unpacking readline-common (8.2-1.2) ... Selecting previously unselected package libreadline8:amd64. Preparing to unpack .../5-libreadline8_8.2-1.2_amd64.deb ... Unpacking libreadline8:amd64 (8.2-1.2) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../6-libsqlite3-0_3.40.0-1_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.40.0-1) ... Selecting previously unselected package libpython3.10-stdlib:amd64. Preparing to unpack .../7-libpython3.10-stdlib_3.10.8-3_amd64.deb ... Unpacking libpython3.10-stdlib:amd64 (3.10.8-3) ... Selecting previously unselected package python3.10. Preparing to unpack .../8-python3.10_3.10.8-3_amd64.deb ... Unpacking python3.10 (3.10.8-3) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../9-libpython3-stdlib_3.10.6-3_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.10.6-3) ... Setting up python3-minimal (3.10.6-3) ... Selecting previously unselected package python3. (Reading database ... 16447 files and directories currently installed.) Preparing to unpack .../000-python3_3.10.6-3_amd64.deb ... Unpacking python3 (3.10.6-3) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../001-sensible-utils_0.0.17_all.deb ... Unpacking sensible-utils (0.0.17) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../002-libmagic-mgc_1%3a5.41-4_amd64.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../003-libmagic1_1%3a5.41-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../004-file_1%3a5.41-4_amd64.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../005-gettext-base_0.21-10_amd64.deb ... Unpacking gettext-base (0.21-10) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../006-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../007-groff-base_1.22.4-9_amd64.deb ... Unpacking groff-base (1.22.4-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../008-bsdextrautils_2.38.1-4_amd64.deb ... Unpacking bsdextrautils (2.38.1-4) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../009-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../010-man-db_2.11.1-1_amd64.deb ... Unpacking man-db (2.11.1-1) ... Selecting previously unselected package ucf. Preparing to unpack .../011-ucf_3.0043_all.deb ... Moving old data out of the way Unpacking ucf (3.0043) ... Selecting previously unselected package m4. Preparing to unpack .../012-m4_1.4.19-1_amd64.deb ... Unpacking m4 (1.4.19-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../013-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../014-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../015-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../016-autopoint_0.21-10_all.deb ... Unpacking autopoint (0.21-10) ... Selecting previously unselected package binutils-arm-linux-gnueabihf. Preparing to unpack .../017-binutils-arm-linux-gnueabihf_2.39-8_amd64.deb ... Unpacking binutils-arm-linux-gnueabihf (2.39-8) ... Selecting previously unselected package gcc-12-arm-linux-gnueabihf-base:amd64. Preparing to unpack .../018-gcc-12-arm-linux-gnueabihf-base_12.2.0-9cross2_amd64.deb ... Unpacking gcc-12-arm-linux-gnueabihf-base:amd64 (12.2.0-9cross2) ... Selecting previously unselected package cpp-12-arm-linux-gnueabihf. Preparing to unpack .../019-cpp-12-arm-linux-gnueabihf_12.2.0-9cross2_amd64.deb ... Unpacking cpp-12-arm-linux-gnueabihf (12.2.0-9cross2) ... Selecting previously unselected package cpp-arm-linux-gnueabihf. Preparing to unpack .../020-cpp-arm-linux-gnueabihf_4%3a12.2.0-1_amd64.deb ... Unpacking cpp-arm-linux-gnueabihf (4:12.2.0-1) ... Selecting previously unselected package cross-config. Preparing to unpack .../021-cross-config_2.6.19_all.deb ... Unpacking cross-config (2.6.19) ... Selecting previously unselected package gcc-12-cross-base. Preparing to unpack .../022-gcc-12-cross-base_12.2.0-9cross2_all.deb ... Unpacking gcc-12-cross-base (12.2.0-9cross2) ... Selecting previously unselected package libc6-armhf-cross. Preparing to unpack .../023-libc6-armhf-cross_2.36-3cross1_all.deb ... Unpacking libc6-armhf-cross (2.36-3cross1) ... Selecting previously unselected package libgcc-s1-armhf-cross. Preparing to unpack .../024-libgcc-s1-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libgcc-s1-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package libgomp1-armhf-cross. Preparing to unpack .../025-libgomp1-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libgomp1-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package libatomic1-armhf-cross. Preparing to unpack .../026-libatomic1-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libatomic1-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package libasan8-armhf-cross. Preparing to unpack .../027-libasan8-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libasan8-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package libstdc++6-armhf-cross. Preparing to unpack .../028-libstdc++6-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libstdc++6-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package libubsan1-armhf-cross. Preparing to unpack .../029-libubsan1-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libubsan1-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package libgcc-12-dev-armhf-cross. Preparing to unpack .../030-libgcc-12-dev-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libgcc-12-dev-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package gcc-12-arm-linux-gnueabihf. Preparing to unpack .../031-gcc-12-arm-linux-gnueabihf_12.2.0-9cross2_amd64.deb ... Unpacking gcc-12-arm-linux-gnueabihf (12.2.0-9cross2) ... Selecting previously unselected package gcc-arm-linux-gnueabihf. Preparing to unpack .../032-gcc-arm-linux-gnueabihf_4%3a12.2.0-1_amd64.deb ... Unpacking gcc-arm-linux-gnueabihf (4:12.2.0-1) ... Selecting previously unselected package linux-libc-dev-armhf-cross. Preparing to unpack .../033-linux-libc-dev-armhf-cross_6.0.6-2cross1_all.deb ... Unpacking linux-libc-dev-armhf-cross (6.0.6-2cross1) ... Selecting previously unselected package libc6-dev-armhf-cross. Preparing to unpack .../034-libc6-dev-armhf-cross_2.36-3cross1_all.deb ... Unpacking libc6-dev-armhf-cross (2.36-3cross1) ... Selecting previously unselected package libstdc++-12-dev-armhf-cross. Preparing to unpack .../035-libstdc++-12-dev-armhf-cross_12.2.0-9cross2_all.deb ... Unpacking libstdc++-12-dev-armhf-cross (12.2.0-9cross2) ... Selecting previously unselected package g++-12-arm-linux-gnueabihf. Preparing to unpack .../036-g++-12-arm-linux-gnueabihf_12.2.0-9cross2_amd64.deb ... Unpacking g++-12-arm-linux-gnueabihf (12.2.0-9cross2) ... Selecting previously unselected package g++-arm-linux-gnueabihf. Preparing to unpack .../037-g++-arm-linux-gnueabihf_4%3a12.2.0-1_amd64.deb ... Unpacking g++-arm-linux-gnueabihf (4:12.2.0-1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../038-libconfig-inifiles-perl_3.000003-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000003-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../039-libio-string-perl_1.08-3.1_all.deb ... Unpacking libio-string-perl (1.08-3.1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../040-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../041-libxml2_2.9.14+dfsg-1.1+b2_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.1+b2) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../042-libxml-namespacesupport-perl_1.12-2_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-2) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../043-libxml-sax-base-perl_1.09-3_all.deb ... Unpacking libxml-sax-base-perl (1.09-3) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../044-libxml-sax-perl_1.02+dfsg-3_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-3) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../045-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1+b1_amd64.deb ... Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1+b1) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../046-libxml-simple-perl_2.25-1_all.deb ... Unpacking libxml-simple-perl (2.25-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../047-libyaml-perl_1.30-2_all.deb ... Unpacking libyaml-perl (1.30-2) ... Selecting previously unselected package libconfig-auto-perl. Preparing to unpack .../048-libconfig-auto-perl_0.44-2_all.deb ... Unpacking libconfig-auto-perl (0.44-2) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../049-libfile-which-perl_1.27-2_all.deb ... Unpacking libfile-which-perl (1.27-2) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../050-libfile-homedir-perl_1.006-2_all.deb ... Unpacking libfile-homedir-perl (1.006-2) ... Selecting previously unselected package libdebian-dpkgcross-perl. Preparing to unpack .../051-libdebian-dpkgcross-perl_2.6.19_all.deb ... Unpacking libdebian-dpkgcross-perl (2.6.19) ... Selecting previously unselected package dpkg-cross. Preparing to unpack .../052-dpkg-cross_2.6.19_all.deb ... Unpacking dpkg-cross (2.6.19) ... Selecting previously unselected package crossbuild-essential-armhf. Preparing to unpack .../053-crossbuild-essential-armhf_12.9_all.deb ... Unpacking crossbuild-essential-armhf (12.9) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../054-libdebhelper-perl_13.11.1_all.deb ... Unpacking libdebhelper-perl (13.11.1) ... Selecting previously unselected package libtool. Preparing to unpack .../055-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../056-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../057-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../058-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../059-libfile-stripnondeterminism-perl_1.13.0-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.0-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../060-dh-strip-nondeterminism_1.13.0-2_all.deb ... Unpacking dh-strip-nondeterminism (1.13.0-2) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../061-libelf1_0.188-1_amd64.deb ... Unpacking libelf1:amd64 (0.188-1) ... Selecting previously unselected package dwz. Preparing to unpack .../062-dwz_0.14+20220924-2_amd64.deb ... Unpacking dwz (0.14+20220924-2) ... Selecting previously unselected package gettext. Preparing to unpack .../063-gettext_0.21-10_amd64.deb ... Unpacking gettext (0.21-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../064-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../065-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../066-debhelper_13.11.1_all.deb ... Unpacking debhelper (13.11.1) ... Selecting previously unselected package gcc-12-base:armhf. Preparing to unpack .../067-gcc-12-base_12.2.0-9_armhf.deb ... Unpacking gcc-12-base:armhf (12.2.0-9) ... Selecting previously unselected package help2man. Preparing to unpack .../068-help2man_1.49.2_amd64.deb ... Unpacking help2man (1.49.2) ... Selecting previously unselected package libgcc-s1:armhf. Preparing to unpack .../069-libgcc-s1_12.2.0-9_armhf.deb ... Unpacking libgcc-s1:armhf (12.2.0-9) ... Selecting previously unselected package libc6:armhf. Preparing to unpack .../070-libc6_2.36-6_armhf.deb ... Unpacking libc6:armhf (2.36-6) ... Selecting previously unselected package libstdc++6:armhf. Preparing to unpack .../071-libstdc++6_12.2.0-9_armhf.deb ... Unpacking libstdc++6:armhf (12.2.0-9) ... Selecting previously unselected package html2text:armhf. Preparing to unpack .../072-html2text_1.3.2a-28_armhf.deb ... Unpacking html2text:armhf (1.3.2a-28) ... Selecting previously unselected package libasan8:armhf. Preparing to unpack .../073-libasan8_12.2.0-9_armhf.deb ... Unpacking libasan8:armhf (12.2.0-9) ... Selecting previously unselected package libatomic1:armhf. Preparing to unpack .../074-libatomic1_12.2.0-9_armhf.deb ... Unpacking libatomic1:armhf (12.2.0-9) ... Selecting previously unselected package libgomp1:armhf. Preparing to unpack .../075-libgomp1_12.2.0-9_armhf.deb ... Unpacking libgomp1:armhf (12.2.0-9) ... Selecting previously unselected package libubsan1:armhf. Preparing to unpack .../076-libubsan1_12.2.0-9_armhf.deb ... Unpacking libubsan1:armhf (12.2.0-9) ... Selecting previously unselected package libgcc-12-dev:armhf. Preparing to unpack .../077-libgcc-12-dev_12.2.0-9_armhf.deb ... Unpacking libgcc-12-dev:armhf (12.2.0-9) ... Selecting previously unselected package linux-libc-dev:armhf. Preparing to unpack .../078-linux-libc-dev_6.0.10-2_armhf.deb ... Unpacking linux-libc-dev:armhf (6.0.10-2) ... Selecting previously unselected package libcrypt1:armhf. Preparing to unpack .../079-libcrypt1_1%3a4.4.33-1_armhf.deb ... Unpacking libcrypt1:armhf (1:4.4.33-1) ... Selecting previously unselected package libcrypt-dev:armhf. Preparing to unpack .../080-libcrypt-dev_1%3a4.4.33-1_armhf.deb ... Unpacking libcrypt-dev:armhf (1:4.4.33-1) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../081-libcom-err2_1.46.6~rc1-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.46.6~rc1-1+b1) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../082-libkrb5support0_1.20.1-1_armhf.deb ... Unpacking libkrb5support0:armhf (1.20.1-1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../083-libk5crypto3_1.20.1-1_armhf.deb ... Unpacking libk5crypto3:armhf (1.20.1-1) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../084-libkeyutils1_1.6.3-1_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-1) ... Selecting previously unselected package libssl3:armhf. Preparing to unpack .../085-libssl3_3.0.7-1_armhf.deb ... Unpacking libssl3:armhf (3.0.7-1) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../086-libkrb5-3_1.20.1-1_armhf.deb ... Unpacking libkrb5-3:armhf (1.20.1-1) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../087-libgssapi-krb5-2_1.20.1-1_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.20.1-1) ... Selecting previously unselected package libtirpc3:armhf. Preparing to unpack .../088-libtirpc3_1.3.3+ds-1_armhf.deb ... Unpacking libtirpc3:armhf (1.3.3+ds-1) ... Selecting previously unselected package libnsl2:armhf. Preparing to unpack .../089-libnsl2_1.3.0-2_armhf.deb ... Unpacking libnsl2:armhf (1.3.0-2) ... Selecting previously unselected package libtirpc-dev:armhf. Preparing to unpack .../090-libtirpc-dev_1.3.3+ds-1_armhf.deb ... Unpacking libtirpc-dev:armhf (1.3.3+ds-1) ... Selecting previously unselected package libnsl-dev:armhf. Preparing to unpack .../091-libnsl-dev_1.3.0-2_armhf.deb ... Unpacking libnsl-dev:armhf (1.3.0-2) ... Selecting previously unselected package libc6-dev:armhf. Preparing to unpack .../092-libc6-dev_2.36-6_armhf.deb ... Unpacking libc6-dev:armhf (2.36-6) ... Selecting previously unselected package libstdc++-12-dev:armhf. Preparing to unpack .../093-libstdc++-12-dev_12.2.0-9_armhf.deb ... Unpacking libstdc++-12-dev:armhf (12.2.0-9) ... Selecting previously unselected package libboost1.74-dev:armhf. Preparing to unpack .../094-libboost1.74-dev_1.74.0-17+b2_armhf.deb ... Unpacking libboost1.74-dev:armhf (1.74.0-17+b2) ... Selecting previously unselected package libboost-program-options1.74.0:armhf. Preparing to unpack .../095-libboost-program-options1.74.0_1.74.0-17+b2_armhf.deb ... Unpacking libboost-program-options1.74.0:armhf (1.74.0-17+b2) ... Selecting previously unselected package libboost-program-options1.74-dev:armhf. Preparing to unpack .../096-libboost-program-options1.74-dev_1.74.0-17+b2_armhf.deb ... Unpacking libboost-program-options1.74-dev:armhf (1.74.0-17+b2) ... Selecting previously unselected package libboost-program-options-dev:armhf. Preparing to unpack .../097-libboost-program-options-dev_1.74.0.3_armhf.deb ... Unpacking libboost-program-options-dev:armhf (1.74.0.3) ... Selecting previously unselected package libboost-python1.74.0:armhf. Preparing to unpack .../098-libboost-python1.74.0_1.74.0-17+b2_armhf.deb ... Unpacking libboost-python1.74.0:armhf (1.74.0-17+b2) ... Selecting previously unselected package libpython3.10-minimal:armhf. Preparing to unpack .../099-libpython3.10-minimal_3.10.8-3_armhf.deb ... Unpacking libpython3.10-minimal:armhf (3.10.8-3) ... Selecting previously unselected package libbz2-1.0:armhf. Preparing to unpack .../100-libbz2-1.0_1.0.8-5+b1_armhf.deb ... Unpacking libbz2-1.0:armhf (1.0.8-5+b1) ... Selecting previously unselected package libdb5.3:armhf. Preparing to unpack .../101-libdb5.3_5.3.28+dfsg1-0.10_armhf.deb ... Unpacking libdb5.3:armhf (5.3.28+dfsg1-0.10) ... Selecting previously unselected package libffi8:armhf. Preparing to unpack .../102-libffi8_3.4.4-1_armhf.deb ... Unpacking libffi8:armhf (3.4.4-1) ... Selecting previously unselected package liblzma5:armhf. Preparing to unpack .../103-liblzma5_5.2.9-0.0_armhf.deb ... Unpacking liblzma5:armhf (5.2.9-0.0) ... Selecting previously unselected package libmpdec3:armhf. Preparing to unpack .../104-libmpdec3_2.5.1-2_armhf.deb ... Unpacking libmpdec3:armhf (2.5.1-2) ... Selecting previously unselected package libtinfo6:armhf. Preparing to unpack .../105-libtinfo6_6.3+20220423-2_armhf.deb ... Unpacking libtinfo6:armhf (6.3+20220423-2) ... Selecting previously unselected package libncursesw6:armhf. Preparing to unpack .../106-libncursesw6_6.3+20220423-2_armhf.deb ... Unpacking libncursesw6:armhf (6.3+20220423-2) ... Selecting previously unselected package libreadline8:armhf. Preparing to unpack .../107-libreadline8_8.2-1.2_armhf.deb ... Unpacking libreadline8:armhf (8.2-1.2) ... Selecting previously unselected package libsqlite3-0:armhf. Preparing to unpack .../108-libsqlite3-0_3.40.0-1_armhf.deb ... Unpacking libsqlite3-0:armhf (3.40.0-1) ... Selecting previously unselected package libuuid1:armhf. Preparing to unpack .../109-libuuid1_2.38.1-4_armhf.deb ... Unpacking libuuid1:armhf (2.38.1-4) ... Selecting previously unselected package libpython3.10-stdlib:armhf. Preparing to unpack .../110-libpython3.10-stdlib_3.10.8-3_armhf.deb ... Unpacking libpython3.10-stdlib:armhf (3.10.8-3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../111-libexpat1_2.5.0-1_armhf.deb ... Unpacking libexpat1:armhf (2.5.0-1) ... Selecting previously unselected package zlib1g:armhf. Preparing to unpack .../112-zlib1g_1%3a1.2.13.dfsg-1_armhf.deb ... Unpacking zlib1g:armhf (1:1.2.13.dfsg-1) ... Selecting previously unselected package libpython3.10:armhf. Preparing to unpack .../113-libpython3.10_3.10.8-3_armhf.deb ... Unpacking libpython3.10:armhf (3.10.8-3) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../114-libexpat1-dev_2.5.0-1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.5.0-1) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../115-zlib1g-dev_1%3a1.2.13.dfsg-1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.2.13.dfsg-1) ... Selecting previously unselected package libpython3.10-dev:armhf. Preparing to unpack .../116-libpython3.10-dev_3.10.8-3_armhf.deb ... Unpacking libpython3.10-dev:armhf (3.10.8-3) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../117-libpython3-dev_3.10.6-3_armhf.deb ... Unpacking libpython3-dev:armhf (3.10.6-3) ... Selecting previously unselected package libpython3.10:amd64. Preparing to unpack .../118-libpython3.10_3.10.8-3_amd64.deb ... Unpacking libpython3.10:amd64 (3.10.8-3) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../119-libexpat1-dev_2.5.0-1_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.5.0-1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../120-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... Selecting previously unselected package libpython3.10-dev:amd64. Preparing to unpack .../121-libpython3.10-dev_3.10.8-3_amd64.deb ... Unpacking libpython3.10-dev:amd64 (3.10.8-3) ... Selecting previously unselected package libpython3-dev:amd64. Preparing to unpack .../122-libpython3-dev_3.10.6-3_amd64.deb ... Unpacking libpython3-dev:amd64 (3.10.6-3) ... Selecting previously unselected package python3.10-dev. Preparing to unpack .../123-python3.10-dev_3.10.8-3_amd64.deb ... Unpacking python3.10-dev (3.10.8-3) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../124-python3-lib2to3_3.10.8-1_all.deb ... Unpacking python3-lib2to3 (3.10.8-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../125-python3-distutils_3.10.8-1_all.deb ... Unpacking python3-distutils (3.10.8-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../126-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../127-libjs-underscore_1.13.4~dfsg+~1.11.4-2_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-2) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../128-libjs-sphinxdoc_4.5.0-4_all.deb ... Unpacking libjs-sphinxdoc (4.5.0-4) ... Selecting previously unselected package python3-dev. Preparing to unpack .../129-python3-dev_3.10.6-3_amd64.deb ... Unpacking python3-dev (3.10.6-3) ... Selecting previously unselected package libboost-python1.74-dev:armhf. Preparing to unpack .../130-libboost-python1.74-dev_1.74.0-17+b2_armhf.deb ... Unpacking libboost-python1.74-dev:armhf (1.74.0-17+b2) ... Selecting previously unselected package libboost-python-dev:armhf. Preparing to unpack .../131-libboost-python-dev_1.74.0.3_armhf.deb ... Unpacking libboost-python-dev:armhf (1.74.0.3) ... Selecting previously unselected package markdown. Preparing to unpack .../132-markdown_1.0.1-12_all.deb ... Unpacking markdown (1.0.1-12) ... Selecting previously unselected package rapidjson-dev. Preparing to unpack .../133-rapidjson-dev_1.1.0+dfsg2-7.1_all.deb ... Unpacking rapidjson-dev (1.1.0+dfsg2-7.1) ... Selecting previously unselected package sbuild-build-depends-main-dummy:armhf. Preparing to unpack .../134-sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-main-dummy:armhf (0.invalid.0) ... Setting up libconfig-inifiles-perl (3.000003-1) ... Setting up media-types (8.0.0) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libfile-which-perl (1.27-2) ... Setting up libc6-armhf-cross (2.36-3cross1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up gcc-12-cross-base (12.2.0-9cross2) ... Setting up bsdextrautils (2.38.1-4) ... Setting up libmagic-mgc (1:5.41-4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libgcc-s1-armhf-cross (12.2.0-9cross2) ... Setting up libdebhelper-perl (13.11.1) ... Setting up libsqlite3-0:amd64 (3.40.0-1) ... Setting up libmagic1:amd64 (1:5.41-4) ... Setting up linux-libc-dev:armhf (6.0.10-2) ... Setting up libxml-namespacesupport-perl (1.12-2) ... Setting up gettext-base (0.21-10) ... Setting up m4 (1.4.19-1) ... Setting up file (1:5.41-4) ... Setting up libatomic1-armhf-cross (12.2.0-9cross2) ... Setting up libyaml-perl (1.30-2) ... Setting up rapidjson-dev (1.1.0+dfsg2-7.1) ... Setting up gcc-12-base:armhf (12.2.0-9) ... Setting up libxml-sax-base-perl (1.09-3) ... Setting up libio-string-perl (1.08-3.1) ... Setting up autotools-dev (20220109.1) ... Setting up cross-config (2.6.19) ... Setting up libstdc++6-armhf-cross (12.2.0-9cross2) ... Setting up gcc-12-arm-linux-gnueabihf-base:amd64 (12.2.0-9cross2) ... Setting up libexpat1-dev:amd64 (2.5.0-1) ... Setting up linux-libc-dev-armhf-cross (6.0.6-2cross1) ... Setting up autopoint (0.21-10) ... Setting up libubsan1-armhf-cross (12.2.0-9cross2) ... Setting up libncursesw6:amd64 (6.3+20220423-2) ... Setting up autoconf (2.71-2) ... Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ... Setting up sensible-utils (0.0.17) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libmpdec3:amd64 (2.5.1-2) ... Setting up libsub-override-perl (0.09-4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libfile-homedir-perl (1.006-2) ... Setting up binutils-arm-linux-gnueabihf (2.39-8) ... Setting up libelf1:amd64 (0.188-1) ... Setting up readline-common (8.2-1.2) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.1+b2) ... Setting up liblocale-gettext-perl (1.07-4+b3) ... Setting up markdown (1.0.1-12) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libgomp1-armhf-cross (12.2.0-9cross2) ... Setting up libfile-stripnondeterminism-perl (1.13.0-2) ... Setting up libasan8-armhf-cross (12.2.0-9cross2) ... Setting up gettext (0.21-10) ... Setting up libtool (2.4.7-5) ... Setting up libreadline8:amd64 (8.2-1.2) ... Setting up libc6-dev-armhf-cross (2.36-3cross1) ... Setting up cpp-12-arm-linux-gnueabihf (12.2.0-9cross2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up help2man (1.49.2) ... Setting up libpython3.10-stdlib:amd64 (3.10.8-3) ... Setting up dh-autoreconf (20) ... Setting up ucf (3.0043) ... Setting up libjs-sphinxdoc (4.5.0-4) ... Setting up dh-strip-nondeterminism (1.13.0-2) ... Setting up dwz (0.14+20220924-2) ... Setting up libgcc-12-dev-armhf-cross (12.2.0-9cross2) ... Setting up groff-base (1.22.4-9) ... Setting up cpp-arm-linux-gnueabihf (4:12.2.0-1) ... Setting up libpython3-stdlib:amd64 (3.10.6-3) ... Setting up libpython3.10:amd64 (3.10.8-3) ... Setting up python3.10 (3.10.8-3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up python3 (3.10.6-3) ... Setting up man-db (2.11.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libxml-sax-perl (1.02+dfsg-3) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libstdc++-12-dev-armhf-cross (12.2.0-9cross2) ... Setting up gcc-12-arm-linux-gnueabihf (12.2.0-9cross2) ... Setting up libpython3.10-dev:amd64 (3.10.8-3) ... Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1+b1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up python3.10-dev (3.10.8-3) ... Setting up python3-lib2to3 (3.10.8-1) ... Setting up gcc-arm-linux-gnueabihf (4:12.2.0-1) ... Setting up python3-distutils (3.10.8-1) ... Setting up libpython3-dev:amd64 (3.10.6-3) ... Setting up g++-12-arm-linux-gnueabihf (12.2.0-9cross2) ... Setting up debhelper (13.11.1) ... Setting up python3-dev (3.10.6-3) ... Setting up libxml-simple-perl (2.25-1) ... Setting up g++-arm-linux-gnueabihf (4:12.2.0-1) ... Setting up libconfig-auto-perl (0.44-2) ... Setting up libdebian-dpkgcross-perl (2.6.19) ... Setting up dpkg-cross (2.6.19) ... Setting up crossbuild-essential-armhf (12.9) ... Setting up libgcc-s1:armhf (12.2.0-9) ... Setting up libc6:armhf (2.36-6) ... Setting up libffi8:armhf (3.4.4-1) ... Setting up libasan8:armhf (12.2.0-9) ... Setting up libbz2-1.0:armhf (1.0.8-5+b1) ... Setting up libdb5.3:armhf (5.3.28+dfsg1-0.10) ... Setting up libstdc++6:armhf (12.2.0-9) ... Setting up libtinfo6:armhf (6.3+20220423-2) ... Setting up libexpat1:armhf (2.5.0-1) ... Setting up libkeyutils1:armhf (1.6.3-1) ... Setting up liblzma5:armhf (5.2.9-0.0) ... Setting up libboost-program-options1.74.0:armhf (1.74.0-17+b2) ... Setting up libreadline8:armhf (8.2-1.2) ... Setting up libsqlite3-0:armhf (3.40.0-1) ... Setting up libssl3:armhf (3.0.7-1) ... Setting up zlib1g:armhf (1:1.2.13.dfsg-1) ... Setting up libcrypt1:armhf (1:4.4.33-1) ... Setting up libcom-err2:armhf (1.46.6~rc1-1+b1) ... Setting up libgomp1:armhf (12.2.0-9) ... Setting up libkrb5support0:armhf (1.20.1-1) ... Setting up html2text:armhf (1.3.2a-28) ... Setting up libatomic1:armhf (12.2.0-9) ... Setting up libuuid1:armhf (2.38.1-4) ... Setting up libpython3.10-minimal:armhf (3.10.8-3) ... Setting up libncursesw6:armhf (6.3+20220423-2) ... Setting up libk5crypto3:armhf (1.20.1-1) ... Setting up libubsan1:armhf (12.2.0-9) ... Setting up libcrypt-dev:armhf (1:4.4.33-1) ... Setting up libmpdec3:armhf (2.5.1-2) ... Setting up libkrb5-3:armhf (1.20.1-1) ... Setting up libboost-python1.74.0:armhf (1.74.0-17+b2) ... Setting up libgcc-12-dev:armhf (12.2.0-9) ... Setting up libgssapi-krb5-2:armhf (1.20.1-1) ... Setting up libtirpc3:armhf (1.3.3+ds-1) ... Setting up libtirpc-dev:armhf (1.3.3+ds-1) ... Setting up libnsl2:armhf (1.3.0-2) ... Setting up libpython3.10-stdlib:armhf (3.10.8-3) ... Setting up libnsl-dev:armhf (1.3.0-2) ... Setting up libc6-dev:armhf (2.36-6) ... Setting up libpython3.10:armhf (3.10.8-3) ... Setting up libstdc++-12-dev:armhf (12.2.0-9) ... Setting up libexpat1-dev:armhf (2.5.0-1) ... Setting up zlib1g-dev:armhf (1:1.2.13.dfsg-1) ... Setting up libboost1.74-dev:armhf (1.74.0-17+b2) ... Setting up libboost-program-options1.74-dev:armhf (1.74.0-17+b2) ... Setting up libboost-program-options-dev:armhf (1.74.0.3) ... Setting up libpython3.10-dev:armhf (3.10.8-3) ... Setting up libpython3-dev:armhf (3.10.6-3) ... Setting up libboost-python1.74-dev:armhf (1.74.0-17+b2) ... Setting up libboost-python-dev:armhf (1.74.0.3) ... Setting up sbuild-build-depends-main-dummy:armhf (0.invalid.0) ... Processing triggers for libc-bin (2.36-6) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (armhf included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) amd64 (x86_64) Toolchain package versions: binutils_2.39-8 dpkg-dev_1.21.11 g++-11_11.3.0-8 g++-12_12.2.0-9 gcc-11_11.3.0-8 gcc-12_12.2.0-9 libc6-dev_2.36-6 libstdc++-11-dev_11.3.0-8 libstdc++-12-dev_12.2.0-9 libstdc++-12-dev-armhf-cross_12.2.0-9cross2 libstdc++6_12.2.0-9 libstdc++6-armhf-cross_12.2.0-9cross2 linux-libc-dev_6.0.10-2 Package versions: adduser_3.129 apt_2.5.4 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-10 autotools-dev_20220109.1 base-files_12.3 base-passwd_3.6.1 bash_5.2-2+b1 binutils_2.39-8 binutils-arm-linux-gnueabihf_2.39-8 binutils-common_2.39-8 binutils-x86-64-linux-gnu_2.39-8 bsdextrautils_2.38.1-4 bsdutils_1:2.38.1-4 build-essential_12.9 bzip2_1.0.8-5+b1 coreutils_9.1-1 cpp_4:12.2.0-1 cpp-11_11.3.0-8 cpp-12_12.2.0-9 cpp-12-arm-linux-gnueabihf_12.2.0-9cross2 cpp-arm-linux-gnueabihf_4:12.2.0-1 cross-config_2.6.19 crossbuild-essential-armhf_12.9 dash_0.5.11+git20210903+057cd650a4ed-9 debconf_1.5.80 debhelper_13.11.1 debian-archive-keyring_2021.1.1 debianutils_5.7-0.4 dh-autoreconf_20 dh-strip-nondeterminism_1.13.0-2 diffutils_1:3.8-1 dpkg_1.21.11 dpkg-cross_2.6.19 dpkg-dev_1.21.11 dwz_0.14+20220924-2 e2fsprogs_1.46.6~rc1-1+b1 fakeroot_1.30.1-1 file_1:5.41-4 findutils_4.9.0-3 g++_4:12.2.0-1 g++-11_11.3.0-8 g++-12_12.2.0-9 g++-12-arm-linux-gnueabihf_12.2.0-9cross2 g++-arm-linux-gnueabihf_4:12.2.0-1 gcc_4:12.2.0-1 gcc-11_11.3.0-8 gcc-11-base_11.3.0-8 gcc-12_12.2.0-9 gcc-12-arm-linux-gnueabihf_12.2.0-9cross2 gcc-12-arm-linux-gnueabihf-base_12.2.0-9cross2 gcc-12-base_12.2.0-9 gcc-12-cross-base_12.2.0-9cross2 gcc-9-base_9.5.0-2+b2 gcc-arm-linux-gnueabihf_4:12.2.0-1 gettext_0.21-10 gettext-base_0.21-10 gpgv_2.2.40-1 grep_3.8-3 groff-base_1.22.4-9 gzip_1.12-1 help2man_1.49.2 hostname_3.23 html2text_1.3.2a-28 init-system-helpers_1.65.2 intltool-debian_0.35.0+20060710.6 libacl1_2.3.1-1 libapt-pkg6.0_2.5.4 libarchive-zip-perl_1.68-1 libasan6_11.3.0-8 libasan8_12.2.0-9 libasan8-armhf-cross_12.2.0-9cross2 libatomic1_12.2.0-9 libatomic1-armhf-cross_12.2.0-9cross2 libattr1_1:2.5.1-1 libaudit-common_1:3.0.7-1.1 libaudit1_1:3.0.7-1.1+b2 libbinutils_2.39-8 libblkid1_2.38.1-4 libboost-program-options-dev_1.74.0.3 libboost-program-options1.74-dev_1.74.0-17+b2 libboost-program-options1.74.0_1.74.0-17+b2 libboost-python-dev_1.74.0.3 libboost-python1.74-dev_1.74.0-17+b2 libboost-python1.74.0_1.74.0-17+b2 libboost1.74-dev_1.74.0-17+b2 libbz2-1.0_1.0.8-5+b1 libc-bin_2.36-6 libc-dev-bin_2.36-6 libc6_2.36-6 libc6-armhf-cross_2.36-3cross1 libc6-dev_2.36-6 libc6-dev-armhf-cross_2.36-3cross1 libcap-ng0_0.8.3-1+b2 libcap2_1:2.44-1 libcc1-0_12.2.0-9 libcom-err2_1.46.6~rc1-1+b1 libconfig-auto-perl_0.44-2 libconfig-inifiles-perl_3.000003-1 libcrypt-dev_1:4.4.33-1 libcrypt1_1:4.4.33-1 libctf-nobfd0_2.39-8 libctf0_2.39-8 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.265 libdebhelper-perl_13.11.1 libdebian-dpkgcross-perl_2.6.19 libdpkg-perl_1.21.11 libelf1_0.188-1 libexpat1_2.5.0-1 libexpat1-dev_2.5.0-1 libext2fs2_1.46.6~rc1-1+b1 libfakeroot_1.30.1-1 libffi8_3.4.4-1 libfile-find-rule-perl_0.34-3 libfile-homedir-perl_1.006-2 libfile-stripnondeterminism-perl_1.13.0-2 libfile-which-perl_1.27-2 libgcc-11-dev_11.3.0-8 libgcc-12-dev_12.2.0-9 libgcc-12-dev-armhf-cross_12.2.0-9cross2 libgcc-s1_12.2.0-9 libgcc-s1-armhf-cross_12.2.0-9cross2 libgcrypt20_1.10.1-3 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgmp10_2:6.2.1+dfsg1-1.1 libgnutls30_3.7.8-4 libgomp1_12.2.0-9 libgomp1-armhf-cross_12.2.0-9cross2 libgpg-error0_1.46-1 libgprofng0_2.39-8 libgssapi-krb5-2_1.20.1-1 libhogweed6_3.8.1-2 libicu72_72.1-3 libidn2-0_2.3.3-1+b1 libio-string-perl_1.08-3.1 libisl23_0.25-1 libitm1_12.2.0-9 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-sphinxdoc_4.5.0-4 libjs-underscore_1.13.4~dfsg+~1.11.4-2 libk5crypto3_1.20.1-1 libkeyutils1_1.6.3-1 libkrb5-3_1.20.1-1 libkrb5support0_1.20.1-1 liblocale-gettext-perl_1.07-4+b3 liblsan0_12.2.0-9 liblz4-1_1.9.4-1 liblzma5_5.2.9-0.0 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmd0_1.0.4-2 libmount1_2.38.1-4 libmpc3_1.2.1-2 libmpdec3_2.5.1-2 libmpfr6_4.1.0-3 libncursesw6_6.3+20220423-2 libnettle8_3.8.1-2 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libnumber-compare-perl_0.03-3 libp11-kit0_0.24.1-1 libpam-modules_1.5.2-5 libpam-modules-bin_1.5.2-5 libpam-runtime_1.5.2-5 libpam0g_1.5.2-5 libpcre2-8-0_10.40-3 libpcre3_2:8.39-14 libperl5.34_5.34.0-5 libperl5.36_5.36.0-4 libpipeline1_1.5.7-1 libpython3-dev_3.10.6-3 libpython3-stdlib_3.10.6-3 libpython3.10_3.10.8-3 libpython3.10-dev_3.10.8-3 libpython3.10-minimal_3.10.8-3 libpython3.10-stdlib_3.10.8-3 libquadmath0_12.2.0-9 libreadline8_8.2-1.2 libseccomp2_2.5.4-1+b2 libselinux1_3.4-1+b3 libsemanage-common_3.4-1 libsemanage2_3.4-1+b3 libsepol2_3.4-2 libsmartcols1_2.38.1-4 libsqlite3-0_3.40.0-1 libss2_1.46.6~rc1-1+b1 libssl3_3.0.7-1 libstdc++-11-dev_11.3.0-8 libstdc++-12-dev_12.2.0-9 libstdc++-12-dev-armhf-cross_12.2.0-9cross2 libstdc++6_12.2.0-9 libstdc++6-armhf-cross_12.2.0-9cross2 libsub-override-perl_0.09-4 libsystemd0_252.2-1 libtasn1-6_4.19.0-2 libtext-glob-perl_0.11-3 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-5 libtsan0_11.3.0-8 libtsan2_12.2.0-9 libubsan1_12.2.0-9 libubsan1-armhf-cross_12.2.0-9cross2 libuchardet0_0.0.7-1 libudev1_252.2-1 libunistring2_1.0-2 libuuid1_2.38.1-4 libxml-libxml-perl_2.0207+dfsg+really+2.0134-1+b1 libxml-namespacesupport-perl_1.12-2 libxml-sax-base-perl_1.09-3 libxml-sax-perl_1.02+dfsg-3 libxml-simple-perl_2.25-1 libxml2_2.9.14+dfsg-1.1+b2 libxxhash0_0.8.1-1 libyaml-perl_1.30-2 libzstd1_1.5.2+dfsg-1 linux-libc-dev_6.0.10-2 linux-libc-dev-armhf-cross_6.0.6-2cross1 login_1:4.13+dfsg1-1 logsave_1.46.6~rc1-1+b1 m4_1.4.19-1 make_4.3-4.1 man-db_2.11.1-1 markdown_1.0.1-12 mawk_1.3.4.20200120-3.1 media-types_8.0.0 mount_2.38.1-4 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 passwd_1:4.13+dfsg1-1 patch_2.7.6-7 perl_5.36.0-4 perl-base_5.36.0-4 perl-modules-5.34_5.34.0-5 perl-modules-5.36_5.36.0-4 po-debconf_1.0.21+nmu1 python3_3.10.6-3 python3-dev_3.10.6-3 python3-distutils_3.10.8-1 python3-lib2to3_3.10.8-1 python3-minimal_3.10.6-3 python3.10_3.10.8-3 python3.10-dev_3.10.8-3 python3.10-minimal_3.10.8-3 rapidjson-dev_1.1.0+dfsg2-7.1 readline-common_8.2-1.2 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sysvinit-utils_3.05-7 tar_1.34+dfsg-1.1 tzdata_2022f-1 ucf_3.0043 usrmerge_33 util-linux_2.38.1-4 util-linux-extra_2.38.1-4 xz-utils_5.2.9-0.0 zlib1g_1:1.2.13.dfsg-1 zlib1g-dev_1:1.2.13.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: vowpal-wabbit Binary: vowpal-wabbit, libvw0, libvw-dev, vowpal-wabbit-dbg, vowpal-wabbit-doc Architecture: any all Version: 8.6.1.dfsg1-1 Maintainer: Yaroslav Halchenko Homepage: http://hunch.net/~vw/ Standards-Version: 4.1.3 Vcs-Browser: http://github.com/yarikoptic/vowpal_wabbit Vcs-Git: git://github.com/yarikoptic/vowpal_wabbit.git -b debian Build-Depends: debhelper (>= 9), dh-autoreconf, libboost-program-options-dev, libboost-python-dev, rapidjson-dev, help2man, markdown, html2text, zlib1g-dev Package-List: libvw-dev deb libdevel optional arch=any libvw0 deb libs optional arch=any vowpal-wabbit deb science optional arch=any vowpal-wabbit-dbg deb debug optional arch=any vowpal-wabbit-doc deb doc optional arch=all Checksums-Sha1: 2f1df9cd72d3271ed04bad46c2410f550a6a297b 17967254 vowpal-wabbit_8.6.1.dfsg1.orig.tar.gz 63091e9dac35a879969426c7b059bb20616dc370 6752 vowpal-wabbit_8.6.1.dfsg1-1.debian.tar.xz Checksums-Sha256: 83c7ce87df09ba18413e4b5bfbb6e8c9210b81a2762de96e84c924b94e9e28e4 17967254 vowpal-wabbit_8.6.1.dfsg1.orig.tar.gz fc85296d82d1ade4158ff7988e0eb9d6d4bdbc74682626e51873e0a8310c8317 6752 vowpal-wabbit_8.6.1.dfsg1-1.debian.tar.xz Files: b2d024cb59cb92ff36dabf7c6fdbfc5e 17967254 vowpal-wabbit_8.6.1.dfsg1.orig.tar.gz ad1a11312d8880a0c7fb243dc84bebac 6752 vowpal-wabbit_8.6.1.dfsg1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEExbkF8OjZ/ZZo/zZvot4jUGLaM/oFAltb680ACgkQot4jUGLa M/pU9A/9GWP6TLdZ5DiOtje85buynIdxKn01xvPzfkjyZHVPkW4SrrYesV4LHBxA ea22gQiLdGOaBT9sO03qgCvWjBaNYJxBD9/HgbcZX4tRfkavKsDnII1ldkZTqeez xfgB1hmUW/rdmZvaJaUM5chllaf1bed3xQUCVihIGlm1bgCD7bNJQ3UMI/H89ER3 FioW8oz60wGJ38gLvH26dxOQ3geR5l348geOc0bnEefbaC4hi/fT5hrDLLuetZB3 cq8R6oVv1hYwm//Wv5VDwFUOy1QOY0RiIa4wuV4FKiutZVWC5Q8EsjBB5vlx/rIk 3CuYRR13nCMNpYhNKimYIp5gKzSHw5LYUqucU92u1Nv1T2Ysn99YQXGg3LRYy7td qNAEHW5wqFQ637RgxgGr7K0/q5UCaZj42T9JKws6s+bEVYOavyQgYEwm33+MdJCS z8LyCZYa5C30B+AHWZ9G/wspRjikxV+o6b9yQl0QR3OInaZ5RTVnv3wNgK3GhXi8 XxbLlzQi8+CIOnwIBGbe/ykfmtc/bYGUODkcmVsm9IxTIIaH0odXgUnpmr6hWYQN M+mrcxnYhBIR4R4ZvdrUZEq+2j+4zGdN53c2tqjtQg+Nku46bol8xRzWUdFgdvNV nf6gwWU9UYJNA77bbUaVAkck3XHEzZkyGW18IBcZ4j7OYTYfOaA= =uR5Q -----END PGP SIGNATURE----- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-gpg-verify.4b87Jx2A/trustedkeys.kbx': General error gpgv: Signature made Sat Jul 28 04:06:37 2018 UTC gpgv: using RSA key C5B905F0E8D9FD9668FF366FA2DE235062DA33FA gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./vowpal-wabbit_8.6.1.dfsg1-1.dsc: no acceptable signature found dpkg-source: info: extracting vowpal-wabbit in /<> dpkg-source: info: unpacking vowpal-wabbit_8.6.1.dfsg1.orig.tar.gz dpkg-source: info: unpacking vowpal-wabbit_8.6.1.dfsg1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying deb_skip_42 Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=crossqa PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=crossqa SCHROOT_SESSION_ID=sid-amd64-sbuild-0336475d-7330-4766-a029-fc796ca2a03d SCHROOT_UID=1000 SCHROOT_USER=crossqa SHELL=/bin/sh USER=crossqa dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -aarmhf -Pcross,nocheck -us -uc -B -rfakeroot --jobs-try=1 dpkg-buildpackage: info: source package vowpal-wabbit dpkg-buildpackage: info: source version 8.6.1.dfsg1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Yaroslav Halchenko dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean make: Circular README.md <- README dependency dropped. fgrep -v "Status]" README.md \ | markdown \ | html2text -style pretty -nobs \ | sed -e 's:>:>:g' \ > README /bin/sh: 3: html2text: Exec format error dh debian/rules --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh clean --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' make[1]: Circular README.md <- README dependency dropped. dh debian/rules --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_clean dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 clean make[2]: Entering directory '/<>' cd vowpalwabbit && make clean make[3]: Entering directory '/<>/vowpalwabbit' rm -f *.o *.d vw active_interactor *~ vw.1 libvw.a liballreduce.a make[3]: Leaving directory '/<>/vowpalwabbit' cd cluster && make clean make[3]: Entering directory '/<>/cluster' rm -f *.o vw active_interactor *~ vw.1 make[3]: Leaving directory '/<>/cluster' cd library && make clean make[3]: Entering directory '/<>/library' rm -f *.o ezexample_predict ezexample_train library_example test_search recommend ezexample_predict_threaded make[3]: Leaving directory '/<>/library' cd python && make clean make[3]: Entering directory '/<>/python' rm -f *.o pylibvw.so make[3]: Leaving directory '/<>/python' cd java && make clean make[3]: Entering directory '/<>/java' rm -f target/libvw_jni.so rm -f src/main/c++/vowpalWabbit_learner_VWScalarsLearner.o src/main/c++/vowpalWabbit_learner_VWScalarLearner.o src/main/c++/vowpalWabbit_learner_VWProbLearner.o src/main/c++/vowpalWabbit_learner_VWMultilabelsLearner.o src/main/c++/vowpalWabbit_learner_VWMulticlassLearner.o src/main/c++/vowpalWabbit_learner_VWLearners.o src/main/c++/vowpalWabbit_learner_VWActionScoresLearner.o src/main/c++/vowpalWabbit_learner_VWActionProbsLearner.o src/main/c++/vowpalWabbit_VW.o src/main/c++/jni_base_learner.o make[3]: Leaving directory '/<>/java' cd reinforcement_learning/rlclientlib && make clean make[3]: Entering directory '/<>/reinforcement_learning/rlclientlib' rm -f *.o rm -f librlclient.a make[3]: Leaving directory '/<>/reinforcement_learning/rlclientlib' cd reinforcement_learning/unit_test; make clean make[3]: Entering directory '/<>/reinforcement_learning/unit_test' rm -f *.o rm -f rlclient-test.out make[3]: Leaving directory '/<>/reinforcement_learning/unit_test' cd reinforcement_learning/examples/basic_usage_cpp; make clean make[3]: Entering directory '/<>/reinforcement_learning/examples/basic_usage_cpp' rm -f *.o rm -f basic_usage_cpp.out make[3]: Leaving directory '/<>/reinforcement_learning/examples/basic_usage_cpp' cd reinforcement_learning/examples/rl_sim_cpp; make clean make[3]: Entering directory '/<>/reinforcement_learning/examples/rl_sim_cpp' rm -f *.o rm -f rl_sim_cpp.out make[3]: Leaving directory '/<>/reinforcement_learning/examples/rl_sim_cpp' make[2]: Leaving directory '/<>' rm -f README rm -f test/*.predict test/*.tmp depend vowpalwabbit/vw.1 : # And more garbage left with autoreconf rm -f vowpalwabbit/config.h vowpalwabbit/depend : # Remove generated makefiles rm -f Makefile library/Makefile cluster/Makefile vowpalwabbit/Makefile make[1]: Leaving directory '/<>' dh_autoreconf_clean -O--buildsystem=autoconf dh_clean -O--buildsystem=autoconf dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch make: Circular README.md <- README dependency dropped. fgrep -v "Status]" README.md \ | markdown \ | html2text -style pretty -nobs \ | sed -e 's:>:>:g' \ > README /bin/sh: 3: html2text: Exec format error dh debian/rules --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh build-arch --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a -O--buildsystem=autoconf dh_autoreconf -a -O--buildsystem=autoconf libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'acinclude.d'. libtoolize: copying file 'acinclude.d/libtool.m4' libtoolize: copying file 'acinclude.d/ltoptions.m4' libtoolize: copying file 'acinclude.d/ltsugar.m4' libtoolize: copying file 'acinclude.d/ltversion.m4' libtoolize: copying file 'acinclude.d/lt~obsolete.m4' configure.ac:12: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:12: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.ac:12: the top level configure.ac:15: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:15: You should run autoupdate. acinclude.d/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:15: the top level configure.ac:17: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:17: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:17: the top level configure.ac:24: warning: The macro `AC_LANG_C' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acinclude.d/ax_check_zlib.m4:63: AX_CHECK_ZLIB is expanded from... configure.ac:24: the top level configure.ac:38: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:38: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:38: the top level configure.ac:44: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:44: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:44: the top level configure.ac:49: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:49: the top level configure.ac:55: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:55: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:55: the top level configure.ac:61: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:61: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:61: the top level configure.ac:15: installing './compile' configure.ac:13: installing './config.guess' configure.ac:13: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' cluster/Makefile.am: installing './depcomp' debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' make[1]: Circular README.md <- README dependency dropped. dh debian/rules --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_configure -- \ ASFLAGS="" CFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" DFLAGS="-frelease" FCFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong" FFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong" GCJFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro" OBJCFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" \ --with-boost-libdir=/usr/lib/arm-linux-gnueabihf dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --host=arm-linux-gnueabihf ASFLAGS= "CFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" DFLAGS=-frelease "FCFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong" "FFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong" "GCJFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong" LDFLAGS=-Wl,-z,relro "OBJCFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" "OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security" --with-boost-libdir=/usr/lib/arm-linux-gnueabihf configure: loading site script /etc/dpkg-cross/cross-config.armhf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for arm-linux-gnueabihf-g++... arm-linux-gnueabihf-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether arm-linux-gnueabihf-g++ accepts -g... yes checking for arm-linux-gnueabihf-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of arm-linux-gnueabihf-g++... none checking how to run the C++ preprocessor... arm-linux-gnueabihf-g++ -E checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-gnueabihf checking how to print strings... printf checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc checking whether the compiler supports GNU C... yes checking whether arm-linux-gnueabihf-gcc accepts -g... yes checking for arm-linux-gnueabihf-gcc option to enable C11 features... none needed checking whether arm-linux-gnueabihf-gcc understands -c and -o together... yes checking dependency style of arm-linux-gnueabihf-gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by arm-linux-gnueabihf-gcc... /usr/arm-linux-gnueabihf/bin/ld checking if the linker (/usr/arm-linux-gnueabihf/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/arm-linux-gnueabihf-nm -B checking the name lister (/usr/bin/arm-linux-gnueabihf-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/arm-linux-gnueabihf/bin/ld option to reload object files... -r checking for arm-linux-gnueabihf-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for arm-linux-gnueabihf-objdump... arm-linux-gnueabihf-objdump checking how to recognize dependent libraries... pass_all checking for arm-linux-gnueabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-linux-gnueabihf-ar... arm-linux-gnueabihf-ar checking for archiver @FILE support... @ checking for arm-linux-gnueabihf-strip... (cached) arm-linux-gnueabihf-strip checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib checking command to parse /usr/bin/arm-linux-gnueabihf-nm -B output from arm-linux-gnueabihf-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for arm-linux-gnueabihf-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if arm-linux-gnueabihf-gcc supports -fno-rtti -fno-exceptions... no checking for arm-linux-gnueabihf-gcc option to produce PIC... -fPIC -DPIC checking if arm-linux-gnueabihf-gcc PIC flag -fPIC -DPIC works... yes checking if arm-linux-gnueabihf-gcc static flag -static works... yes checking if arm-linux-gnueabihf-gcc supports -c -o file.o... yes checking if arm-linux-gnueabihf-gcc supports -c -o file.o... (cached) yes checking whether the arm-linux-gnueabihf-gcc linker (/usr/arm-linux-gnueabihf/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... arm-linux-gnueabihf-g++ -E checking for ld used by arm-linux-gnueabihf-g++... /usr/arm-linux-gnueabihf/bin/ld checking if the linker (/usr/arm-linux-gnueabihf/bin/ld) is GNU ld... yes checking whether the arm-linux-gnueabihf-g++ linker (/usr/arm-linux-gnueabihf/bin/ld) supports shared libraries... yes checking for arm-linux-gnueabihf-g++ option to produce PIC... -fPIC -DPIC checking if arm-linux-gnueabihf-g++ PIC flag -fPIC -DPIC works... yes checking if arm-linux-gnueabihf-g++ static flag -static works... yes checking if arm-linux-gnueabihf-g++ supports -c -o file.o... yes checking if arm-linux-gnueabihf-g++ supports -c -o file.o... (cached) yes checking whether the arm-linux-gnueabihf-g++ linker (/usr/arm-linux-gnueabihf/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether arm-linux-gnueabihf-g++ supports C++11 features by default... yes checking for egrep... (cached) /usr/bin/grep -E checking for boostlib >= 1.0... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking if zlib is wanted... yes checking for pthread_join in LIBS=-lpthread with CFLAGS=... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating vowpalwabbit/Makefile config.status: creating cluster/Makefile config.status: creating library/Makefile config.status: creating libvw.pc config.status: creating libvw_c_wrapper.pc config.status: creating vowpalwabbit/config.h config.status: executing depfiles commands config.status: executing libtool commands make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' make[1]: Circular README.md <- README dependency dropped. dh debian/rules --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_build dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[2]: Entering directory '/<>' Making all in vowpalwabbit make[3]: Entering directory '/<>/vowpalwabbit' make all-am make[4]: Entering directory '/<>/vowpalwabbit' arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vw-main.o `test -f 'main.cc' || echo './'`main.cc In file included from example.h:19, from global_data.h:24, from parse_args.h:7, from main.cc:13: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser_helper.lo parser_helper.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parser_helper.cc -fPIC -DPIC -o .libs/parser_helper.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parser_helper.cc -o parser_helper.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o global_data.lo global_data.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c global_data.cc -fPIC -DPIC -o .libs/global_data.o In file included from example.h:19, from global_data.h:24, from global_data.cc:14: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.cc:9: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c global_data.cc -o global_data.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o io_buf.lo io_buf.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c io_buf.cc -fPIC -DPIC -o .libs/io_buf.o In file included from io_buf.h:14, from io_buf.cc:6: v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c io_buf.cc -o io_buf.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parse_regressor.lo parse_regressor.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_regressor.cc -fPIC -DPIC -o .libs/parse_regressor.o In file included from example.h:19, from global_data.h:24, from parse_regressor.cc:23: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/fstream:38, from parse_regressor.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_regressor.cc -o parse_regressor.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parse_primitives.lo parse_primitives.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_primitives.cc -fPIC -DPIC -o .libs/parse_primitives.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_primitives.cc -o parse_primitives.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unique_sort.lo unique_sort.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c unique_sort.cc -fPIC -DPIC -o .libs/unique_sort.o In file included from example.h:19, from unique_sort.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from v_array.h:8, from example.h:10: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c unique_sort.cc -o unique_sort.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cache.lo cache.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cache.cc -fPIC -DPIC -o .libs/cache.o In file included from example.h:19, from cache.h:9, from cache.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from v_array.h:8, from cache.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cache.cc -o cache.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o rand48.lo rand48.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c rand48.cc -fPIC -DPIC -o .libs/rand48.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c rand48.cc -o rand48.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o no_label.lo no_label.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c no_label.cc -fPIC -DPIC -o .libs/no_label.o In file included from example.h:19, from cache.h:9, from no_label.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from no_label.cc:3: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from cache.h:7: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c no_label.cc -o no_label.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o simple_label.lo simple_label.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c simple_label.cc -fPIC -DPIC -o .libs/simple_label.o In file included from example.h:19, from cache.h:9, from simple_label.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from simple_label.cc:3: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from cache.h:7: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c simple_label.cc -o simple_label.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o multiclass.lo multiclass.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c multiclass.cc -fPIC -DPIC -o .libs/multiclass.o In file included from example.h:19, from global_data.h:24, from multiclass.cc:3: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c multiclass.cc -o multiclass.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o oaa.lo oaa.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c oaa.cc -fPIC -DPIC -o .libs/oaa.o In file included from example.h:19, from reductions.h:11, from oaa.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/sstream:38, from oaa.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c oaa.cc -o oaa.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o multilabel_oaa.lo multilabel_oaa.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c multilabel_oaa.cc -fPIC -DPIC -o .libs/multilabel_oaa.o In file included from example.h:19, from reductions.h:11, from multilabel_oaa.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/sstream:38, from multilabel_oaa.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c multilabel_oaa.cc -o multilabel_oaa.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o boosting.lo boosting.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c boosting.cc -fPIC -DPIC -o .libs/boosting.o In file included from example.h:19, from reductions.h:11, from boosting.cc:22: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from boosting.cc:15: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c boosting.cc -o boosting.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ect.lo ect.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c ect.cc -fPIC -DPIC -o .libs/ect.o In file included from example.h:19, from reductions.h:11, from ect.cc:17: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from ect.cc:11: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = bool]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c ect.cc -o ect.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o marginal.lo marginal.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c marginal.cc -fPIC -DPIC -o .libs/marginal.o In file included from example.h:19, from reductions.h:11, from marginal.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_construct.h:61, from /usr/arm-linux-gnueabihf/include/c++/12/bits/alloc_traits.h:33, from /usr/arm-linux-gnueabihf/include/c++/12/ext/alloc_traits.h:34, from /usr/arm-linux-gnueabihf/include/c++/12/unordered_map:41, from marginal.cc:1: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/unordered_map:43: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = double&; _T2 = double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double]’: marginal.cc:291:68: required from here /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:741:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 741 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = float&; _T2 = float&; typename __strip_reference_wrapper::type>::__type = float; typename decay<_Tp2>::type = float; typename __strip_reference_wrapper::type>::__type = float; typename decay<_Tp>::type = float]’: marginal.cc:89:54: required from ‘void MARGINAL::make_marginal(data&, example&) [with bool is_learn = true]’ marginal.cc:200:26: required from ‘void MARGINAL::predict_or_learn(data&, LEARNER::single_learner&, example&) [with bool is_learn = true; LEARNER::single_learner = LEARNER::learner]’ marginal.cc:379:17: required from here /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:741:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 741 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ marginal.cc: In function ‘void MARGINAL::save_load(data&, io_buf&, bool, bool)’: marginal.cc:291:68: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 291 | sm.marginals.insert(make_pair(index << stride_shift,make_pair(numerator,denominator))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ marginal.cc: In function ‘void MARGINAL::make_marginal(data&, example&) [with bool is_learn = false]’: marginal.cc:89:54: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 89 | sm.marginals.insert(make_pair(key,make_pair(sm.initial_numerator, sm.initial_denominator))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marginal.cc: In function ‘void MARGINAL::save_load(data&, io_buf&, bool, bool)’: marginal.cc:291:68: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 291 | sm.marginals.insert(make_pair(index << stride_shift,make_pair(numerator,denominator))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ marginal.cc: In function ‘void MARGINAL::make_marginal(data&, example&) [with bool is_learn = false]’: marginal.cc:89:54: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 89 | sm.marginals.insert(make_pair(key,make_pair(sm.initial_numerator, sm.initial_denominator))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c marginal.cc -o marginal.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o autolink.lo autolink.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c autolink.cc -fPIC -DPIC -o .libs/autolink.o In file included from example.h:19, from reductions.h:11, from autolink.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c autolink.cc -o autolink.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o binary.lo binary.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c binary.cc -fPIC -DPIC -o .libs/binary.o In file included from example.h:19, from reductions.h:11, from binary.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c binary.cc -o binary.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lrq.lo lrq.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c lrq.cc -fPIC -DPIC -o .libs/lrq.o In file included from example.h:19, from reductions.h:11, from lrq.cc:3: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c lrq.cc -o lrq.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cost_sensitive.lo cost_sensitive.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cost_sensitive.cc -fPIC -DPIC -o .libs/cost_sensitive.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from cost_sensitive.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from parse_regressor.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cost_sensitive.cc -o cost_sensitive.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o multilabel.lo multilabel.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c multilabel.cc -fPIC -DPIC -o .libs/multilabel.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from multilabel.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from parse_regressor.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c multilabel.cc -o multilabel.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o label_dictionary.lo label_dictionary.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c label_dictionary.cc -fPIC -DPIC -o .libs/label_dictionary.o In file included from example.h:19, from reductions.h:11, from label_dictionary.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:27, from reductions.h:14: v_hashmap.h: In instantiation of ‘void v_hashmap::clear() [with K = unsigned int; V = features]’: label_dictionary.cc:109:12: required from here v_hashmap.h:94:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 94 | memset(dat.begin(), 0, base_size()*sizeof(hash_elem)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_hashmap.h: In instantiation of ‘void v_hashmap::double_size() [with K = unsigned int; V = features]’: v_hashmap.h:236:9: required from ‘void v_hashmap::put_after_get(const K&, uint64_t, const V&) [with K = unsigned int; V = features; uint64_t = long long unsigned int]’ label_dictionary.cc:94:20: required from here v_hashmap.h:157:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 157 | memset(dat.begin(), 0, base_size()*sizeof(hash_elem)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = v_hashmap::hash_elem; size_t = unsigned int]’: v_hashmap.h:149:15: required from ‘void v_hashmap::double_size() [with K = unsigned int; V = features]’ v_hashmap.h:236:9: required from ‘void v_hashmap::put_after_get(const K&, uint64_t, const V&) [with K = unsigned int; V = features; uint64_t = long long unsigned int]’ label_dictionary.cc:94:20: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c label_dictionary.cc -o label_dictionary.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o csoaa.lo csoaa.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c csoaa.cc -fPIC -DPIC -o .libs/csoaa.o In file included from example.h:19, from reductions.h:11, from csoaa.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = v_hashmap::hash_elem; size_t = unsigned int]’: v_hashmap.h:57:15: required from ‘void v_hashmap::init(size_t, const V&, bool (*)(const K&, const K&)) [with K = unsigned int; V = features; size_t = unsigned int]’ csoaa.cc:868:26: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from global_data.h:27, from reductions.h:14: v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c csoaa.cc -o csoaa.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cb.lo cb.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb.cc -fPIC -DPIC -o .libs/cb.o In file included from example.h:19, from cb.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from v_array.h:8, from example.h:10: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb.cc -o cb.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cb_adf.lo cb_adf.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_adf.cc -fPIC -DPIC -o .libs/cb_adf.o In file included from example.h:19, from reductions.h:11, from cb_adf.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_adf.cc -o cb_adf.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cb_algs.lo cb_algs.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_algs.cc -fPIC -DPIC -o .libs/cb_algs.o In file included from example.h:19, from global_data.h:24, from vw.h:15, from cb_algs.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_algs.cc -o cb_algs.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search.lo search.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search.cc -fPIC -DPIC -o .libs/search.o In file included from example.h:19, from global_data.h:24, from vw.h:15, from search.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from search.cc:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:27: v_hashmap.h: In instantiation of ‘void v_hashmap::clear() [with K = unsigned char*; V = Search::scored_action]’: search.cc:1254:28: required from here v_hashmap.h:94:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 94 | memset(dat.begin(), 0, base_size()*sizeof(hash_elem)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ search.cc: In instantiation of ‘void Search::push_at(v_array&, T, size_t) [with T = action_repr; size_t = unsigned int]’: search.cc:1530:18: required from here search.cc:934:13: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Search::action_repr’; use assignment instead [-Wclass-memaccess] 934 | memset(v.end(), 0, sizeof(T) * (pos - v.size())); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:98:8: note: ‘struct Search::action_repr’ declared here 98 | struct action_repr | ^~~~~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = Search::action_repr; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = Search::action_repr]’ search.cc:609:28: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Search::action_repr’; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:98:8: note: ‘struct Search::action_repr’ declared here 98 | struct action_repr | ^~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = Search::action_cache; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = Search::action_cache]’ search.cc:998:28: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Search::action_cache’; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:115:8: note: ‘struct Search::action_cache’ declared here 115 | struct action_cache | ^~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::pair; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = std::pair]’ search.cc:1074:40: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct std::pair’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:64: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::pair’ with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::pair; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::pair]’ search.cc:1087:35: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct std::pair’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::pair’ with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = example; size_t = unsigned int]’: search.cc:921:13: required from ‘void Search::ensure_size(v_array&, size_t) [with T = example; size_t = unsigned int]’ search.cc:1512:20: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct example’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:60:8: note: ‘struct example’ declared here 60 | struct example : public example_predict // core example datatype. | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = Search::scored_action; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = Search::scored_action]’ search.cc:1690:38: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct Search::scored_action’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:87:8: note: ‘struct Search::scored_action’ declared here 87 | struct scored_action | ^~~~~~~~~~~~~ v_hashmap.h: In instantiation of ‘void v_hashmap::double_size() [with K = unsigned char*; V = Search::scored_action]’: v_hashmap.h:236:9: required from ‘void v_hashmap::put_after_get(const K&, uint64_t, const V&) [with K = unsigned char*; V = Search::scored_action; uint64_t = long long unsigned int]’ v_hashmap.h:247:5: required from ‘void v_hashmap::put(const K&, uint64_t, const V&) [with K = unsigned char*; V = Search::scored_action; uint64_t = long long unsigned int]’ search.cc:1284:28: required from here v_hashmap.h:157:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 157 | memset(dat.begin(), 0, base_size()*sizeof(hash_elem)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = v_hashmap::hash_elem; size_t = unsigned int]’: v_hashmap.h:71:15: required from ‘void v_hashmap::init(size_t, bool (*)(const K&, const K&)) [with K = unsigned char*; V = Search::scored_action; size_t = unsigned int]’ v_hashmap.h:83:21: required from ‘v_hashmap::v_hashmap() [with K = unsigned char*; V = Search::scored_action]’ search.cc:2235:71: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct v_hashmap::hash_elem’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:17:10: note: ‘struct v_hashmap::hash_elem’ declared here 17 | struct hash_elem | ^~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search.cc -o search.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_meta.lo search_meta.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_meta.cc -fPIC -DPIC -o .libs/search_meta.o In file included from example.h:19, from reductions.h:11, from search_meta.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ search_meta.cc: In function ‘void SelectiveBranchingMT::run(Search::search&, multi_ex&)’: search_meta.cc:247:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 247 | if (d.kbest_out) delete d.kbest_out; d.kbest_out = nullptr; | ^~ search_meta.cc:247:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 247 | if (d.kbest_out) delete d.kbest_out; d.kbest_out = nullptr; | ^ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void push_many(v_array&, const T*, size_t) [with T = std::pair; size_t = unsigned int]’: search_meta.cc:124:25: required from here v_array.h:192:9: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 192 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:64, from /usr/arm-linux-gnueabihf/include/c++/12/string:50: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::pair > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::pair > >]’ search_meta.cc:108:19: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct std::pair > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair > >’ declared here 185 | struct pair | ^~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::pair > >’ with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair > >’ declared here 185 | struct pair | ^~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::pair > >, std::__cxx11::basic_string*>; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::pair > >, std::__cxx11::basic_string*>]’ search_meta.cc:109:16: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct std::pair > >, std::__cxx11::basic_string*>’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair > >, std::__cxx11::basic_string*>’ declared here 185 | struct pair | ^~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::pair > >, std::__cxx11::basic_string*>’ with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair > >, std::__cxx11::basic_string*>’ declared here 185 | struct pair | ^~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::pair; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::pair]’ search_meta.cc:110:21: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct std::pair’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::pair’ with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_meta.cc -o search_meta.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_sequencetask.lo search_sequencetask.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_sequencetask.cc -fPIC -DPIC -o .libs/search_sequencetask.o In file included from example.h:19, from global_data.h:24, from search.h:7, from search_sequencetask.h:7, from search_sequencetask.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_sequencetask.cc -o search_sequencetask.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_dep_parser.lo search_dep_parser.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_dep_parser.cc -fPIC -DPIC -o .libs/search_dep_parser.o In file included from example.h:19, from global_data.h:24, from search.h:7, from search_dep_parser.h:7, from search_dep_parser.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::pair; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::pair]’ search_dep_parser.cc:438:27: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct std::pair’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:64, from /usr/arm-linux-gnueabihf/include/c++/12/string:50: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::pair’ with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:185:12: note: ‘struct std::pair’ declared here 185 | struct pair | ^~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_dep_parser.cc -o search_dep_parser.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_hooktask.lo search_hooktask.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_hooktask.cc -fPIC -DPIC -o .libs/search_hooktask.o In file included from example.h:19, from global_data.h:24, from search.h:7, from search_hooktask.h:7, from search_hooktask.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_hooktask.cc -o search_hooktask.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_multiclasstask.lo search_multiclasstask.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_multiclasstask.cc -fPIC -DPIC -o .libs/search_multiclasstask.o In file included from example.h:19, from global_data.h:24, from search.h:7, from search_multiclasstask.h:7, from search_multiclasstask.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_multiclasstask.cc -o search_multiclasstask.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_entityrelationtask.lo search_entityrelationtask.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_entityrelationtask.cc -fPIC -DPIC -o .libs/search_entityrelationtask.o In file included from example.h:19, from global_data.h:24, from search.h:7, from search_entityrelationtask.h:7, from search_entityrelationtask.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_entityrelationtask.cc -o search_entityrelationtask.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o search_graph.lo search_graph.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_graph.cc -fPIC -DPIC -o .libs/search_graph.o In file included from example.h:19, from global_data.h:24, from search.h:7, from search_graph.h:7, from search_graph.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c search_graph.cc -o search_graph.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parse_example.lo parse_example.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_example.cc -fPIC -DPIC -o .libs/parse_example.o In file included from example.h:19, from parse_example.h:9, from parse_example.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from parse_example.cc:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from parse_primitives.h:10, from parse_example.h:8: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_example.cc -o parse_example.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o scorer.lo scorer.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c scorer.cc -fPIC -DPIC -o .libs/scorer.o In file included from example.h:19, from reductions.h:11, from scorer.cc:3: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from correctedMath.h:6, from scorer.cc:2: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c scorer.cc -o scorer.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o network.lo network.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c network.cc -fPIC -DPIC -o .libs/network.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c network.cc -o network.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parse_args.lo parse_args.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_args.cc -fPIC -DPIC -o .libs/parse_args.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from parse_args.cc:15: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/sstream:38, from parse_args.cc:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ parse_args.cc: In function ‘const char* VW::are_features_compatible(vw&, vw&)’: parse_args.cc:448:83: warning: expression does not compute the number of elements in this array; element type is ‘uint64_t’ {aka ‘long long unsigned int’}, not ‘uint32_t’ {aka ‘unsigned int’} [-Wsizeof-array-div] 448 | if (!equal(vw1.affix_features, vw1.affix_features + (sizeof(vw1.affix_features) / sizeof(uint32_t)), vw2.affix_features)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ parse_args.cc:448:85: note: add parentheses around ‘sizeof (uint32_t)’ to silence this warning 448 | if (!equal(vw1.affix_features, vw1.affix_features + (sizeof(vw1.affix_features) / sizeof(uint32_t)), vw2.affix_features)) | ^~~~~~~~~~~~~~~~ | ( ) In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:70, from /usr/include/boost/program_options/errors.hpp:14, from /usr/include/boost/program_options/options_description.hpp:12: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const dictionary_info&}; _Tp = dictionary_info; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ parse_args.cc: In function ‘void parse_dictionary_argument(vw&, std::string)’: parse_args.cc:210:30: warning: pointer used after ‘void free(void*)’ [-Wuse-after-free] 210 | VW::dealloc_example(all.p->lp.delete_label, *ec); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_args.cc:209:15: note: call to ‘void free(void*)’ here 209 | free(ec); | ~~~~^~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:64: In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = dictionary_info; _Alloc = std::allocator]’, inlined from ‘void parse_dictionary_argument(vw&, std::string)’ at parse_args.cc:269:36: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_args.cc -o parse_args.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o accumulate.lo accumulate.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c accumulate.cc -fPIC -DPIC -o .libs/accumulate.o In file included from example.h:19, from global_data.h:24, from accumulate.cc:15: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from accumulate.cc:11: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c accumulate.cc -o accumulate.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gd.lo gd.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c gd.cc -fPIC -DPIC -o .libs/gd.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from gd.cc:23: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from parse_regressor.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:64, from /usr/arm-linux-gnueabihf/include/c++/12/string:50: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = float&; _T2 = float&; typename __strip_reference_wrapper::type>::__type = float; typename decay<_Tp2>::type = float; typename __strip_reference_wrapper::type>::__type = float; typename decay<_Tp>::type = float]’: gd.cc:956:38: required from here /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_pair.h:741:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 741 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c gd.cc -o gd.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o learner.lo learner.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c learner.cc -fPIC -DPIC -o .libs/learner.o In file included from example.h:19, from parser.h:9, from learner.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from v_array.h:8, from io_buf.h:14, from parser.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c learner.cc -o learner.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mwt.lo mwt.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c mwt.cc -fPIC -DPIC -o .libs/mwt.o In file included from example.h:19, from global_data.h:24, from vw.h:15, from mwt.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c mwt.cc -o mwt.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lda_core.lo lda_core.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c lda_core.cc -fPIC -DPIC -o .libs/lda_core.o In file included from example.h:19, from global_data.h:24, from vw.h:15, from lda_core.cc:17: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/fstream:38, from lda_core.cc:9: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/queue:62, from lda_core.cc:11: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = index_feature; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/algorithm:61, from lda_core.cc:12: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_less_iter]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1782:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1782 | __unguarded_linear_insert(_RandomAccessIterator __last, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_val(lda&, dense_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:135:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 135 | __push_heap(_RandomAccessIterator __first, | ^~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(lda&, dense_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_val(lda&, sparse_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:135:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 135 | __push_heap(_RandomAccessIterator __first, | ^~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(lda&, sparse_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_val(vw*, int, int, std::vector&, dense_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:135:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 135 | __push_heap(_RandomAccessIterator __first, | ^~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(vw*, int, int, std::vector&, dense_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_val(vw*, int, int, std::vector&, sparse_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:135:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 135 | __push_heap(_RandomAccessIterator __first, | ^~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = feature; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(vw*, int, int, std::vector&, sparse_parameters&):: >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1802 | __insertion_sort(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h: In function ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1908 | __introsort_loop(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1922:32: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1922 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:70, from lda_core.cc:10: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const index_feature&}; _Tp = index_feature; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {feature_pair}; _Tp = feature_pair; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {feature_pair}; _Tp = feature_pair; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {word_doc_frequency}; _Tp = word_doc_frequency; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {word_doc_frequency}; _Tp = word_doc_frequency; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/map:60, from global_data.h:11: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_tree.h: In member function ‘std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = long long unsigned int; _Val = std::pair >; _KeyOfValue = std::_Select1st > >; _Compare = std::less; _Alloc = std::allocator > >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_tree.h:2209:5: note: parameter passing for argument of type ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’ changed in GCC 7.1 2209 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair > >}; _Key = long long unsigned int; _Val = std::pair >; _KeyOfValue = std::_Select1st > >; _Compare = std::less; _Alloc = std::allocator > >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’ changed in GCC 7.1 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = long long unsigned int; _Val = std::pair >; _KeyOfValue = std::_Select1st > >; _Compare = std::less; _Alloc = std::allocator > >]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’ changed in GCC 7.1 /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {feature}; _Tp = feature; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {feature}; _Tp = feature; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/map:61: In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair > >}; _Key = long long unsigned int; _Tp = std::vector; _Compare = std::less; _Alloc = std::allocator > >]’, inlined from ‘std::__enable_if_t, _Pair>::value, std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair >; _Key = long long unsigned int; _Tp = std::vector; _Compare = std::less; _Alloc = std::allocator > >]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_map.h:858:27, inlined from ‘void compute_coherence_metrics(lda&, T&) [with T = sparse_parameters]’ at lda_core.cc:1117:28: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_map.h:638:45: note: parameter passing for argument of type ‘std::map >::const_iterator’ {aka ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’} changed in GCC 7.1 638 | return _M_t._M_emplace_hint_unique(__pos, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 639 | std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = long long unsigned int; _Tp = std::vector; _Compare = std::less; _Alloc = std::allocator > >]’, inlined from ‘void compute_coherence_metrics(lda&, T&) [with T = sparse_parameters]’ at lda_core.cc:1163:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’ changed in GCC 7.1 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | std::tuple(__k), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | std::tuple<>()); | ~~~~~~~~~~~~~~~ In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair > >}; _Key = long long unsigned int; _Tp = std::vector; _Compare = std::less; _Alloc = std::allocator > >]’, inlined from ‘std::__enable_if_t, _Pair>::value, std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair >; _Key = long long unsigned int; _Tp = std::vector; _Compare = std::less; _Alloc = std::allocator > >]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_map.h:858:27, inlined from ‘void compute_coherence_metrics(lda&, T&) [with T = dense_parameters]’ at lda_core.cc:1117:28: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_map.h:638:45: note: parameter passing for argument of type ‘std::map >::const_iterator’ {aka ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’} changed in GCC 7.1 638 | return _M_t._M_emplace_hint_unique(__pos, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 639 | std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = long long unsigned int; _Tp = std::vector; _Compare = std::less; _Alloc = std::allocator > >]’, inlined from ‘void compute_coherence_metrics(lda&, T&) [with T = dense_parameters]’ at lda_core.cc:1163:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type ‘std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator’ changed in GCC 7.1 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | std::tuple(__k), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 513 | std::tuple<>()); | ~~~~~~~~~~~~~~~ In function ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’, inlined from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:4820:18, inlined from ‘void learn_batch(lda&)’ at lda_core.cc:856:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1937:32: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1937 | std::__introsort_loop(__first, __last, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 1938 | std::__lg(__last - __first) * 2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1939 | __comp); | ~~~~~~~ In function ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’, inlined from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1940:31, inlined from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:4820:18, inlined from ‘void learn_batch(lda&)’ at lda_core.cc:856:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1849:32: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algo.h:1854:30: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1854 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:64: In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = index_feature; _Alloc = std::allocator]’, inlined from ‘void learn(lda&, LEARNER::single_learner&, example&)’ at lda_core.cc:958:34: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c lda_core.cc -o lda_core.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gd_mf.lo gd_mf.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c gd_mf.cc -fPIC -DPIC -o .libs/gd_mf.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from gd_mf.cc:16: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/fstream:38, from gd_mf.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c gd_mf.cc -o gd_mf.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mf.lo mf.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c mf.cc -fPIC -DPIC -o .libs/mf.o In file included from example.h:19, from reductions.h:11, from mf.cc:11: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c mf.cc -o mf.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bfgs.lo bfgs.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c bfgs.cc -fPIC -DPIC -o .libs/bfgs.o In file included from example.h:19, from global_data.h:24, from accumulate.h:8, from bfgs.cc:19: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/fstream:38, from bfgs.cc:10: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ bfgs.cc: In function ‘int process_pass(vw&, bfgs&)’: bfgs.cc:667:12: warning: ‘int ftime(timeb*)’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 667 | ftime(&b.t_end_global); | ~~~~~^~~~~~~~~~~~~~~~~ In file included from bfgs.cc:18: /usr/arm-linux-gnueabihf/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ bfgs.cc:723:14: warning: ‘int ftime(timeb*)’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 723 | ftime(&b.t_end_global); | ~~~~~^~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ bfgs.cc:774:16: warning: ‘int ftime(timeb*)’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 774 | ftime(&b.t_end_global); | ~~~~~^~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ bfgs.cc:816:12: warning: ‘int ftime(timeb*)’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 816 | ftime(&b.t_end_global); | ~~~~~^~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ bfgs.cc:833:8: warning: ‘int ftime(timeb*)’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 833 | ftime(&b.t_end_global); | ~~~~~^~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ bfgs.cc: In function ‘void save_load(bfgs&, io_buf&, bool, bool)’: bfgs.cc:1041:10: warning: ‘int ftime(timeb*)’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 1041 | ftime(&b.t_start_global); | ~~~~~^~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c bfgs.cc -o bfgs.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o noop.lo noop.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c noop.cc -fPIC -DPIC -o .libs/noop.o In file included from example.h:19, from reductions.h:11, from noop.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c noop.cc -o noop.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o print.lo print.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c print.cc -fPIC -DPIC -o .libs/print.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from print.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from parse_regressor.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c print.cc -o print.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o example.lo example.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c example.cc -fPIC -DPIC -o .libs/example.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from example.cc:7: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from parse_regressor.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c example.cc -o example.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.lo parser.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parser.cc -fPIC -DPIC -o .libs/parser.o In file included from example.h:19, from parse_example.h:9, from parser.cc:48: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/fstream:38, from parser.cc:17: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from parse_primitives.h:10, from parse_example.h:8: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parser.cc:37: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parser.cc -o parser.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o loss_functions.lo loss_functions.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c loss_functions.cc -fPIC -DPIC -o .libs/loss_functions.o In file included from example.h:19, from global_data.h:24, from loss_functions.cc:13: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from loss_functions.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c loss_functions.cc -o loss_functions.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sender.lo sender.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c sender.cc -fPIC -DPIC -o .libs/sender.o In file included from example.h:19, from cache.h:9, from sender.cc:19: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/vector:60, from sender.cc:1: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from sender.cc:18: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c sender.cc -o sender.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nn.lo nn.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c nn.cc -fPIC -DPIC -o .libs/nn.o In file included from example.h:19, from reductions.h:11, from nn.cc:11: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from nn.cc:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ nn.cc: In function ‘void finish_setup(nn&, vw&)’: nn.cc:78:10: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct example’; use assignment or value-initialization instead [-Wclass-memaccess] 78 | memset (&n.output_layer, 0, sizeof (n.output_layer)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:60:8: note: ‘struct example’ declared here 60 | struct example : public example_predict // core example datatype. | ^~~~~~~ nn.cc:106:10: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct example’; use assignment or value-initialization instead [-Wclass-memaccess] 106 | memset (&n.hiddenbias, 0, sizeof (n.hiddenbias)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:60:8: note: ‘struct example’ declared here 60 | struct example : public example_predict // core example datatype. | ^~~~~~~ nn.cc:115:10: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct example’; use assignment or value-initialization instead [-Wclass-memaccess] 115 | memset (&n.outputweight, 0, sizeof (n.outputweight)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:60:8: note: ‘struct example’ declared here 60 | struct example : public example_predict // core example datatype. | ^~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c nn.cc -o nn.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o confidence.lo confidence.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c confidence.cc -fPIC -DPIC -o .libs/confidence.o In file included from example.h:19, from reductions.h:11, from confidence.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c confidence.cc -o confidence.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bs.lo bs.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c bs.cc -fPIC -DPIC -o .libs/bs.o In file included from example.h:19, from reductions.h:11, from bs.cc:13: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from bs.cc:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:70, from bs.cc:11: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]’, inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1294:21, inlined from ‘void predict_or_learn(bs&, LEARNER::single_learner&, example&) [with bool is_learn = true]’ at bs.cc:201:26: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]’, inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]’ at /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1294:21, inlined from ‘void predict_or_learn(bs&, LEARNER::single_learner&, example&) [with bool is_learn = false]’ at bs.cc:201:26: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c bs.cc -o bs.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cbify.lo cbify.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cbify.cc -fPIC -DPIC -o .libs/cbify.o In file included from example.h:19, from reductions.h:11, from cbify.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cbify.cc -o cbify.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o explore_eval.lo explore_eval.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c explore_eval.cc -fPIC -DPIC -o .libs/explore_eval.o In file included from example.h:19, from reductions.h:11, from explore_eval.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:70, from /usr/include/boost/program_options/errors.hpp:14: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long unsigned int&}; _Tp = long long unsigned int; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:64: In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long unsigned int; _Alloc = std::allocator]’, inlined from ‘void LEARNER::multiline_learn_or_predict(multi_learner&, multi_ex&, uint64_t, uint32_t) [with bool is_learn = false]’ at learner.h:445:30: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long unsigned int; _Alloc = std::allocator]’, inlined from ‘void LEARNER::multiline_learn_or_predict(multi_learner&, multi_ex&, uint64_t, uint32_t) [with bool is_learn = true]’ at learner.h:445:30: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c explore_eval.cc -o explore_eval.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o topk.lo topk.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c topk.cc -fPIC -DPIC -o .libs/topk.o In file included from example.h:19, from reductions.h:11, from topk.cc:10: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/sstream:38, from topk.cc:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c topk.cc -o topk.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o stagewise_poly.lo stagewise_poly.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c stagewise_poly.cc -fPIC -DPIC -o .libs/stagewise_poly.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from stagewise_poly.cc:4: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from parse_regressor.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c stagewise_poly.cc -o stagewise_poly.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_multi.lo log_multi.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c log_multi.cc -fPIC -DPIC -o .libs/log_multi.o In file included from example.h:19, from reductions.h:11, from log_multi.cc:11: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/bits/specfun.h:45, from /usr/arm-linux-gnueabihf/include/c++/12/cmath:1935, from /usr/arm-linux-gnueabihf/include/c++/12/math.h:36, from log_multi.cc:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = node_pred; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = node_pred]’ log_multi.cc:93:16: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class node_pred’; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_multi.cc:16:7: note: ‘class node_pred’ declared here 16 | class node_pred | ^~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c log_multi.cc -o log_multi.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o recall_tree.lo recall_tree.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c recall_tree.cc -fPIC -DPIC -o .libs/recall_tree.o In file included from example.h:19, from reductions.h:11, from recall_tree.cc:12: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/algorithm:60, from recall_tree.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = recall_tree_ns::node; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = recall_tree_ns::node]’ recall_tree.cc:94:23: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct recall_tree_ns::node’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recall_tree.cc:29:8: note: ‘struct recall_tree_ns::node’ declared here 29 | struct node | ^~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = recall_tree_ns::node_pred; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = recall_tree_ns::node_pred]’ recall_tree.cc:139:33: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct recall_tree_ns::node_pred’; use assignment instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recall_tree.cc:21:8: note: ‘struct recall_tree_ns::node_pred’ declared here 21 | struct node_pred | ^~~~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c recall_tree.cc -o recall_tree.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o active.lo active.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c active.cc -fPIC -DPIC -o .libs/active.o In file included from example.h:19, from reductions.h:11, from active.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c active.cc -o active.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o active_cover.lo active_cover.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c active_cover.cc -fPIC -DPIC -o .libs/active_cover.o In file included from example.h:19, from reductions.h:11, from active_cover.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c active_cover.cc -o active_cover.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cs_active.lo cs_active.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cs_active.cc -fPIC -DPIC -o .libs/cs_active.o In file included from example.h:19, from reductions.h:11, from cs_active.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = lq_data; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = lq_data]’ cs_active.cc:216:32: required from ‘void predict_or_learn(cs_active&, LEARNER::single_learner&, example&) [with bool is_learn = true; bool is_simulation = true; LEARNER::single_learner = LEARNER::learner]’ cs_active.cc:347:19: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct lq_data’ with no trivial copy-assignment [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cs_active.cc:16:8: note: ‘struct lq_data’ declared here 16 | struct lq_data | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cs_active.cc -o cs_active.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o kernel_svm.lo kernel_svm.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c kernel_svm.cc -fPIC -DPIC -o .libs/kernel_svm.o In file included from example.h:19, from parse_example.h:9, from kernel_svm.cc:18: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/fstream:38, from kernel_svm.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from parse_primitives.h:10, from parse_example.h:8: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from memory.h:5, from v_array.h:21: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c kernel_svm.cc -o kernel_svm.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o best_constant.lo best_constant.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c best_constant.cc -fPIC -DPIC -o .libs/best_constant.o In file included from example.h:19, from global_data.h:24, from vw.h:15, from best_constant.h:3, from best_constant.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c best_constant.cc -o best_constant.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ftrl.lo ftrl.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c ftrl.cc -fPIC -DPIC -o .libs/ftrl.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from ftrl.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from ftrl.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c ftrl.cc -o ftrl.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o svrg.lo svrg.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c svrg.cc -fPIC -DPIC -o .libs/svrg.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from svrg.cc:5: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from svrg.cc:3: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c svrg.cc -o svrg.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lrqfa.lo lrqfa.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c lrqfa.cc -fPIC -DPIC -o .libs/lrqfa.o In file included from example.h:19, from reductions.h:11, from lrqfa.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from lrqfa.cc:1: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c lrqfa.cc -o lrqfa.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o interact.lo interact.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c interact.cc -fPIC -DPIC -o .libs/interact.o In file included from example.h:19, from reductions.h:11, from interact.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/istream:38, from /usr/arm-linux-gnueabihf/include/c++/12/sstream:38, from interact.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c interact.cc -o interact.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o comp_io.lo comp_io.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c comp_io.cc -fPIC -DPIC -o .libs/comp_io.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c comp_io.cc -o comp_io.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o interactions.lo interactions.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c interactions.cc -fPIC -DPIC -o .libs/interactions.o In file included from example.h:19, from global_data.h:24, from interactions.h:3, from interactions.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c interactions.cc -o interactions.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vw_exception.lo vw_exception.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c vw_exception.cc -fPIC -DPIC -o .libs/vw_exception.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c vw_exception.cc -o vw_exception.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vw_validate.lo vw_validate.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c vw_validate.cc -fPIC -DPIC -o .libs/vw_validate.o In file included from example.h:19, from global_data.h:24, from vw_validate.cc:6: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c vw_validate.cc -o vw_validate.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o audit_regressor.lo audit_regressor.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c audit_regressor.cc -fPIC -DPIC -o .libs/audit_regressor.o In file included from example.h:19, from reductions.h:11, from audit_regressor.cc:7: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c audit_regressor.cc -o audit_regressor.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gen_cs_example.lo gen_cs_example.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c gen_cs_example.cc -fPIC -DPIC -o .libs/gen_cs_example.o In file included from example.h:19, from global_data.h:24, from vw.h:15, from gen_cs_example.cc:8: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from global_data.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from global_data.h:16: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c gen_cs_example.cc -o gen_cs_example.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cb_explore.lo cb_explore.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_explore.cc -fPIC -DPIC -o .libs/cb_explore.o In file included from example.h:19, from reductions.h:11, from cb_explore.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_explore.cc -o cb_explore.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o action_score.lo action_score.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c action_score.cc -fPIC -DPIC -o .libs/action_score.o In file included from action_score.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from v_array.h:8, from action_score.cc:1: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c action_score.cc -o action_score.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cb_explore_adf.lo cb_explore_adf.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_explore_adf.cc -fPIC -DPIC -o .libs/cb_explore_adf.o In file included from example.h:19, from reductions.h:11, from cb_explore_adf.cc:1: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:70, from /usr/include/boost/program_options/errors.hpp:14: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long unsigned int&}; _Tp = long long unsigned int; _Alloc = std::allocator]’: /usr/arm-linux-gnueabihf/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/vector:64: In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long unsigned int; _Alloc = std::allocator]’, inlined from ‘void LEARNER::multiline_learn_or_predict(multi_learner&, multi_ex&, uint64_t, uint32_t) [with bool is_learn = false]’ at learner.h:445:30: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long unsigned int; _Alloc = std::allocator]’, inlined from ‘void LEARNER::multiline_learn_or_predict(multi_learner&, multi_ex&, uint64_t, uint32_t) [with bool is_learn = true]’ at learner.h:445:30: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c cb_explore_adf.cc -o cb_explore_adf.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o OjaNewton.lo OjaNewton.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c OjaNewton.cc -fPIC -DPIC -o .libs/OjaNewton.o In file included from example.h:19, from global_data.h:24, from parse_regressor.h:9, from gd.h:11, from OjaNewton.cc:7: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from OjaNewton.cc:6: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from global_data.h:19: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from parse_regressor.h:8: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c OjaNewton.cc -o OjaNewton.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o parse_example_json.lo parse_example_json.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_example_json.cc -fPIC -DPIC -o .libs/parse_example_json.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c parse_example_json.cc -o parse_example_json.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o baseline.lo baseline.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c baseline.cc -fPIC -DPIC -o .libs/baseline.o In file included from example.h:19, from reductions.h:11, from baseline.cc:9: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = unsigned char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c baseline.cc -o baseline.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o classweight.lo classweight.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c classweight.cc -fPIC -DPIC -o .libs/classweight.o In file included from example.h:19, from reductions.h:11, from classweight.cc:2: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_construct.h:61, from /usr/arm-linux-gnueabihf/include/c++/12/bits/alloc_traits.h:33, from /usr/arm-linux-gnueabihf/include/c++/12/ext/alloc_traits.h:34, from /usr/arm-linux-gnueabihf/include/c++/12/unordered_map:41, from classweight.cc:1: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from reductions.h:10: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:22, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from reductions.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c classweight.cc -o classweight.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o allreduce_sockets.lo allreduce_sockets.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c allreduce_sockets.cc -fPIC -DPIC -o .libs/allreduce_sockets.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c allreduce_sockets.cc -o allreduce_sockets.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o allreduce_threads.lo allreduce_threads.cc libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c allreduce_threads.cc -fPIC -DPIC -o .libs/allreduce_threads.o libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c allreduce_threads.cc -o allreduce_threads.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o liballreduce.la -rpath /usr/lib/arm-linux-gnueabihf allreduce_sockets.lo allreduce_threads.lo vw_exception.lo -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread libtool: link: arm-linux-gnueabihf-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib/crti.o /usr/lib/gcc-cross/arm-linux-gnueabihf/12/crtbeginS.o .libs/allreduce_sockets.o .libs/allreduce_threads.o .libs/vw_exception.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -L/usr/lib/gcc-cross/arm-linux-gnueabihf/12 -L/usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib -L/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-cross/arm-linux-gnueabihf/12/crtendS.o /usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib/crtn.o -O3 -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,liballreduce.so.0 -o .libs/liballreduce.so.0.0.0 libtool: link: (cd ".libs" && rm -f "liballreduce.so.0" && ln -s "liballreduce.so.0.0.0" "liballreduce.so.0") libtool: link: (cd ".libs" && rm -f "liballreduce.so" && ln -s "liballreduce.so.0.0.0" "liballreduce.so") libtool: link: arm-linux-gnueabihf-ar cr .libs/liballreduce.a allreduce_sockets.o allreduce_threads.o vw_exception.o libtool: link: arm-linux-gnueabihf-ranlib .libs/liballreduce.a libtool: link: ( cd ".libs" && rm -f "liballreduce.la" && ln -s "../liballreduce.la" "liballreduce.la" ) /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o libvw.la -rpath /usr/lib/arm-linux-gnueabihf parser_helper.lo global_data.lo io_buf.lo parse_regressor.lo parse_primitives.lo unique_sort.lo cache.lo rand48.lo no_label.lo simple_label.lo multiclass.lo oaa.lo multilabel_oaa.lo boosting.lo ect.lo marginal.lo autolink.lo binary.lo lrq.lo cost_sensitive.lo multilabel.lo label_dictionary.lo csoaa.lo cb.lo cb_adf.lo cb_algs.lo search.lo search_meta.lo search_sequencetask.lo search_dep_parser.lo search_hooktask.lo search_multiclasstask.lo search_entityrelationtask.lo search_graph.lo parse_example.lo scorer.lo network.lo parse_args.lo accumulate.lo gd.lo learner.lo mwt.lo lda_core.lo gd_mf.lo mf.lo bfgs.lo noop.lo print.lo example.lo parser.lo loss_functions.lo sender.lo nn.lo confidence.lo bs.lo cbify.lo explore_eval.lo topk.lo stagewise_poly.lo log_multi.lo recall_tree.lo active.lo active_cover.lo cs_active.lo kernel_svm.lo best_constant.lo ftrl.lo svrg.lo lrqfa.lo interact.lo comp_io.lo interactions.lo vw_exception.lo vw_validate.lo audit_regressor.lo gen_cs_example.lo cb_explore.lo action_score.lo cb_explore_adf.lo OjaNewton.lo parse_example_json.lo baseline.lo classweight.lo liballreduce.la -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread libtool: link: arm-linux-gnueabihf-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib/crti.o /usr/lib/gcc-cross/arm-linux-gnueabihf/12/crtbeginS.o .libs/parser_helper.o .libs/global_data.o .libs/io_buf.o .libs/parse_regressor.o .libs/parse_primitives.o .libs/unique_sort.o .libs/cache.o .libs/rand48.o .libs/no_label.o .libs/simple_label.o .libs/multiclass.o .libs/oaa.o .libs/multilabel_oaa.o .libs/boosting.o .libs/ect.o .libs/marginal.o .libs/autolink.o .libs/binary.o .libs/lrq.o .libs/cost_sensitive.o .libs/multilabel.o .libs/label_dictionary.o .libs/csoaa.o .libs/cb.o .libs/cb_adf.o .libs/cb_algs.o .libs/search.o .libs/search_meta.o .libs/search_sequencetask.o .libs/search_dep_parser.o .libs/search_hooktask.o .libs/search_multiclasstask.o .libs/search_entityrelationtask.o .libs/search_graph.o .libs/parse_example.o .libs/scorer.o .libs/network.o .libs/parse_args.o .libs/accumulate.o .libs/gd.o .libs/learner.o .libs/mwt.o .libs/lda_core.o .libs/gd_mf.o .libs/mf.o .libs/bfgs.o .libs/noop.o .libs/print.o .libs/example.o .libs/parser.o .libs/loss_functions.o .libs/sender.o .libs/nn.o .libs/confidence.o .libs/bs.o .libs/cbify.o .libs/explore_eval.o .libs/topk.o .libs/stagewise_poly.o .libs/log_multi.o .libs/recall_tree.o .libs/active.o .libs/active_cover.o .libs/cs_active.o .libs/kernel_svm.o .libs/best_constant.o .libs/ftrl.o .libs/svrg.o .libs/lrqfa.o .libs/interact.o .libs/comp_io.o .libs/interactions.o .libs/vw_exception.o .libs/vw_validate.o .libs/audit_regressor.o .libs/gen_cs_example.o .libs/cb_explore.o .libs/action_score.o .libs/cb_explore_adf.o .libs/OjaNewton.o .libs/parse_example_json.o .libs/baseline.o .libs/classweight.o -Wl,-rpath -Wl,/<>/vowpalwabbit/.libs ./.libs/liballreduce.so -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -L/usr/lib/gcc-cross/arm-linux-gnueabihf/12 -L/usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib -L/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-cross/arm-linux-gnueabihf/12/crtendS.o /usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib/crtn.o -O3 -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,libvw.so.0 -o .libs/libvw.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libvw.so.0" && ln -s "libvw.so.0.0.0" "libvw.so.0") libtool: link: (cd ".libs" && rm -f "libvw.so" && ln -s "libvw.so.0.0.0" "libvw.so") libtool: link: arm-linux-gnueabihf-ar cr .libs/libvw.a parser_helper.o global_data.o io_buf.o parse_regressor.o parse_primitives.o unique_sort.o cache.o rand48.o no_label.o simple_label.o multiclass.o oaa.o multilabel_oaa.o boosting.o ect.o marginal.o autolink.o binary.o lrq.o cost_sensitive.o multilabel.o label_dictionary.o csoaa.o cb.o cb_adf.o cb_algs.o search.o search_meta.o search_sequencetask.o search_dep_parser.o search_hooktask.o search_multiclasstask.o search_entityrelationtask.o search_graph.o parse_example.o scorer.o network.o parse_args.o accumulate.o gd.o learner.o mwt.o lda_core.o gd_mf.o mf.o bfgs.o noop.o print.o example.o parser.o loss_functions.o sender.o nn.o confidence.o bs.o cbify.o explore_eval.o topk.o stagewise_poly.o log_multi.o recall_tree.o active.o active_cover.o cs_active.o kernel_svm.o best_constant.o ftrl.o svrg.o lrqfa.o interact.o comp_io.o interactions.o vw_exception.o vw_validate.o audit_regressor.o gen_cs_example.o cb_explore.o action_score.o cb_explore_adf.o OjaNewton.o parse_example_json.o baseline.o classweight.o libtool: link: arm-linux-gnueabihf-ranlib .libs/libvw.a libtool: link: ( cd ".libs" && rm -f "libvw.la" && ln -s "../libvw.la" "libvw.la" ) /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o vw vw-main.o libvw.la liballreduce.la -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread libtool: link: arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/vw vw-main.o ./.libs/libvw.so ./.libs/liballreduce.so -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o active_interactor.o active_interactor.cc /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o active_interactor active_interactor.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread libtool: link: arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o active_interactor active_interactor.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vwdll.lo vwdll.cpp libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c vwdll.cpp -fPIC -DPIC -o .libs/vwdll.o In file included from example.h:19, from parser.h:9, from vwdll.cpp:7: action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_algobase.h:65, from /usr/arm-linux-gnueabihf/include/c++/12/memory:63, from vwdll.cpp:1: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from io_buf.h:14, from parser.h:7: v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = unsigned int]’: v_array.h:76:7: required from ‘void v_array::clear() [with T = std::shared_ptr, std::__cxx11::basic_string > >]’ feature_group.h:278:22: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class std::shared_ptr, std::__cxx11::basic_string > >’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/memory:77: /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class std::shared_ptr, std::__cxx11::basic_string > >’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/arm-linux-gnueabihf/include/c++/12/bits/shared_ptr.h:175:11: note: ‘class std::shared_ptr, std::__cxx11::basic_string > >’ declared here 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature_slice; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature_slice]’ feature_group.h:322:24: required from here v_array.h:61:29: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct feature_slice’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess] 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:18: feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct feature_slice’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:32:8: note: ‘struct feature_slice’ declared here 32 | struct feature_slice //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of ‘void v_array::resize(size_t) [with T = feature; size_t = unsigned int]’: v_array.h:93:7: required from ‘void v_array::push_back(const T&) [with T = feature]’ feature_group.h:336:24: required from here v_array.h:68:15: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct feature’; use assignment or value-initialization instead [-Wclass-memaccess] 68 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:25:8: note: ‘struct feature’ declared here 25 | struct feature //sparse feature definition for the library interface | ^~~~~~~ v_array.h: In member function ‘void v_array::resize(size_t) [with T = char]’: v_array.h:60:28: warning: pointer may be used after ‘void* realloc(void*, size_t)’ [-Wuse-after-free] 60 | { size_t old_len = _end-_begin; | ~~~~^~~~~~~ v_array.h:61:29: note: call to ‘void* realloc(void*, size_t)’ here 61 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c vwdll.cpp -o vwdll.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -Wall -Wno-unused-local-typedefs -pedantic -I ../rapidjson/include -I ../explore -O3 -fomit-frame-pointer -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o libvw_c_wrapper.la -rpath /usr/lib/arm-linux-gnueabihf vwdll.lo libvw.la -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread libtool: link: arm-linux-gnueabihf-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib/crti.o /usr/lib/gcc-cross/arm-linux-gnueabihf/12/crtbeginS.o .libs/vwdll.o -Wl,-rpath -Wl,/<>/vowpalwabbit/.libs ./.libs/libvw.so -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -L/usr/lib/gcc-cross/arm-linux-gnueabihf/12 -L/usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib -L/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc-cross/arm-linux-gnueabihf/12/crtendS.o /usr/lib/gcc-cross/arm-linux-gnueabihf/12/../../../../arm-linux-gnueabihf/lib/crtn.o -O3 -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,libvw_c_wrapper.so.0 -o .libs/libvw_c_wrapper.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libvw_c_wrapper.so.0" && ln -s "libvw_c_wrapper.so.0.0.0" "libvw_c_wrapper.so.0") libtool: link: (cd ".libs" && rm -f "libvw_c_wrapper.so" && ln -s "libvw_c_wrapper.so.0.0.0" "libvw_c_wrapper.so") libtool: link: arm-linux-gnueabihf-ar cr .libs/libvw_c_wrapper.a vwdll.o libtool: link: arm-linux-gnueabihf-ranlib .libs/libvw_c_wrapper.a libtool: link: ( cd ".libs" && rm -f "libvw_c_wrapper.la" && ln -s "../libvw_c_wrapper.la" "libvw_c_wrapper.la" ) make[4]: Leaving directory '/<>/vowpalwabbit' make[3]: Leaving directory '/<>/vowpalwabbit' Making all in cluster make[3]: Entering directory '/<>/cluster' arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../vowpalwabbit -I../vowpalwabbit -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spanning_tree_main.o spanning_tree_main.cc arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../vowpalwabbit -I../vowpalwabbit -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ../vowpalwabbit/spanning_tree.o ../vowpalwabbit/spanning_tree.cc arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../vowpalwabbit -I../vowpalwabbit -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ../vowpalwabbit/vw_exception.o ../vowpalwabbit/vw_exception.cc /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -Wl,-z,relro -o spanning_tree spanning_tree_main.o ../vowpalwabbit/spanning_tree.o ../vowpalwabbit/vw_exception.o ../vowpalwabbit/liballreduce.la libtool: link: arm-linux-gnueabihf-g++ -I/include -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/spanning_tree spanning_tree_main.o ../vowpalwabbit/spanning_tree.o ../vowpalwabbit/vw_exception.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread ../vowpalwabbit/.libs/liballreduce.so make[3]: Leaving directory '/<>/cluster' Making all in library make[3]: Entering directory '/<>/library' arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../vowpalwabbit -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o library_example.o library_example.cc In file included from ../vowpalwabbit/example.h:19, from ../vowpalwabbit/parser.h:9, from library_example.cc:2: ../vowpalwabbit/action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from ../vowpalwabbit/v_array.h:8, from ../vowpalwabbit/io_buf.h:14, from ../vowpalwabbit/parser.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -Wl,-z,relro -o library_example library_example.o ../vowpalwabbit/libvw.la ../vowpalwabbit/liballreduce.la libtool: link: arm-linux-gnueabihf-g++ -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/library_example library_example.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread ../vowpalwabbit/.libs/libvw.so ../vowpalwabbit/.libs/liballreduce.so arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../vowpalwabbit -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ezexample_train.o ezexample_train.cc In file included from ../vowpalwabbit/example.h:19, from ../vowpalwabbit/parser.h:9, from ezexample_train.cc:2: ../vowpalwabbit/action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from ../vowpalwabbit/v_array.h:8, from ../vowpalwabbit/io_buf.h:14, from ../vowpalwabbit/parser.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -Wl,-z,relro -o ezexample_train ezexample_train.o ../vowpalwabbit/libvw.la ../vowpalwabbit/liballreduce.la libtool: link: arm-linux-gnueabihf-g++ -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ezexample_train ezexample_train.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread ../vowpalwabbit/.libs/libvw.so ../vowpalwabbit/.libs/liballreduce.so arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../vowpalwabbit -Wdate-time -D_FORTIFY_SOURCE=2 -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ezexample_predict.o ezexample_predict.cc In file included from ../vowpalwabbit/example.h:19, from ../vowpalwabbit/parser.h:9, from ezexample_predict.cc:2: ../vowpalwabbit/action_score.h:13:23: warning: ‘template struct std::iterator’ is deprecated [-Wdeprecated-declarations] 13 | public virtual std::iterator< | ^~~~~~~~ In file included from /usr/arm-linux-gnueabihf/include/c++/12/string:45, from /usr/arm-linux-gnueabihf/include/c++/12/bits/locale_classes.h:40, from /usr/arm-linux-gnueabihf/include/c++/12/bits/ios_base.h:41, from /usr/arm-linux-gnueabihf/include/c++/12/ios:42, from /usr/arm-linux-gnueabihf/include/c++/12/ostream:38, from /usr/arm-linux-gnueabihf/include/c++/12/iostream:39, from ../vowpalwabbit/v_array.h:8, from ../vowpalwabbit/io_buf.h:14, from ../vowpalwabbit/parser.h:7: /usr/arm-linux-gnueabihf/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /bin/bash ../libtool --tag=CXX --mode=link arm-linux-gnueabihf-g++ -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread -Wl,-z,relro -o ezexample_predict ezexample_predict.o ../vowpalwabbit/libvw.la ../vowpalwabbit/liballreduce.la libtool: link: arm-linux-gnueabihf-g++ -I/include -I ../rapidjson/include -I ../explore -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ezexample_predict ezexample_predict.o -L/usr/lib/arm-linux-gnueabihf -lboost_program_options -L/lib -lz -lpthread ../vowpalwabbit/.libs/libvw.so ../vowpalwabbit/.libs/liballreduce.so make[3]: Leaving directory '/<>/library' make[3]: Entering directory '/<>' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' debian/rules vowpalwabbit/vw.1 make[2]: Entering directory '/<>' make[2]: Circular README.md <- README dependency dropped. dh debian/rules --buildsystem=autoconf --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) help2man --no-info --name="Vowpal Wabbit -- fast online learning tool" ./vowpalwabbit/vw > vowpalwabbit/vw.1 help2man: can't get `--help' info from ./vowpalwabbit/vw Try `--no-discard-stderr' if option outputs to stderr make[2]: *** [debian/rules:24: vowpalwabbit/vw.1] Error 126 make[2]: Leaving directory '/<>' make[1]: *** [debian/rules:33: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:14: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2022-12-03T14:28:58Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: 481240 Build-Time: 685 Distribution: unstable Fail-Stage: build Foreign Architectures: armhf Host Architecture: armhf Install-Time: 16 Job: vowpal-wabbit_8.6.1.dfsg1-1 Machine Architecture: amd64 Package: vowpal-wabbit Package-Time: 713 Source-Version: 8.6.1.dfsg1-1 Space: 481240 Status: attempted Version: 8.6.1.dfsg1-1 -------------------------------------------------------------------------------- Finished at 2022-12-03T14:28:58Z Build needed 00:11:53, 481240k disk space