=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-bulktest/math/vowpal_wabbit", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for vowpal_wabbit-8.2.0nb23 Making all in vowpalwabbit gmake[1]: Entering directory '/tmp/work/math/vowpal_wabbit/work/vowpal_wabbit-8.2.0/vowpalwabbit' /opt/pkg/bin/gmake all-am gmake[2]: Entering directory '/tmp/work/math/vowpal_wabbit/work/vowpal_wabbit-8.2.0/vowpalwabbit' g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT vw-main.o -MD -MP -MF .deps/vw-main.Tpo -c -o vw-main.o `test -f 'main.cc' || echo './'`main.cc depbase=`echo hash.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT hash.lo -MD -MP -MF $depbase.Tpo -c -o hash.lo hash.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo global_data.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT global_data.lo -MD -MP -MF $depbase.Tpo -c -o global_data.lo global_data.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo io_buf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT io_buf.lo -MD -MP -MF $depbase.Tpo -c -o io_buf.lo io_buf.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo parse_regressor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT parse_regressor.lo -MD -MP -MF $depbase.Tpo -c -o parse_regressor.lo parse_regressor.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo parse_primitives.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT parse_primitives.lo -MD -MP -MF $depbase.Tpo -c -o parse_primitives.lo parse_primitives.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo unique_sort.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT unique_sort.lo -MD -MP -MF $depbase.Tpo -c -o unique_sort.lo unique_sort.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_primitives.lo -MD -MP -MF .deps/parse_primitives.Tpo -c parse_primitives.cc -fPIC -DPIC -o .libs/parse_primitives.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c hash.cc -fPIC -DPIC -o .libs/hash.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT io_buf.lo -MD -MP -MF .deps/io_buf.Tpo -c io_buf.cc -fPIC -DPIC -o .libs/io_buf.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_regressor.lo -MD -MP -MF .deps/parse_regressor.Tpo -c parse_regressor.cc -fPIC -DPIC -o .libs/parse_regressor.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c global_data.cc -fPIC -DPIC -o .libs/global_data.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT unique_sort.lo -MD -MP -MF .deps/unique_sort.Tpo -c unique_sort.cc -fPIC -DPIC -o .libs/unique_sort.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c hash.cc -o hash.o >/dev/null 2>&1 depbase=`echo cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT cache.lo -MD -MP -MF $depbase.Tpo -c -o cache.lo cache.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.cc -fPIC -DPIC -o .libs/cache.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT io_buf.lo -MD -MP -MF .deps/io_buf.Tpo -c io_buf.cc -o io_buf.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_primitives.lo -MD -MP -MF .deps/parse_primitives.Tpo -c parse_primitives.cc -o parse_primitives.o >/dev/null 2>&1 depbase=`echo rand48.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT rand48.lo -MD -MP -MF $depbase.Tpo -c -o rand48.lo rand48.cc &&\ mv -f $depbase.Tpo $depbase.Plo parse_regressor.cc: In function 'void initialize_regressor(vw&)': parse_regressor.cc:39:27: warning: catching polymorphic type 'class VW::vw_exception' by value [-Wcatch-value=] 39 | catch (VW::vw_exception anExc) | ^~~~~ In file included from global_data.h:17, from parse_args.h:7, from main.cc:13: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT rand48.lo -MD -MP -MF .deps/rand48.Tpo -c rand48.cc -fPIC -DPIC -o .libs/rand48.o In file included from example.h:8, from unique_sort.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT rand48.lo -MD -MP -MF .deps/rand48.Tpo -c rand48.cc -o rand48.o >/dev/null 2>&1 In file included from global_data.h:17, from global_data.cc:14: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from global_data.h:17, from parse_regressor.cc:23: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo simple_label.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT simple_label.lo -MD -MP -MF $depbase.Tpo -c -o simple_label.lo simple_label.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from cache.h:7, from cache.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15, from cache.h:9: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT simple_label.lo -MD -MP -MF .deps/simple_label.Tpo -c simple_label.cc -fPIC -DPIC -o .libs/simple_label.o mv -f .deps/vw-main.Tpo .deps/vw-main.Po depbase=`echo multiclass.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT multiclass.lo -MD -MP -MF $depbase.Tpo -c -o multiclass.lo multiclass.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo oaa.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT oaa.lo -MD -MP -MF $depbase.Tpo -c -o oaa.lo oaa.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT unique_sort.lo -MD -MP -MF .deps/unique_sort.Tpo -c unique_sort.cc -o unique_sort.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT oaa.lo -MD -MP -MF .deps/oaa.Tpo -c oaa.cc -fPIC -DPIC -o .libs/oaa.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT multiclass.lo -MD -MP -MF .deps/multiclass.Tpo -c multiclass.cc -fPIC -DPIC -o .libs/multiclass.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.cc -o cache.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT global_data.lo -MD -MP -MF .deps/global_data.Tpo -c global_data.cc -o global_data.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from oaa.cc:9: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_regressor.lo -MD -MP -MF .deps/parse_regressor.Tpo -c parse_regressor.cc -o parse_regressor.o >/dev/null 2>&1 In file included from cache.h:7, from simple_label.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15, from cache.h:9: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo multilabel_oaa.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT multilabel_oaa.lo -MD -MP -MF $depbase.Tpo -c -o multilabel_oaa.lo multilabel_oaa.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from global_data.h:17, from multiclass.cc:3: v_array.h: In instantiation of 'void v_array::resize(std::size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; std::size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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(std::size_t) [with T = feature_slice; std::size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, std::size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; std::size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT multilabel_oaa.lo -MD -MP -MF .deps/multilabel_oaa.Tpo -c multilabel_oaa.cc -fPIC -DPIC -o .libs/multilabel_oaa.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT simple_label.lo -MD -MP -MF .deps/simple_label.Tpo -c simple_label.cc -o simple_label.o >/dev/null 2>&1 depbase=`echo boosting.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT boosting.lo -MD -MP -MF $depbase.Tpo -c -o boosting.lo boosting.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT boosting.lo -MD -MP -MF .deps/boosting.Tpo -c boosting.cc -fPIC -DPIC -o .libs/boosting.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT multiclass.lo -MD -MP -MF .deps/multiclass.Tpo -c multiclass.cc -o multiclass.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from multilabel_oaa.cc:8: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT oaa.lo -MD -MP -MF .deps/oaa.Tpo -c oaa.cc -o oaa.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from boosting.cc:22: v_array.h: In instantiation of 'void v_array::resize(std::size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; std::size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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(std::size_t) [with T = feature_slice; std::size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, std::size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; std::size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo ect.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT ect.lo -MD -MP -MF $depbase.Tpo -c -o ect.lo ect.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT ect.lo -MD -MP -MF .deps/ect.Tpo -c ect.cc -fPIC -DPIC -o .libs/ect.o depbase=`echo autolink.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT autolink.lo -MD -MP -MF $depbase.Tpo -c -o autolink.lo autolink.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT autolink.lo -MD -MP -MF .deps/autolink.Tpo -c autolink.cc -fPIC -DPIC -o .libs/autolink.o depbase=`echo binary.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT binary.lo -MD -MP -MF $depbase.Tpo -c -o binary.lo binary.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT binary.lo -MD -MP -MF .deps/binary.Tpo -c binary.cc -fPIC -DPIC -o .libs/binary.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT multilabel_oaa.lo -MD -MP -MF .deps/multilabel_oaa.Tpo -c multilabel_oaa.cc -o multilabel_oaa.o >/dev/null 2>&1 depbase=`echo lrq.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT lrq.lo -MD -MP -MF $depbase.Tpo -c -o lrq.lo lrq.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT lrq.lo -MD -MP -MF .deps/lrq.Tpo -c lrq.cc -fPIC -DPIC -o .libs/lrq.o In file included from io_buf.h:14, from reductions.h:10, from ect.cc:17: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10, from binary.cc:2: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT boosting.lo -MD -MP -MF .deps/boosting.Tpo -c boosting.cc -o boosting.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from autolink.cc:1: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT binary.lo -MD -MP -MF .deps/binary.Tpo -c binary.cc -o binary.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from lrq.cc:3: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo cost_sensitive.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT cost_sensitive.lo -MD -MP -MF $depbase.Tpo -c -o cost_sensitive.lo cost_sensitive.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cost_sensitive.lo -MD -MP -MF .deps/cost_sensitive.Tpo -c cost_sensitive.cc -fPIC -DPIC -o .libs/cost_sensitive.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT autolink.lo -MD -MP -MF .deps/autolink.Tpo -c autolink.cc -o autolink.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT ect.lo -MD -MP -MF .deps/ect.Tpo -c ect.cc -o ect.o >/dev/null 2>&1 depbase=`echo multilabel.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT multilabel.lo -MD -MP -MF $depbase.Tpo -c -o multilabel.lo multilabel.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT multilabel.lo -MD -MP -MF .deps/multilabel.Tpo -c multilabel.cc -fPIC -DPIC -o .libs/multilabel.o depbase=`echo label_dictionary.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT label_dictionary.lo -MD -MP -MF $depbase.Tpo -c -o label_dictionary.lo label_dictionary.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT label_dictionary.lo -MD -MP -MF .deps/label_dictionary.Tpo -c label_dictionary.cc -fPIC -DPIC -o .libs/label_dictionary.o In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from cost_sensitive.cc:2: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT lrq.lo -MD -MP -MF .deps/lrq.Tpo -c lrq.cc -o lrq.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cost_sensitive.lo -MD -MP -MF .deps/cost_sensitive.Tpo -c cost_sensitive.cc -o cost_sensitive.o >/dev/null 2>&1 depbase=`echo csoaa.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT csoaa.lo -MD -MP -MF $depbase.Tpo -c -o csoaa.lo csoaa.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from multilabel.cc:2: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from global_data.h:24, from reductions.h:14, from label_dictionary.cc:1: v_hashmap.h: In instantiation of 'void v_hashmap::clear() [with K = long unsigned int; V = features]': label_dictionary.cc:96:12: required from here 96 | lfm.clear(); | ~~~~~~~~~^~ v_hashmap.h:94:11: warning: 'void* std::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 | ^~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT csoaa.lo -MD -MP -MF .deps/csoaa.Tpo -c csoaa.cc -fPIC -DPIC -o .libs/csoaa.o 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 = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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_hashmap.h: In instantiation of 'void v_hashmap::double_size() [with K = long unsigned int; V = features]': v_hashmap.h:236:9: required from 'void v_hashmap::put_after_get(K&, uint64_t, V) [with K = long unsigned int; V = features; uint64_t = long unsigned int]' 236 | { double_size(); | ^~~~~~~~~~~ label_dictionary.cc:83:20: required from here 83 | lfm.put_after_get(lab, lab_hash, fs); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ v_hashmap.h:157:11: warning: 'void* std::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 = long unsigned int]': v_hashmap.h:149:15: required from 'void v_hashmap::double_size() [with K = long unsigned int; V = features]' 149 | tmp.resize(num_occupants+10); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ v_hashmap.h:236:9: required from 'void v_hashmap::put_after_get(K&, uint64_t, V) [with K = long unsigned int; V = features; uint64_t = long unsigned int]' 236 | { double_size(); | ^~~~~~~~~~~ label_dictionary.cc:83:20: required from here 83 | lfm.put_after_get(lab, lab_hash, fs); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | 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 | ^~~~~~~~~ depbase=`echo cb.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT cb.lo -MD -MP -MF $depbase.Tpo -c -o cb.lo cb.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT multilabel.lo -MD -MP -MF .deps/multilabel.Tpo -c multilabel.cc -o multilabel.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cb.lo -MD -MP -MF .deps/cb.Tpo -c cb.cc -fPIC -DPIC -o .libs/cb.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT label_dictionary.lo -MD -MP -MF .deps/label_dictionary.Tpo -c label_dictionary.cc -o label_dictionary.o >/dev/null 2>&1 depbase=`echo cb_adf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT cb_adf.lo -MD -MP -MF $depbase.Tpo -c -o cb_adf.lo cb_adf.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cb_adf.lo -MD -MP -MF .deps/cb_adf.Tpo -c cb_adf.cc -fPIC -DPIC -o .libs/cb_adf.o In file included from io_buf.h:14, from reductions.h:10, from csoaa.cc:9: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = v_hashmap::hash_elem; size_t = long unsigned int]': v_hashmap.h:57:15: required from 'void v_hashmap::init(size_t, V, bool (*)(K&, K&)) [with K = long unsigned int; V = features; size_t = long unsigned int]' 57 | dat.resize(min_size); // resize sets to 0 ==> occupied=false | ~~~~~~~~~~^~~~~~~~~~ csoaa.cc:817:25: required from here 817 | ld.label_features.init(256, fs, LabelDict::size_t_eq); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from global_data.h:24, from reductions.h:14: v_hashmap.h:17:10: note: 'struct v_hashmap::hash_elem' declared here 17 | struct hash_elem | ^~~~~~~~~ depbase=`echo cb_algs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT cb_algs.lo -MD -MP -MF $depbase.Tpo -c -o cb_algs.lo cb_algs.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cb_algs.lo -MD -MP -MF .deps/cb_algs.Tpo -c cb_algs.cc -fPIC -DPIC -o .libs/cb_algs.o In file included from example.h:8, from cb.cc:8: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo mwt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT mwt.lo -MD -MP -MF $depbase.Tpo -c -o mwt.lo mwt.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo search.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search.lo -MD -MP -MF $depbase.Tpo -c -o search.lo search.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo search_meta.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_meta.lo -MD -MP -MF $depbase.Tpo -c -o search_meta.lo search_meta.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT mwt.lo -MD -MP -MF .deps/mwt.Tpo -c mwt.cc -fPIC -DPIC -o .libs/mwt.o In file included from io_buf.h:14, from reductions.h:10, from cb_adf.cc:9: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_meta.lo -MD -MP -MF .deps/search_meta.Tpo -c search_meta.cc -fPIC -DPIC -o .libs/search_meta.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search.lo -MD -MP -MF .deps/search.Tpo -c search.cc -fPIC -DPIC -o .libs/search.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cb.lo -MD -MP -MF .deps/cb.Tpo -c cb.cc -o cb.o >/dev/null 2>&1 In file included from global_data.h:17, from vw.h:15, from cb_algs.cc:8: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ search_meta.cc: In function 'void SelectiveBranchingMT::run(Search::search&, std::vector&)': search_meta.cc:225:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 225 | if (d.kbest_out) delete d.kbest_out; d.kbest_out = nullptr; | ^~ search_meta.cc:225:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 225 | if (d.kbest_out) delete d.kbest_out; d.kbest_out = nullptr; | ^ In file included from io_buf.h:14, from reductions.h:10, from search_meta.cc:9: v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::pair; size_t = long unsigned int]': search_meta.cc:114:25: required from here 114 | push_many(branch, d.trajectory.begin(), d.trajectory.size()); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::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] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:64, from /opt/tools/gcc14/include/c++/14.3.0/string:51, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/errors.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ In file included from global_data.h:17, from vw.h:15, from mwt.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from global_data.h:24, from vw.h:15, from search.cc:9: v_hashmap.h: In instantiation of 'void v_hashmap::clear() [with K = unsigned char*; V = Search::scored_action]': search.cc:1091:28: required from here 1091 | priv.cache_hash_map.clear(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ v_hashmap.h:94:11: warning: 'void* std::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 | ^~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cb_adf.lo -MD -MP -MF .deps/cb_adf.Tpo -c cb_adf.cc -o cb_adf.o >/dev/null 2>&1 search.cc: In instantiation of 'void Search::push_at(v_array&, T, size_t) [with T = action_repr; size_t = long unsigned int]': search.cc:1339:18: required from here 1339 | push_at(priv.learn_condition_on_act | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1340 | , action_repr(((1 <= condition_on[i]) && (condition_on[i] < priv.ptag_to_action.size())) ? priv.ptag_to_action[condition_on[i]] : 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1341 | , i); | ~~~~ search.cc:834:13: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Search::action_repr'; use assignment instead [-Wclass-memaccess] 834 | memset(v.end(), 0, sizeof(T) * (pos - v.size())); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:93:8: note: 'struct Search::action_repr' declared here 93 | struct action_repr | ^~~~~~~~~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::pair > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::pair > >]' 77 | { resize(_end-_begin); | ^~~~~~ search_meta.cc:99:19: required from here 99 | d.branches.erase(); | ~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair > >'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair > >' declared here 284 | struct pair | ^~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of type 'struct std::pair > >' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair > >' declared here 284 | struct pair | ^~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::pair > >, std::__cxx11::basic_string*>; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::pair > >, std::__cxx11::basic_string*>]' 77 | { resize(_end-_begin); | ^~~~~~ search_meta.cc:100:16: required from here 100 | d.final.erase(); | ~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair > >, std::__cxx11::basic_string*>' declared here 284 | struct pair | ^~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair > >, std::__cxx11::basic_string*>' declared here 284 | struct pair | ^~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::pair; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::pair]' 77 | { resize(_end-_begin); | ^~~~~~ search_meta.cc:101:21: required from here 101 | d.trajectory.erase(); | ~~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of type 'struct std::pair' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ In file included from global_data.h:17: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = Search::action_repr; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = Search::action_repr]' 77 | { resize(_end-_begin); | ^~~~~~ search.cc:557:28: required from here 557 | priv.ptag_to_action.erase(); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Search::action_repr'; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:93:8: note: 'struct Search::action_repr' declared here 93 | struct action_repr | ^~~~~~~~~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = Search::action_cache; size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = Search::action_cache]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ search.cc:889:28: required from here 889 | this_cache->push_back( action_cache(0., cl, cl==a, cost) ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Search::action_cache'; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:107:8: note: 'struct Search::action_cache' declared here 107 | struct action_cache | ^~~~~~~~~~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::pair; size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = std::pair]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ search.cc:957:40: required from here 957 | priv.active_uncertainty.push_back( make_pair(min_cost2 - min_cost, priv.t+priv.meta_t) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:64, from /opt/tools/gcc14/include/c++/14.3.0/bits/specfun.h:43, from /opt/tools/gcc14/include/c++/14.3.0/cmath:3906, from /opt/tools/gcc14/include/c++/14.3.0/math.h:36, from search.cc:8: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of type 'struct std::pair' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = example; size_t = long unsigned int]': search.cc:824:13: required from 'void Search::ensure_size(v_array&, size_t) [with T = example; size_t = long unsigned int]' 824 | A.resize(sz*2+1); | ~~~~~~~~^~~~~~~~ search.cc:1322:20: required from here 1322 | ensure_size(priv.learn_ec_copy, ec_cnt); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct example'; use assignment or value-initialization instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:53:8: note: 'struct example' declared here 53 | struct example // core example datatype. | ^~~~~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = Search::scored_action; size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = Search::scored_action]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ search.cc:1484:38: required from here 1484 | priv.train_trajectory.push_back( scored_action(a, a_cost) ); // note the action for future reference | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Search::scored_action'; use assignment or value-initialization instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.cc:83:8: note: 'struct Search::scored_action' declared here 83 | 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(K&, uint64_t, V) [with K = unsigned char*; V = Search::scored_action; uint64_t = long unsigned int]' 236 | { double_size(); | ^~~~~~~~~~~ v_hashmap.h:247:5: required from 'void v_hashmap::put(K&, uint64_t, V) [with K = unsigned char*; V = Search::scored_action; uint64_t = long unsigned int]' 247 | put_after_get(key, hash, val); | ^~~~~~~~~~~~~ search.cc:1118:28: required from here 1118 | { priv.cache_hash_map.put(item, hash, scored_action(a, a_cost)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_hashmap.h:157:11: warning: 'void* std::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 = long unsigned int]': v_hashmap.h:71:15: required from 'void v_hashmap::init(size_t, bool (*)(K&, K&)) [with K = unsigned char*; V = Search::scored_action; size_t = long unsigned int]' 71 | dat.resize(min_size); // resize sets to 0 ==> occupied=false | ~~~~~~~~~~^~~~~~~~~~ v_hashmap.h:83:21: required from 'v_hashmap::v_hashmap() [with K = unsigned char*; V = Search::scored_action]' 83 | v_hashmap() { init(1023, nullptr); } | ~~~~^~~~~~~~~~~~~~~ search.cc:1922:71: required from here 1922 | new (&priv.cache_hash_map) v_hashmap(); | ^ v_array.h:69:15: warning: 'void* std::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] 69 | 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 | ^~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT csoaa.lo -MD -MP -MF .deps/csoaa.Tpo -c csoaa.cc -o csoaa.o >/dev/null 2>&1 depbase=`echo search_sequencetask.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_sequencetask.lo -MD -MP -MF $depbase.Tpo -c -o search_sequencetask.lo search_sequencetask.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_sequencetask.lo -MD -MP -MF .deps/search_sequencetask.Tpo -c search_sequencetask.cc -fPIC -DPIC -o .libs/search_sequencetask.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cb_algs.lo -MD -MP -MF .deps/cb_algs.Tpo -c cb_algs.cc -o cb_algs.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_meta.lo -MD -MP -MF .deps/search_meta.Tpo -c search_meta.cc -o search_meta.o >/dev/null 2>&1 In file included from global_data.h:17, from search.h:7, from search_sequencetask.h:7, from search_sequencetask.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT mwt.lo -MD -MP -MF .deps/mwt.Tpo -c mwt.cc -o mwt.o >/dev/null 2>&1 depbase=`echo search_dep_parser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_dep_parser.lo -MD -MP -MF $depbase.Tpo -c -o search_dep_parser.lo search_dep_parser.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_dep_parser.lo -MD -MP -MF .deps/search_dep_parser.Tpo -c search_dep_parser.cc -fPIC -DPIC -o .libs/search_dep_parser.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_sequencetask.lo -MD -MP -MF .deps/search_sequencetask.Tpo -c search_sequencetask.cc -o search_sequencetask.o >/dev/null 2>&1 depbase=`echo search_hooktask.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_hooktask.lo -MD -MP -MF $depbase.Tpo -c -o search_hooktask.lo search_hooktask.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_hooktask.lo -MD -MP -MF .deps/search_hooktask.Tpo -c search_hooktask.cc -fPIC -DPIC -o .libs/search_hooktask.o search_dep_parser.cc: In function 'void DepParserTask::run(Search::search&, std::vector&)': search_dep_parser.cc:646:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 646 | for(size_t i=1; i<= data->num_label; i++) | ^~~ search_dep_parser.cc:648:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 648 | t_id = P.set_tag((ptag) count) | ^~~~ In file included from global_data.h:17, from search.h:7, from search_dep_parser.h:7, from search_dep_parser.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo search_multiclasstask.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_multiclasstask.lo -MD -MP -MF $depbase.Tpo -c -o search_multiclasstask.lo search_multiclasstask.cc &&\ mv -f $depbase.Tpo $depbase.Plo v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::pair; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::pair]' 77 | { resize(_end-_begin); | ^~~~~~ search_dep_parser.cc:423:27: required from here 423 | gold_action_losses.erase(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct std::pair'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:64, from /opt/tools/gcc14/include/c++/14.3.0/string:51, from /opt/tools/gcc14/include/c++/14.3.0/bits/locale_classes.h:40, from /opt/tools/gcc14/include/c++/14.3.0/bits/ios_base.h:41, from /opt/tools/gcc14/include/c++/14.3.0/ios:44, from /opt/tools/gcc14/include/c++/14.3.0/ostream:40, from /opt/tools/gcc14/include/c++/14.3.0/iostream:41, from global_data.h:7: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of type 'struct std::pair' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_pair.h:284:12: note: 'struct std::pair' declared here 284 | struct pair | ^~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_multiclasstask.lo -MD -MP -MF .deps/search_multiclasstask.Tpo -c search_multiclasstask.cc -fPIC -DPIC -o .libs/search_multiclasstask.o depbase=`echo search_entityrelationtask.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_entityrelationtask.lo -MD -MP -MF $depbase.Tpo -c -o search_entityrelationtask.lo search_entityrelationtask.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_entityrelationtask.lo -MD -MP -MF .deps/search_entityrelationtask.Tpo -c search_entityrelationtask.cc -fPIC -DPIC -o .libs/search_entityrelationtask.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search.lo -MD -MP -MF .deps/search.Tpo -c search.cc -o search.o >/dev/null 2>&1 In file included from global_data.h:17, from search.h:7, from search_hooktask.h:7, from search_hooktask.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo search_graph.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT search_graph.lo -MD -MP -MF $depbase.Tpo -c -o search_graph.lo search_graph.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_graph.lo -MD -MP -MF .deps/search_graph.Tpo -c search_graph.cc -fPIC -DPIC -o .libs/search_graph.o In file included from global_data.h:17, from search.h:7, from search_multiclasstask.h:7, from search_multiclasstask.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_multiclasstask.lo -MD -MP -MF .deps/search_multiclasstask.Tpo -c search_multiclasstask.cc -o search_multiclasstask.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_hooktask.lo -MD -MP -MF .deps/search_hooktask.Tpo -c search_hooktask.cc -o search_hooktask.o >/dev/null 2>&1 In file included from global_data.h:17, from search.h:7, from search_entityrelationtask.h:7, from search_entityrelationtask.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_dep_parser.lo -MD -MP -MF .deps/search_dep_parser.Tpo -c search_dep_parser.cc -o search_dep_parser.o >/dev/null 2>&1 depbase=`echo parse_example.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT parse_example.lo -MD -MP -MF $depbase.Tpo -c -o parse_example.lo parse_example.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_example.lo -MD -MP -MF .deps/parse_example.Tpo -c parse_example.cc -fPIC -DPIC -o .libs/parse_example.o In file included from global_data.h:17, from search.h:7, from search_graph.h:7, from search_graph.cc:6: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo scorer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT scorer.lo -MD -MP -MF $depbase.Tpo -c -o scorer.lo scorer.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT scorer.lo -MD -MP -MF .deps/scorer.Tpo -c scorer.cc -fPIC -DPIC -o .libs/scorer.o depbase=`echo network.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT network.lo -MD -MP -MF $depbase.Tpo -c -o network.lo network.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT network.lo -MD -MP -MF .deps/network.Tpo -c network.cc -fPIC -DPIC -o .libs/network.o In file included from parse_primitives.h:10, from parse_example.h:8, from parse_example.cc:9: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15, from parse_example.h:9: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_entityrelationtask.lo -MD -MP -MF .deps/search_entityrelationtask.Tpo -c search_entityrelationtask.cc -o search_entityrelationtask.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT network.lo -MD -MP -MF .deps/network.Tpo -c network.cc -o network.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from scorer.cc:3: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo parse_args.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT parse_args.lo -MD -MP -MF $depbase.Tpo -c -o parse_args.lo parse_args.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_args.lo -MD -MP -MF .deps/parse_args.Tpo -c parse_args.cc -fPIC -DPIC -o .libs/parse_args.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_example.lo -MD -MP -MF .deps/parse_example.Tpo -c parse_example.cc -o parse_example.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT search_graph.lo -MD -MP -MF .deps/search_graph.Tpo -c search_graph.cc -o search_graph.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT scorer.lo -MD -MP -MF .deps/scorer.Tpo -c scorer.cc -o scorer.o >/dev/null 2>&1 depbase=`echo accumulate.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT accumulate.lo -MD -MP -MF $depbase.Tpo -c -o accumulate.lo accumulate.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT accumulate.lo -MD -MP -MF .deps/accumulate.Tpo -c accumulate.cc -fPIC -DPIC -o .libs/accumulate.o parse_args.cc: In function 'const char* VW::are_features_compatible(vw&, vw&)': parse_args.cc:433:83: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' {aka 'long unsigned int'}, not 'uint32_t' {aka 'unsigned int'} [-Wsizeof-array-div] 433 | if (!equal(vw1.affix_features, vw1.affix_features + (sizeof(vw1.affix_features) / sizeof(uint32_t)), vw2.affix_features)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ parse_args.cc:433:85: note: add parentheses around 'sizeof (uint32_t)' to silence this warning 433 | if (!equal(vw1.affix_features, vw1.affix_features + (sizeof(vw1.affix_features) / sizeof(uint32_t)), vw2.affix_features)) | ^~~~~~~~~~~~~~~~ | ( ) parse_args.cc:448:24: warning: self-comparison always evaluates to false [-Wtautological-compare] 448 | if (vw1.permutations != vw1.permutations) | ~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~ In file included from global_data.h:17, from parse_regressor.h:9, from parse_args.cc:15: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ parse_args.cc: In function 'void parse_dictionary_argument(vw&, std::string)': parse_args.cc:194:30: warning: pointer 'ec' used after 'void std::free(void*)' [-Wuse-after-free] 194 | VW::dealloc_example(all.p->lp.delete_label, *ec); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_args.cc:193:15: note: call to 'void std::free(void*)' here 193 | { free(ec); | ~~~~^~~~ In file included from global_data.h:17, from accumulate.cc:14: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo gd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT gd.lo -MD -MP -MF $depbase.Tpo -c -o gd.lo gd.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo learner.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT learner.lo -MD -MP -MF $depbase.Tpo -c -o learner.lo learner.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT learner.lo -MD -MP -MF .deps/learner.Tpo -c learner.cc -fPIC -DPIC -o .libs/learner.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c gd.cc -fPIC -DPIC -o .libs/gd.o depbase=`echo lda_core.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT lda_core.lo -MD -MP -MF $depbase.Tpo -c -o lda_core.lo lda_core.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo gd_mf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT gd_mf.lo -MD -MP -MF $depbase.Tpo -c -o gd_mf.lo gd_mf.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT lda_core.lo -MD -MP -MF .deps/lda_core.Tpo -c lda_core.cc -fPIC -DPIC -o .libs/lda_core.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT gd_mf.lo -MD -MP -MF .deps/gd_mf.Tpo -c gd_mf.cc -fPIC -DPIC -o .libs/gd_mf.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT accumulate.lo -MD -MP -MF .deps/accumulate.Tpo -c accumulate.cc -o accumulate.o >/dev/null 2>&1 In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from gd.cc:23: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from io_buf.h:14, from parser.h:7, from learner.cc:1: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15, from parser.h:9: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo mf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT mf.lo -MD -MP -MF $depbase.Tpo -c -o mf.lo mf.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT mf.lo -MD -MP -MF .deps/mf.Tpo -c mf.cc -fPIC -DPIC -o .libs/mf.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT learner.lo -MD -MP -MF .deps/learner.Tpo -c learner.cc -o learner.o >/dev/null 2>&1 In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from gd_mf.cc:16: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ global_data.h: In constructor 'namedlabels::namedlabels(std::string)': global_data.h:146:12: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound depends on the length of the source argument [-Wstringop-truncation] 146 | strncpy(temp, label_list.c_str(), strlen(label_list.c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ global_data.h:146:12: note: length computed here 146 | strncpy(temp, label_list.c_str(), strlen(label_list.c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ depbase=`echo bfgs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT bfgs.lo -MD -MP -MF $depbase.Tpo -c -o bfgs.lo bfgs.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from lda_core.cc:28: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT bfgs.lo -MD -MP -MF .deps/bfgs.Tpo -c bfgs.cc -fPIC -DPIC -o .libs/bfgs.o In file included from io_buf.h:14, from reductions.h:10, from mf.cc:11: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ depbase=`echo noop.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT noop.lo -MD -MP -MF $depbase.Tpo -c -o noop.lo noop.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT noop.lo -MD -MP -MF .deps/noop.Tpo -c noop.cc -fPIC -DPIC -o .libs/noop.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT gd_mf.lo -MD -MP -MF .deps/gd_mf.Tpo -c gd_mf.cc -o gd_mf.o >/dev/null 2>&1 bfgs.cc: In function 'int process_pass(vw&, bfgs&)': bfgs.cc:639:31: warning: catching polymorphic type 'class curv_exception' by value [-Wcatch-value=] 639 | catch (curv_exception e) | ^ In file included from global_data.h:17, from accumulate.h:8, from bfgs.cc:19: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parse_args.lo -MD -MP -MF .deps/parse_args.Tpo -c parse_args.cc -o parse_args.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT mf.lo -MD -MP -MF .deps/mf.Tpo -c mf.cc -o mf.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from noop.cc:8: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT noop.lo -MD -MP -MF .deps/noop.Tpo -c noop.cc -o noop.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT lda_core.lo -MD -MP -MF .deps/lda_core.Tpo -c lda_core.cc -o lda_core.o >/dev/null 2>&1 depbase=`echo print.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT print.lo -MD -MP -MF $depbase.Tpo -c -o print.lo print.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT bfgs.lo -MD -MP -MF .deps/bfgs.Tpo -c bfgs.cc -o bfgs.o >/dev/null 2>&1 depbase=`echo example.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT example.lo -MD -MP -MF $depbase.Tpo -c -o example.lo example.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT print.lo -MD -MP -MF .deps/print.Tpo -c print.cc -fPIC -DPIC -o .libs/print.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT example.lo -MD -MP -MF .deps/example.Tpo -c example.cc -fPIC -DPIC -o .libs/example.o depbase=`echo parser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT parser.lo -MD -MP -MF $depbase.Tpo -c -o parser.lo parser.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.cc -fPIC -DPIC -o .libs/parser.o In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from example.cc:7: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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; size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ example.cc:89:26: required from here 89 | { p.feature_map.push_back(feature(fx, (uint64_t)(fi >> p.stride_shift) & p.mask)); } | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct feature'; use assignment or value-initialization instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:8:8: note: 'struct feature' declared here 8 | struct feature {//sparse feature definition for the library interface | ^~~~~~~ In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from print.cc:1: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT print.lo -MD -MP -MF .deps/print.Tpo -c print.cc -o print.o >/dev/null 2>&1 parser.cc: In function 'void parse_cache(vw&, boost::program_options::variables_map&, std::string, bool)': parser.cc:337:24: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 337 | catch (exception e) { f = -1; } | ^ In file included from parse_primitives.h:10, from parse_example.h:8, from parser.cc:46: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parser.cc:35: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from parse_example.h:9: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT example.lo -MD -MP -MF .deps/example.Tpo -c example.cc -o example.o >/dev/null 2>&1 depbase=`echo loss_functions.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT loss_functions.lo -MD -MP -MF $depbase.Tpo -c -o loss_functions.lo loss_functions.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT loss_functions.lo -MD -MP -MF .deps/loss_functions.Tpo -c loss_functions.cc -fPIC -DPIC -o .libs/loss_functions.o depbase=`echo sender.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT sender.lo -MD -MP -MF $depbase.Tpo -c -o sender.lo sender.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT sender.lo -MD -MP -MF .deps/sender.Tpo -c sender.cc -fPIC -DPIC -o .libs/sender.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.cc -o parser.o >/dev/null 2>&1 depbase=`echo nn.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT nn.lo -MD -MP -MF $depbase.Tpo -c -o nn.lo nn.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from global_data.h:17, from loss_functions.cc:13: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from global_data.h:14: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT nn.lo -MD -MP -MF .deps/nn.Tpo -c nn.cc -fPIC -DPIC -o .libs/nn.o depbase=`echo confidence.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT confidence.lo -MD -MP -MF $depbase.Tpo -c -o confidence.lo confidence.cc &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo bs.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT bs.lo -MD -MP -MF $depbase.Tpo -c -o bs.lo bs.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT confidence.lo -MD -MP -MF .deps/confidence.Tpo -c confidence.cc -fPIC -DPIC -o .libs/confidence.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT bs.lo -MD -MP -MF .deps/bs.Tpo -c bs.cc -fPIC -DPIC -o .libs/bs.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT loss_functions.lo -MD -MP -MF .deps/loss_functions.Tpo -c loss_functions.cc -o loss_functions.o >/dev/null 2>&1 In file included from io_buf.h:14, from sender.cc:20: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from feature_group.h:1, from example.h:15, from cache.h:9, from sender.cc:21: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT sender.lo -MD -MP -MF .deps/sender.Tpo -c sender.cc -o sender.o >/dev/null 2>&1 nn.cc: In function 'void finish_setup(nn&, vw&)': nn.cc:73:10: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct example'; use assignment or value-initialization instead [-Wclass-memaccess] 73 | memset (&n.output_layer, 0, sizeof (n.output_layer)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from reductions.h:11, from nn.cc:11: example.h:53:8: note: 'struct example' declared here 53 | struct example // core example datatype. | ^~~~~~~ nn.cc:92:10: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct example'; use assignment or value-initialization instead [-Wclass-memaccess] 92 | memset (&n.hiddenbias, 0, sizeof (n.hiddenbias)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:53:8: note: 'struct example' declared here 53 | struct example // core example datatype. | ^~~~~~~ nn.cc:100:10: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct example'; use assignment or value-initialization instead [-Wclass-memaccess] 100 | memset (&n.outputweight, 0, sizeof (n.outputweight)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example.h:53:8: note: 'struct example' declared here 53 | struct example // 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 = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10, from confidence.cc:1: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10, from bs.cc:13: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT confidence.lo -MD -MP -MF .deps/confidence.Tpo -c confidence.cc -o confidence.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c gd.cc -o gd.o >/dev/null 2>&1 depbase=`echo cbify.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT cbify.lo -MD -MP -MF $depbase.Tpo -c -o cbify.lo cbify.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cbify.lo -MD -MP -MF .deps/cbify.Tpo -c cbify.cc -fPIC -DPIC -o .libs/cbify.o depbase=`echo topk.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT topk.lo -MD -MP -MF $depbase.Tpo -c -o topk.lo topk.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT topk.lo -MD -MP -MF .deps/topk.Tpo -c topk.cc -fPIC -DPIC -o .libs/topk.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT nn.lo -MD -MP -MF .deps/nn.Tpo -c nn.cc -o nn.o >/dev/null 2>&1 depbase=`echo stagewise_poly.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT stagewise_poly.lo -MD -MP -MF $depbase.Tpo -c -o stagewise_poly.lo stagewise_poly.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT stagewise_poly.lo -MD -MP -MF .deps/stagewise_poly.Tpo -c stagewise_poly.cc -fPIC -DPIC -o .libs/stagewise_poly.o depbase=`echo log_multi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT log_multi.lo -MD -MP -MF $depbase.Tpo -c -o log_multi.lo log_multi.cc &&\ mv -f $depbase.Tpo $depbase.Plo In file included from io_buf.h:14, from reductions.h:10, from cbify.cc:2: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT log_multi.lo -MD -MP -MF .deps/log_multi.Tpo -c log_multi.cc -fPIC -DPIC -o .libs/log_multi.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT bs.lo -MD -MP -MF .deps/bs.Tpo -c bs.cc -o bs.o >/dev/null 2>&1 In file included from io_buf.h:14, from reductions.h:10, from topk.cc:10: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from global_data.h:17, from parse_regressor.h:9, from gd.h:11, from stagewise_poly.cc:4: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from parse_regressor.h:8: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from global_data.h:21: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10, from log_multi.cc:11: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT cbify.lo -MD -MP -MF .deps/cbify.Tpo -c cbify.cc -o cbify.o >/dev/null 2>&1 v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = node_pred; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = node_pred]' 77 | { resize(_end-_begin); | ^~~~~~ log_multi.cc:86:16: required from here 86 | n.preds.erase(); | ~~~~~~~~~~~~~^~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'class node_pred'; use assignment instead [-Wclass-memaccess] 69 | 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: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT topk.lo -MD -MP -MF .deps/topk.Tpo -c topk.cc -o topk.o >/dev/null 2>&1 depbase=`echo recall_tree.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT recall_tree.lo -MD -MP -MF $depbase.Tpo -c -o recall_tree.lo recall_tree.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT recall_tree.lo -MD -MP -MF .deps/recall_tree.Tpo -c recall_tree.cc -fPIC -DPIC -o .libs/recall_tree.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT log_multi.lo -MD -MP -MF .deps/log_multi.Tpo -c log_multi.cc -o log_multi.o >/dev/null 2>&1 depbase=`echo active.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT active.lo -MD -MP -MF $depbase.Tpo -c -o active.lo active.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT active.lo -MD -MP -MF .deps/active.Tpo -c active.cc -fPIC -DPIC -o .libs/active.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT stagewise_poly.lo -MD -MP -MF .deps/stagewise_poly.Tpo -c stagewise_poly.cc -o stagewise_poly.o >/dev/null 2>&1 recall_tree.cc: In function 'void recall_tree_ns::compute_recall_lbest(recall_tree&, node*)': recall_tree.cc:161:32: error: no matching function for call to 'max(float, double)' 161 | n->recall_lbest = (std::max) (0.f, | ~~~~~~~~~~~^~~~~ 162 | f - sqrt (b.bern_hyper) * stdf | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | - b.bern_hyper * diamf); | ~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/algorithm:60, from recall_tree.cc:6: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:257:5: note: candidate: 'template constexpr const _Tp& std::max(const _Tp&, const _Tp&)' 257 | max(const _Tp& __a, const _Tp& __b) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:257:5: note: template argument deduction/substitution failed: recall_tree.cc:161:32: note: deduced conflicting types for parameter 'const _Tp' ('float' and 'double') 161 | n->recall_lbest = (std::max) (0.f, | ~~~~~~~~~~~^~~~~ 162 | f - sqrt (b.bern_hyper) * stdf | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | - b.bern_hyper * diamf); | ~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:303:5: note: candidate: 'template constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' 303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algobase.h:303:5: note: candidate expects 3 arguments, 2 provided In file included from /opt/tools/gcc14/include/c++/14.3.0/algorithm:61: /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5706:5: note: candidate: 'template constexpr _Tp std::max(initializer_list<_Tp>)' 5706 | max(initializer_list<_Tp> __l) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5706:5: note: candidate expects 1 argument, 2 provided /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5716:5: note: candidate: 'template constexpr _Tp std::max(initializer_list<_Tp>, _Compare)' 5716 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ /opt/tools/gcc14/include/c++/14.3.0/bits/stl_algo.h:5716:5: note: template argument deduction/substitution failed: recall_tree.cc:161:32: note: mismatched types 'std::initializer_list<_Tp>' and 'float' 161 | n->recall_lbest = (std::max) (0.f, | ~~~~~~~~~~~^~~~~ 162 | f - sqrt (b.bern_hyper) * stdf | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | - b.bern_hyper * diamf); | ~~~~~~~~~~~~~~~~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10, from recall_tree.cc:12: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = recall_tree_ns::node; size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = recall_tree_ns::node]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ recall_tree.cc:90:25: required from here 90 | b.nodes.push_back (node ()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recall_tree.cc:27:8: note: 'struct recall_tree_ns::node' declared here 27 | struct node { | ^~~~ v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = recall_tree_ns::node_pred; size_t = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = recall_tree_ns::node_pred]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ recall_tree.cc:134:33: required from here 134 | b.nodes[cn].preds.push_back (newls); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ v_array.h:69:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of non-trivial type 'struct recall_tree_ns::node_pred'; use assignment instead [-Wclass-memaccess] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recall_tree.cc:20:8: note: 'struct recall_tree_ns::node_pred' declared here 20 | struct node_pred { | ^~~~~~~~~ depbase=`echo active_cover.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -MT active_cover.lo -MD -MP -MF $depbase.Tpo -c -o active_cover.lo active_cover.cc &&\ mv -f $depbase.Tpo $depbase.Plo gmake[2]: *** [Makefile:715: recall_tree.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT active_cover.lo -MD -MP -MF .deps/active_cover.Tpo -c active_cover.cc -fPIC -DPIC -o .libs/active_cover.o In file included from io_buf.h:14, from reductions.h:10, from active.cc:2: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ In file included from io_buf.h:14, from reductions.h:10, from active_cover.cc:2: v_array.h: In instantiation of 'void v_array::resize(size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:77:7: required from 'void v_array::erase() [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 77 | { resize(_end-_begin); | ^~~~~~ feature_group.h:260:22: required from here 260 | space_names.erase(); | ~~~~~~~~~~~~~~~~~^~ v_array.h:62:29: warning: 'void* std::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] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc14/include/c++/14.3.0/memory:80, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/any.hpp:19, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/value_semantic.hpp:12, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options/options_description.hpp:13, from /tmp/work/math/vowpal_wabbit/work/.buildlink/include/boost/program_options.hpp:15, from reductions.h:7: /opt/tools/gcc14/include/c++/14.3.0/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:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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 = long unsigned int]': v_array.h:89:7: required from 'void v_array::push_back(const T&) [with T = feature_slice]' 89 | resize(2 * (end_array-_begin) + 3); | ^~~~~~ feature_group.h:311:24: required from here 311 | slice.push_back(temp); | ~~~~~~~~~~~~~~~^~~~~~ v_array.h:62:29: warning: 'void* std::realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct feature_slice'; use 'new' and 'delete' instead [-Wclass-memaccess] 62 | T* temp = (T *)realloc(_begin, sizeof(T) * length); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from example.h:15, from reductions.h:11: feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h:69:15: warning: 'void* std::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] 69 | memset(_begin+old_len, 0, (length-old_len)*sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:15:8: note: 'struct feature_slice' declared here 15 | struct feature_slice{ //a helper struct for functions using the set {v,i,space_name} | ^~~~~~~~~~~~~ v_array.h: In instantiation of 'void push_many(v_array&, const T*, size_t) [with T = std::shared_ptr, std::__cxx11::basic_string > >; size_t = long unsigned int]': v_array.h:168:12: required from 'void copy_array(v_array&, const v_array&) [with T = std::shared_ptr, std::__cxx11::basic_string > >]' 168 | push_many(dst, src._begin, src.size()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ feature_group.h:329:15: required from here 329 | copy_array(space_names, src.space_names); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v_array.h:181:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of type 'class std::shared_ptr, std::__cxx11::basic_string > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 181 | memcpy(v._end, _begin, num * sizeof(T)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc14/include/c++/14.3.0/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> | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT active.lo -MD -MP -MF .deps/active.Tpo -c active.cc -o active.o >/dev/null 2>&1 In function 'float sign(float)', inlined from 'void predict_or_learn_active_cover(active_cover&, LEARNER::base_learner&, example&) [with bool is_learn = true]' at active_cover.cc:167:36: active_cover.cc:9:30: warning: 'cost_delta' may be used uninitialized [-Wmaybe-uninitialized] 9 | inline float sign(float w) { if (w <= 0.f) return -1.f; else return 1.f;} | ^~ active_cover.cc: In function 'void predict_or_learn_active_cover(active_cover&, LEARNER::base_learner&, example&) [with bool is_learn = true]': active_cover.cc:141:23: note: 'cost_delta' was declared here 141 | float p, s, cost, cost_delta; | ^~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/tmp/work/math/vowpal_wabbit/work/.buildlink/include -D_REENTRANT -pthread -Wall -Wno-unused-local-typedefs -pedantic -ffast-math -O3 -fomit-frame-pointer -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -MT active_cover.lo -MD -MP -MF .deps/active_cover.Tpo -c active_cover.cc -o active_cover.o >/dev/null 2>&1 gmake[2]: Leaving directory '/tmp/work/math/vowpal_wabbit/work/vowpal_wabbit-8.2.0/vowpalwabbit' gmake[1]: *** [Makefile:461: all] Error 2 gmake[1]: Leaving directory '/tmp/work/math/vowpal_wabbit/work/vowpal_wabbit-8.2.0/vowpalwabbit' gmake: *** [Makefile:576: all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/math/vowpal_wabbit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-bulktest/math/vowpal_wabbit