D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 83: %{_sysconfdir}/xdg/%{name} warning: Macro expanded in comment on line 84: %{_sysconfdir}/xdg/%{name}/%{name}.conf warning: Macro expanded in comment on line 86: %{_datadir}/%{name}/ warning: Macro expanded in comment on line 87: %{_datadir}/appdata/repsnapper.appdata.xml warning: Macro expanded in comment on line 88: %{_datadir}/applications/%{name}.desktop warning: Macro expanded in comment on line 89: %{_iconsdir}/hicolor/scalable/apps/%{name}.svg Installing /home/pterjan/rpmbuild/SRPMS/repsnapper-2.5a5-9.020220220.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.A75lf5 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x7zMaz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + rm -rf repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/d99792547250a059854b36aeaa8b6783e20e303b.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/repsnapper-qt-fix-installation-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /home/pterjan/rpmbuild/SOURCES/repsnapper-softsurfer-copyright-email.txt . + rm -f licenses/BSL-1.0.txt licenses/LGPL-2.0.txt + sed -i 's/Utility;/Graphics;/' repsnapper.desktop.in + sed -i s/_Name=repsnapper/_Name=RepSnapper/ repsnapper.desktop.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YV9lpP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd RepsnapperQt ~/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt ~/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_LFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' QMAKE_STRIP= Info: creating stash file /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/.qmake.stash + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic temperaturepanel.ui -o ui_temperaturepanel.h /usr/lib64/qt5/bin/uic preferences_dlg.ui -o ui_preferences_dlg.h gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o lmcurve.o ../libraries/lmfit/lmfit-5.0/lib/lmcurve.c ../libraries/lmfit/lmfit-5.0/lib/lmcurve.c: In function 'lmcurve_evaluate': ../libraries/lmfit/lmfit-5.0/lib/lmcurve.c:26:43: warning: unused parameter 'info' [-Wunused-parameter] 26 | double *fvec, int *info ) | ~~~~~^~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o lmmin.o ../libraries/lmfit/lmfit-5.0/lib/lmmin.c g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o advancing_front.o ../libraries/poly2tri/poly2tri/poly2tri/sweep/advancing_front.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cdt.o ../libraries/poly2tri/poly2tri/poly2tri/sweep/cdt.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o shapes.o ../libraries/poly2tri/poly2tri/poly2tri/common/shapes.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sweep_context.o ../libraries/poly2tri/poly2tri/poly2tri/sweep/sweep_context.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sweep.o ../libraries/poly2tri/poly2tri/poly2tri/sweep/sweep.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o platform.o ../src/platform.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/platform.cpp:23: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../src/platform.cpp:40:14: warning: 'binary_path' defined but not used [-Wunused-variable] 40 | static char *binary_path = NULL; | ^~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o arcball.o ../src/arcball.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/arcball.cpp:41: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o objlist.o ../src/objlist.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/transform3d.h:22, from ../src/shape.h:32, from ../src/objlist.h:24, from ../src/objlist.cpp:21: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_tree.h:67, from /usr/include/c++/15/set:64, from ../src/objlist.cpp:20: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/shape.h:34: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/objlist.cpp: In member function 'Matrix4d ObjectsList::getTransformationMatrix(int, int) const': ../src/objlist.cpp:134:36: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 134 | return transform3D.getTransform(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../src/objlist.cpp:132:51: warning: unused parameter 'object' [-Wunused-parameter] 132 | Matrix4d ObjectsList::getTransformationMatrix(int object, int shape) const | ~~~~^~~~~~ ../src/objlist.cpp:132:63: warning: unused parameter 'shape' [-Wunused-parameter] 132 | Matrix4d ObjectsList::getTransformationMatrix(int object, int shape) const | ~~~~^~~~~ ../src/objlist.cpp: In member function 'Vector3d ListObject::center() const': ../src/objlist.cpp:205:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 205 | return center; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o gcodestate.o ../src/gcode/gcodestate.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/gcode/../stdafx.h:67, from ../src/gcode/../transform3d.h:22, from ../src/gcode/../shape.h:32, from ../src/gcode/gcodestate.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/gcode/../shape.h:23: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/gcode/../shape.h:34: ../src/gcode/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/gcode/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/gcode/../shape.h:36: ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/gcode/../slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/gcode/../slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/gcode/../slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcodestate.cpp: In constructor 'GCodeStateImpl::GCodeStateImpl(GCode&)': ../src/gcode/gcodestate.cpp:32:18: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 32 | code(_code), LastPosition(Vector3d::ZERO) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcodestate.cpp: In member function 'void GCodeState::AppendCommand(Command&, bool, double)': ../src/gcode/gcodestate.cpp:82:64: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 82 | pImpl->lastCommand = pImpl->code.commands.back(); | ^ In file included from ../src/gcode/gcode.h:32, from ../src/gcode/gcodestate.h:24, from ../src/gcode/gcodestate.cpp:22: ../src/gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/gcode/gcodestate.cpp:84:38: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 84 | pImpl->lastCommand = command; | ^~~~~~~ ../src/gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/gcode/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/gcode/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/gcode/gcodestate.cpp:132:38: required from here 132 | return (pImpl->lastCommand.where - here).length(); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../libraries/vmmlib/include/vmmlib/vector.hpp:1195:18: required from 'T vmml::vector::distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]' 1195 | return sqrt( squared_distance( other_vector_ ) ); | ^~~~~~~~~~~~~~~~ ../src/gcode/gcodestate.cpp:73:41: required from here 72 | && (prevCommands[prevCommands.size()-2].where. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | distance(command.where) < minLength)) { | ~~~~~~~~^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o gllight.o ../src/gllight.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/gllight.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o model_slice.o ../src/model_slice.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/model_slice.cpp:35: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/model_slice.cpp:23: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/files.h:26, from ../src/model.h:26, from ../src/model_slice.cpp:36: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36, from ../src/objlist.h:24, from ../src/model.h:29: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/model_slice.cpp:39: ../src/slicer/layer.h: In member function 'Vector2d Layer::getMin() const': ../src/slicer/layer.h:60:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 60 | Vector2d getMin() const {return Min;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMax() const': ../src/slicer/layer.h:61:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 61 | Vector2d getMax() const {return Max;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model_slice.cpp: In member function 'void Model::Slice()': ../src/model_slice.cpp:297:57: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 297 | Matrix4d basicTrans = settings->getBasicTransformation(Matrix4d::IDENTITY); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ In file included from ../src/model.h:30: ../src/settings.h:163:44: note: initializing argument 1 of 'Matrix4d Settings::getBasicTransformation(Matrix4d)' 163 | Matrix4d getBasicTransformation(Matrix4d T); | ~~~~~~~~~^ ../src/model_slice.cpp: In member function 'void Model::ConvertToGCode()': ../src/model_slice.cpp:835:34: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 835 | Vector3d start = Vector3d::ZERO; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/model_slice.cpp:746:26: required from here 746 | (Min+printOffset).get_sub_vector<2>(0), | ^~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o antiooze.o ../src/slicer/antiooze.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67, from ../src/slicer/printlines.h:24, from ../src/slicer/antiooze.h:23, from ../src/slicer/antiooze.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/slicer/printlines.h:21: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../src/slicer/antiooze.cpp: In member function 'uint Antiooze::distribute_AntioozeAmount(double, ulong, ulong)': ../src/slicer/antiooze.cpp:159:27: warning: unused variable 'sbefore' [-Wunused-variable] 159 | const int sbefore = lines.size(); | ^~~~~~~ ../src/slicer/antiooze.cpp: In member function 'uint Antiooze::insert_AntioozeHalt(double, ulong, double)': ../src/slicer/antiooze.cpp:200:38: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 200 | Vector3d where = lines[atIndex]->from; | ^~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/antiooze.cpp:203:66: required from here 203 | where, where + Vector3d(0.,0.,zLift), speed, 0); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../libraries/vmmlib/include/vmmlib/vector.hpp:1195:18: required from 'T vmml::vector::distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]' 1195 | return sqrt( squared_distance( other_vector_ ) ); | ^~~~~~~~~~~~~~~~ ../src/slicer/printlines.h:385:25: required from 'double PLine::length() const [with long unsigned int M = 3]' 385 | return from.distance(to); | ~~~~~~~~~~~~~^~~~ ../src/slicer/antiooze.cpp:158:58: required from here 158 | const double lenbefore = lines[i]->length(); | ~~~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o printer.o ../src/printer/printer.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from ./mainwindow.h:30, from ../src/printer/printer.h:30, from ../src/printer/printer.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtSerialPort/qserialport.h:44, from /usr/include/qt5/QtSerialPort/QSerialPort:1, from ../src/printer/printer.h:27: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/printer/../files.h:26, from ../src/printer/../model.h:26, from ../src/printer/printer.cpp:21: ../src/printer/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/printer/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/printer/../shape.h:36, from ../src/printer/../objlist.h:24, from ../src/printer/../model.h:29: ../src/printer/../slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/printer/../slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/../slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/../slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/printer/../slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/../slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/printer/../slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/printer.cpp: In constructor 'Printer::Printer(MainWindow*)': ../src/printer/printer.cpp:42:5: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 42 | currentPos(Vector3d::ZERO), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/printer/printer.cpp: In static member function 'static std::vector Printer::findPrinterPorts(QList)': ../src/printer/printer.cpp:83:54: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 83 | qDebug() << info.portName() << " ok! "<< endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from ../src/ui/../stdafx.h:37: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/printer/printer.cpp:86:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 86 | qDebug() << info.portName() << " not connectable "<< endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/printer/printer.cpp: In member function 'bool Printer::Connect(QString, int)': ../src/printer/printer.cpp:121:85: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 121 | << " at port " << portInfo.portName() << " with speed " << baudrate << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/printer/printer.cpp: In member function 'void Printer::ParseResponse(QString)': ../src/printer/printer.cpp:664:51: warning: 'int QByteArray::indexOf(const QString&, int) const' is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations] 664 | while (resendBuffer[i].indexOf(lineN) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1520:12: note: declared here 1520 | inline int QByteArray::indexOf(const QString &s, int from) const | ^~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/printer/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/printer/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o clipping.o ../src/slicer/clipping.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67, from ../src/slicer/poly.h:22, from ../src/slicer/clipping.h:26, from ../src/slicer/clipping.cpp:21: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.hpp:52, from ../src/slicer/clipping.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/clipping.cpp: In static member function 'static std::vector Clipping::getShrinkedCapped(const std::vector&, double, JoinType, double)': ../src/slicer/clipping.cpp:390:45: warning: unused parameter 'miterdist' [-Wunused-parameter] 390 | JoinType jtype, double miterdist) | ~~~~~~~^~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o files.o ../src/files.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/files.h:23, from ../src/files.cpp:21: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/files.h:26: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/files.cpp: In member function 'bool File::load_OBJ(std::vector&, uint)': ../src/files.cpp:266:55: warning: unused parameter 'max_triangles' [-Wunused-parameter] 266 | bool File::load_OBJ(vector &triangles, uint max_triangles) | ~~~~~^~~~~~~~~~~~~ ../src/files.cpp: In member function 'bool File::load_VRML(std::vector&, uint)': ../src/files.cpp:484:56: warning: unused parameter 'max_triangles' [-Wunused-parameter] 484 | bool File::load_VRML(vector &triangles, uint max_triangles) | ~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/files.cpp:718:27: required from here 718 | TA = T*triangles[i].A, | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o gcode.o ../src/gcode/gcode.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/gcode/../render.h:24, from ../src/gcode/gcode.cpp:35: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/gcode/../platform.h:37, from ../src/gcode/../stdafx.h:51, from ../src/gcode/gcode.cpp:20: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/gcode/../stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/gcode/../stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/gcode/../files.h:26, from ../src/gcode/../model.h:26, from ../src/gcode/gcode.cpp:30: ../src/gcode/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/gcode/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/gcode/../shape.h:36, from ../src/gcode/../objlist.h:24, from ../src/gcode/../model.h:29: ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/gcode/../slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/gcode/../slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/gcode/../slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcode.cpp: In member function 'void GCode::calcTimeEstimation(const Vector3d&)': ../src/gcode/gcode.cpp:94:18: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 94 | Vector3d where=from; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcode.cpp: In member function 'void GCode::Read(QTextDocument*, ViewProgress*, std::string)': ../src/gcode/gcode.cpp:176:30: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 176 | command = Command(s); | ^ In file included from ../src/gcode/gcode.h:32, from ../src/gcode/gcode.cpp:23: ../src/gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/gcode/gcode.cpp:178:41: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 178 | command = Command(s, globalPos); | ^ ../src/gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/gcode/gcode.cpp: In member function 'void GCode::drawCommands(Settings*, ulong, ulong, bool, uint, bool, bool, bool)': ../src/gcode/gcode.cpp:475:47: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 475 | Vector3d last_extruder_offset = Vector3d::ZERO; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcode.cpp:490:50: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 490 | Vector3d extruder_offset = Vector3d::ZERO; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcode.cpp:524:11: warning: attributes at the beginning of statement are ignored [-Wattributes] 524 | [[clang::fallthrough]]; | ^~~~~~~~~~~~~~~~~~~~~~ ../src/gcode/gcode.cpp:558:29: warning: implicitly-declared 'constexpr vmml::vector<4, float>::vector(const vmml::vector<4, float>&)' is deprecated [-Wdeprecated-copy] 558 | commands[i].draw(pos, extruder_offset, uint(linewidth), | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 559 | Color, extrwidth, arrows, debug_arcs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<4, float>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 4; T = float]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.h:179:24: note: initializing argument 4 of 'void Command::draw(Vector3d&, const Vector3d&, uint, Vector4f, double, bool, bool) const' 179 | Vector4f color, double extrwidth, bool arrows=true, | ~~~~~~~~~^~~~~ ../src/gcode/gcode.cpp:566:29: warning: implicitly-declared 'constexpr vmml::vector<4, float>::vector(const vmml::vector<4, float>&)' is deprecated [-Wdeprecated-copy] 566 | commands[i].draw(pos, extruder_offset, 1, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 567 | Color, extrwidth, arrows, debug_arcs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<4, float>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 4; T = float]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.h:179:24: note: initializing argument 4 of 'void Command::draw(Vector3d&, const Vector3d&, uint, Vector4f, double, bool, bool) const' 179 | Vector4f color, double extrwidth, bool arrows=true, | ~~~~~~~~~^~~~~ ../src/gcode/gcode.cpp: In constructor 'GCodeIter::GCodeIter(const std::vector&, Settings*, ViewProgress*)': ../src/gcode/gcode.cpp:663:22: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 663 | E_letter('E'), lastPos(Vector3d::ZERO), duration(0), | ^~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/gcode/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/gcode/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/gcode/gcode.cpp:282:21: required from here 282 | Center = (Max + Min)/2; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 3; T = double]': ../src/gcode/gcode.cpp:282:26: required from here 282 | Center = (Max + Min)/2; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/gcode/gcode.cpp:497:36: required from here 497 | pos -= extruder_offset - last_extruder_offset; | ^~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/gcode.cpp: In member function 'void GCode::drawCommands(Settings*, ulong, ulong, bool, uint, bool, bool, bool)': ../src/gcode/gcode.cpp:521:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 521 | if (i==start) { | ^~ ../src/gcode/gcode.cpp:525:9: note: here 525 | case COORDINATEDMOTION: | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o clipper.o ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp: In function 'ClipperLib::Int128 ClipperLib::Int128Mul(long64, long64)': ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp:376:22: warning: implicitly-declared 'ClipperLib::Int128& ClipperLib::Int128::operator=(const ClipperLib::Int128&)' is deprecated [-Wdeprecated-copy] 376 | if (negate) tmp = -tmp; | ^~~ ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp:264:5: note: because 'ClipperLib::Int128' has user-provided 'ClipperLib::Int128::Int128(const ClipperLib::Int128&)' 264 | Int128(const Int128 &val): lo(val.lo), hi(val.hi){} | ^~~~~~ ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp: In function 'void ClipperLib::InitEdge(TEdge*, TEdge*, TEdge*, const IntPoint&)': ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp:721:14: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ClipperLib::TEdge'; use assignment or value-initialization instead [-Wclass-memaccess] 721 | std::memset(e, 0, sizeof(TEdge)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../libraries/clipper/clipper/polyclipping-code/cpp/clipper.cpp:66:8: note: 'struct ClipperLib::TEdge' declared here 66 | struct TEdge { | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o geometry.o ../src/slicer/geometry.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67, from ../src/slicer/geometry.h:22, from ../src/slicer/geometry.cpp:22: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/slicer/../stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/slicer/geometry.cpp:23: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/slicer/geometry.cpp:25: ../src/slicer/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/slicer/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'void evaluate_arcfit(const double*, int, const void*, double*, int*)': ../src/slicer/geometry.cpp:71:34: warning: unused parameter 'info' [-Wunused-parameter] 71 | double *fvec, int *info ) | ~~~~~^~~~ ../src/slicer/geometry.cpp: In function 'bool fit_arc(const std::vector >&, double, Vector2d&, double&)': ../src/slicer/geometry.cpp:141:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | const Vector2d P = points[0]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:142:34: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | const Vector2d Q = points.back(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'Vector3d normalized(const Vector3d&)': ../src/slicer/geometry.cpp:173:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 173 | Vector3d n(v); n.normalize(); return n; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:173:40: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 173 | Vector3d n(v); n.normalize(); return n; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'Vector2d normalized(const Vector2d&)': ../src/slicer/geometry.cpp:176:15: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 176 | Vector2d n(v); n.normalize(); return n; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:176:40: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 176 | Vector2d n(v); n.normalize(); return n; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'void rotArcballTrans(Matrix4fT&, const Vector3d&, double)': ../src/slicer/geometry.cpp:207:28: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, float>::matrix(const vmml::matrix<4, 4, float>&)' is deprecated [-Wdeprecated-copy] 207 | Matrix4f rot = Matrix4f::IDENTITY; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, float>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = float]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:208:22: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 208 | Vector3d naxis(axis); naxis.normalize(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'Vector2d rotated(const Vector2d&, const Vector2d&, double)': ../src/slicer/geometry.cpp:313:15: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 313 | Vector2d r(p); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:315:10: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 315 | return r; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'std::vector dir_thick_line(const Vector2d&, const Vector2d&, double, double)': ../src/slicer/geometry.cpp:384:19: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 384 | Vector2d tdir = fdir; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'bool IntersectXY(const Vector2d&, const Vector2d&, const Vector2d&, const Vector2d&, Intersection&, double)': ../src/slicer/geometry.cpp:448:36: warning: unused parameter 'maxoffset' [-Wunused-parameter] 448 | Intersection &hit, double maxoffset) | ~~~~~~~^~~~~~~~~ ../src/slicer/geometry.cpp: In function 'bool shortestPath(const Vector2d&, const Vector2d&, const std::vector&, int, std::vector >&, double)': ../src/slicer/geometry.cpp:729:34: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 729 | pointList.push_back(pathpoint({from, 0, 0})); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:732:65: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 732 | pointList.push_back(pathpoint({polys[i].vertices[j], 0, 0})); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp:733:34: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 733 | pointList.push_back(pathpoint({to, 0, 0})); | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/geometry.cpp: In function 'Poly convexHull2D(const std::vector&)': ../src/slicer/geometry.cpp:856:14: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 856 | while (k >= t && cross_2(H[k-2], H[k-1], P[i].v) <= 0) k--; | ~~^~~~ ../src/slicer/geometry.cpp: In function 'int delaunayTriang(const std::vector >&, std::vector&, double)': ../src/slicer/geometry.cpp:997:44: warning: unused parameter 'points' [-Wunused-parameter] 997 | int delaunayTriang(const vector &points, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../src/slicer/geometry.cpp:998:30: warning: unused parameter 'triangles' [-Wunused-parameter] 998 | vector &triangles, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../src/slicer/geometry.cpp:999:19: warning: unused parameter 'z' [-Wunused-parameter] 999 | double z) | ~~~~~~~^ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/slicer/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/geometry.cpp:81:55: required from here 81 | const double distance_sq = center.squared_distance(arcpoint); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/geometry.cpp:143:31: required from here 143 | const Vector2d startxy = (P+Q)/2.; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 2; T = double]': ../src/slicer/geometry.cpp:143:34: required from here 143 | const Vector2d startxy = (P+Q)/2.; | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = float]': ../src/slicer/geometry.cpp:169:29: required from here 169 | mat.set_translation(trans+delta); | ^~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, float>::vector(const vmml::vector<3, float>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, float>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = float]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = float]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, float> vmml::matrix<4, 4, float>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/slicer/geometry.cpp:207:28: required from here 207 | Matrix4f rot = Matrix4f::IDENTITY; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, float>::matrix(const vmml::matrix<4, 4, float>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, float>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = float]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::matrix vmml::matrix::operator*(const vmml::matrix&) const [with long unsigned int P = 4; long unsigned int M = 4; long unsigned int N = 4; T = float]': ../src/slicer/geometry.cpp:216:16: required from here 216 | matf = rot * matf; | ^~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1057:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, float>::matrix(const vmml::matrix<4, 4, float>&)' is deprecated [-Wdeprecated-copy] 1057 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, float>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = float]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/geometry.cpp:227:38: required from here 227 | double angle = planeAngleBetween(A-center, B-center, ccw) / 2.; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::cross(const vmml::vector&, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]': ../src/slicer/geometry.cpp:282:18: required from here 282 | return A3.cross(B3); | ~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1130:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1130 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 2; T = double]': ../src/slicer/geometry.cpp:339:28: required from here 339 | onseg = s1 + (s2 - s1) * t; // Projection falls on the segment | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/geometry.cpp:595:28: required from here 595 | Vector3d u = S1P1 - S1P0; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/slicer/geometry.cpp:658:29: required from here 658 | Vector3d dP = w + (u * sc ) - (v * tc); // = S1(sc) - S2(tc) | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/geometry.cpp:658:32: required from here 658 | Vector3d dP = w + (u * sc ) - (v * tc); // = S1(sc) - S2(tc) | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o render.o ../src/render.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/render.h:24, from ../src/render.cpp:20: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/platform.h:37, from ../src/stdafx.h:51, from ../src/render.cpp:19: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/files.h:26, from ../src/model.h:26, from ../src/render.cpp:24: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36, from ../src/objlist.h:24, from ../src/model.h:29: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/render.cpp: In member function 'Vector3d Render::mouse_on_plane(int, int, double)': ../src/render.cpp:201:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 201 | return downP; | ^~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/render.cpp:203:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 203 | else return rayP[0]; | ~~~~~~^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/render.cpp: In member function 'void Render::draw_string(const Vector3d&, std::string)': ../src/render.cpp:311:9: warning: unused variable 'width' [-Wunused-variable] 311 | int width = this->width(); | ^~~~~ ../src/render.cpp: In member function 'virtual void Render::keyPressEvent(QKeyEvent*)': ../src/render.cpp:439:56: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 439 | if (cntrl) get_model()->rotate_selection(&m_selection, Vector3d::UNIT_X, tendeg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.h:184:75: note: initializing argument 2 of 'void Model::rotate_selection(QModelIndexList*, Vector3d, double)' 184 | void rotate_selection(QModelIndexList * selection, const Vector3d axis, | ~~~~~~~~~~~~~~~^~~~ ../src/render.cpp:451:56: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 451 | if (cntrl) get_model()->rotate_selection(&m_selection, Vector3d::UNIT_X, -tendeg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.h:184:75: note: initializing argument 2 of 'void Model::rotate_selection(QModelIndexList*, Vector3d, double)' 184 | void rotate_selection(QModelIndexList * selection, const Vector3d axis, | ~~~~~~~~~~~~~~~^~~~ ../src/render.cpp:463:56: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 463 | if (cntrl) get_model()->rotate_selection(&m_selection, Vector3d::UNIT_Z, tendeg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.h:184:75: note: initializing argument 2 of 'void Model::rotate_selection(QModelIndexList*, Vector3d, double)' 184 | void rotate_selection(QModelIndexList * selection, const Vector3d axis, | ~~~~~~~~~~~~~~~^~~~ ../src/render.cpp:474:56: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 474 | if (cntrl) get_model()->rotate_selection(&m_selection, Vector3d::UNIT_Z, -tendeg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.h:184:75: note: initializing argument 2 of 'void Model::rotate_selection(QModelIndexList*, Vector3d, double)' 184 | void rotate_selection(QModelIndexList * selection, const Vector3d axis, | ~~~~~~~~~~~~~~~^~~~ ../src/render.cpp: In member function 'virtual void Render::leaveEvent(QEvent*)': ../src/render.cpp:526:33: warning: unused parameter 'event' [-Wunused-parameter] 526 | void Render::leaveEvent(QEvent *event) { | ~~~~~~~~^~~~~ ../src/render.cpp: In member function 'virtual void Render::mouseMoveEvent(QMouseEvent*)': ../src/render.cpp:567:40: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 567 | get_model()->move_selection(&m_selection, delta3fz); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.h:186:73: note: initializing argument 2 of 'void Model::move_selection(QModelIndexList*, Vector3d)' 186 | void move_selection(QModelIndexList * selection, const Vector3d move); | ~~~~~~~~~~~~~~~^~~~ ../src/render.cpp:598:42: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 598 | get_model()->rotate_selection(&m_selection, axis, delta.manhattanLength()/100.); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.h:184:75: note: initializing argument 2 of 'void Model::rotate_selection(QModelIndexList*, Vector3d, double)' 184 | void rotate_selection(QModelIndexList * selection, const Vector3d axis, | ~~~~~~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/render.cpp:131:33: required from here 131 | m_zoom = (model->Max - model->Min).find_max(); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/render.cpp:200:53: required from here 200 | Vector3d downP = rayP[0] + (rayP[1]-rayP[0]) * t; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/render.cpp:200:53: required from here 200 | Vector3d downP = rayP[0] + (rayP[1]-rayP[0]) * t; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-() const [with long unsigned int M = 3; T = double]': ../src/render.cpp:456:56: required from here 456 | moveArcballTrans(m_transform, -Vector3d::UNIT_Y); | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:962:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 962 | vector< M, T > v( *this ); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:963:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 963 | return v.negate(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/gcode/gcode.h -o moc_gcode.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o infillpattern.o ../src/slicer/infillpattern.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67, from ../src/slicer/infillpattern.h:23, from ../src/slicer/infillpattern.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/slicer/../stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/slicer/clipping.h:26, from ../src/slicer/infillpattern.h:24: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/infillpattern.cpp: In member function 'void HilbertPattern::move(int, std::vector >&)': ../src/slicer/infillpattern.cpp:298:23: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 298 | Vector2d d = v.back(); // have one point at least | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/infillpattern.cpp:86:29: required from here 86 | m_center = 0.5 * (min + max); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/infillpattern.cpp:103:26: required from here 103 | Min = m_center - diag; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 2; T = double]': ../libraries/vmmlib/include/vmmlib/vector.hpp:447:20: required from 'vmml::vector vmml::operator*(T, const vector&) [with long unsigned int M = 2; T = double]' 447 | return vector_ * factor; | ~~~~~~~~^~~~~~~~ ../src/slicer/infillpattern.cpp:86:32: required from here 86 | m_center = 0.5 * (min + max); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o infill.o ../src/slicer/infill.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67, from ../src/slicer/infill.h:24, from ../src/slicer/infill.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/slicer/../stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/slicer/clipping.h:26, from ../src/slicer/infill.h:25: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/slicer/infill.cpp:22: ../src/slicer/layer.h: In member function 'Vector2d Layer::getMin() const': ../src/slicer/layer.h:60:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 60 | Vector2d getMin() const {return Min;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMax() const': ../src/slicer/layer.h:61:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 61 | Vector2d getMax() const {return Max;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/infill.cpp: In member function 'void Infill::makeBaseInfillPattern(const Vector2d&, const Vector2d&)': ../src/slicer/infill.cpp:130:12: warning: enumeration value 'PolyInfill' not handled in switch [-Wswitch] 130 | switch (m_type) { | ^ ../src/slicer/infill.cpp:130:12: warning: enumeration value 'ZigzagInfill' not handled in switch [-Wswitch] ../src/slicer/infill.cpp:130:12: warning: enumeration value 'ThinInfill' not handled in switch [-Wswitch] ../src/slicer/infill.cpp:130:12: warning: enumeration value 'INVALIDINFILL' not handled in switch [-Wswitch] ../src/slicer/infill.cpp: In member function 'std::vector Infill::sortedpolysfromlines(const std::vector&, const std::vector&, double)': ../src/slicer/infill.cpp:309:31: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 309 | Vector2d conn1, conn2 = l1; | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/infill.cpp:344:37: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 344 | if (minind < 2) { p.push_front(l1); p.push_front(l2); } | ~~~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:145:34: note: initializing argument 1 of 'void Poly::push_front(Vector2d)' 145 | void push_front(Vector2d v) { | ~~~~~~~~~^ ../src/slicer/infill.cpp:344:55: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 344 | if (minind < 2) { p.push_front(l1); p.push_front(l2); } | ~~~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:145:34: note: initializing argument 1 of 'void Poly::push_front(Vector2d)' 145 | void push_front(Vector2d v) { | ~~~~~~~~~^ ../src/slicer/infill.cpp:345:36: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 345 | else { p.push_back(l1); p.push_back(l2); } | ~~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:143:34: note: initializing argument 1 of 'void Poly::push_back(Vector2d)' 143 | void push_back (Vector2d v) { | ~~~~~~~~~^ ../src/slicer/infill.cpp:345:54: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 345 | else { p.push_back(l1); p.push_back(l2); } | ~~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:143:34: note: initializing argument 1 of 'void Poly::push_back(Vector2d)' 143 | void push_back (Vector2d v) { | ~~~~~~~~~^ ../src/slicer/infill.cpp: In constructor 'InfillSet::InfillSet(Settings&, const Vector2d&, const Vector2d&)': ../src/slicer/infill.cpp:431:10: warning: variable 'shellOnly' set but not used [-Wunused-but-set-variable] 431 | bool shellOnly = !settings.get_boolean("Slicing/DoInfill"); | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/infill.cpp:292:37: required from here 292 | dist[0] = (p.front()-lines[j].from).squared_length(); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/infill.cpp:419:43: required from here 419 | const Vector2d center = 0.5 * (mmin + mmax); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 2; T = double]': ../src/slicer/infill.cpp:421:40: required from here 421 | const Vector2d min = center - diag*1.1; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/printer/printer.h -o moc_printer.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/settings.h -o moc_settings.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/model.h -o moc_model.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o command.o ../src/gcode/command.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/gcode/../stdafx.h:67, from ../src/gcode/command.h:22, from ../src/gcode/gcode.h:32, from ../src/gcode/command.cpp:24: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/gcode/gcode.h:21: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/gcode/../files.h:26, from ../src/gcode/../model.h:26, from ../src/gcode/command.cpp:25: ../src/gcode/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/gcode/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/gcode/../shape.h:36, from ../src/gcode/../objlist.h:24, from ../src/gcode/../model.h:29: ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/gcode/../slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/gcode/../slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/../slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/gcode/../slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp: In constructor 'Command::Command(GCodes, const Vector3d&, double, double)': ../src/gcode/command.cpp:58:17: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 58 | : Code(code), where(position), is_motion(true), | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp: In copy constructor 'Command::Command(const Command&)': ../src/gcode/command.cpp:79:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 79 | : Code(rhs.Code), where(rhs.where), arcIJK(rhs.arcIJK), | ^~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:79:39: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 79 | : Code(rhs.Code), where(rhs.where), arcIJK(rhs.arcIJK), | ^~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp: In constructor 'Command::Command(std::string, const Vector3d&)': ../src/gcode/command.cpp:110:5: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 110 | : where(defaultpos), arcIJK(Vector3d::ZERO), is_motion(true), | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:110:24: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 110 | : where(defaultpos), arcIJK(Vector3d::ZERO), is_motion(true), | ^~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp: In member function 'std::string Command::GetGCodeText(Vector3d&, double&, double&, bool, char, bool) const': ../src/gcode/command.cpp:238:3: warning: attributes at the beginning of statement are ignored [-Wattributes] 238 | [[clang::fallthrough]]; | ^~~~~~~~~~~~~~~~~~~~~~ ../src/gcode/command.cpp:302:3: warning: attributes at the beginning of statement are ignored [-Wattributes] 302 | [[clang::fallthrough]]; | ^~~~~~~~~~~~~~~~~~~~~~ ../src/gcode/command.cpp: In function 'void draw_arc(Vector3d&, Vector3d, double, double)': ../src/gcode/command.cpp:368:39: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 368 | arcpoint = center + radiusv.rotate(a, axis); | ~~~~~~~~~~~~~~^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1241:71: note: initializing argument 2 of 'vmml::vector<3, T> vmml::vector::rotate(T, vmml::vector, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]' 1241 | vector< 3, T > vector< M, T >::rotate( const T theta, vector< M, TT > axis, | ~~~~~~~~~~~~~~~~^~~~ ../src/gcode/command.cpp: In member function 'void Command::draw(Vector3d&, const Vector3d&, double, bool, bool) const': ../src/gcode/command.cpp:409:27: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 409 | Vector3d arcstart = off_lastPos; | ^~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:410:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 410 | draw_arc(off_lastPos, center, angle, dz); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:358:43: note: initializing argument 2 of 'void draw_arc(Vector3d&, Vector3d, double, double)' 358 | void draw_arc(Vector3d &lastPos, Vector3d center, double angle, double dz) | ~~~~~~~~~^~~~~~ ../src/gcode/command.cpp:416:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 416 | Vector3d normarcIJK(arcIJK); normarcIJK.normalize(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:420:19: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 420 | draw_arc(offstart, center, angle, dz); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:358:43: note: initializing argument 2 of 'void draw_arc(Vector3d&, Vector3d, double, double)' 358 | void draw_arc(Vector3d &lastPos, Vector3d center, double angle, double dz) | ~~~~~~~~~^~~~~~ ../src/gcode/command.cpp:422:19: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 422 | draw_arc(offstart, center, angle, dz); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp:358:43: note: initializing argument 2 of 'void draw_arc(Vector3d&, Vector3d, double, double)' 358 | void draw_arc(Vector3d &lastPos, Vector3d center, double angle, double dz) | ~~~~~~~~~^~~~~~ ../src/gcode/command.cpp: In member function 'double Command::time(const Vector3d&) const': ../src/gcode/command.cpp:528:22: warning: attributes at the beginning of statement are ignored [-Wattributes] 528 | ccw = false; [[clang::fallthrough]]; | ^~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/gcode/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/gcode/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/gcode/command.cpp:185:32: required from here 185 | && where.squared_distance(*LastPos) < 0.000001 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/gcode/command.cpp:242:32: required from here 242 | Vector3d delta = where - LastPos; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/gcode/command.cpp:368:47: required from here 368 | arcpoint = center + radiusv.rotate(a, axis); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-() const [with long unsigned int M = 3; T = double]': ../src/gcode/command.cpp:407:33: required from here 407 | double angle = calcAngle(-arcIJK, off_where - center, ccw); | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:962:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 962 | vector< M, T > v( *this ); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:963:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 963 | return v.negate(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/gcode/command.cpp:417:41: required from here 417 | Vector3d dradius = normarcIJK*extrwidth/2; | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 3; T = double]': ../src/gcode/command.cpp:417:51: required from here 417 | Vector3d dradius = normarcIJK*extrwidth/2; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/gcode/command.cpp: In member function 'std::string Command::GetGCodeText(Vector3d&, double&, double&, bool, char, bool) const': ../src/gcode/command.cpp:237:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 237 | if (abs(arcIJK.z())>0.01) ostr << " K" << arcIJK.z(); | ^~ ../src/gcode/command.cpp:239:3: note: here 239 | case RAPIDMOTION: | ^~~~ ../src/gcode/command.cpp:301:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 301 | } | ^ ../src/gcode/command.cpp:303:3: note: here 303 | case SETSPEED: | ^~~~ ../src/gcode/command.cpp: In member function 'double Command::time(const Vector3d&) const': ../src/gcode/command.cpp:528:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 528 | ccw = false; [[clang::fallthrough]]; | ~~~~^~~~~~~ ../src/gcode/command.cpp:529:5: note: here 529 | case ARC_CCW: { | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o settings.o ../src/settings.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from ../src/settings.cpp:37: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from ../src/settings.cpp:22: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/slicer/clipping.h:26, from ../src/slicer/infill.h:25, from ../src/settings.cpp:44: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/settings.cpp: In member function 'QString Settings::info()': ../src/settings.cpp:210:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 210 | s << "I " << g << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from ../src/settings.cpp:27: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/settings.cpp:213:67: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 213 | s << "I \t" << k << "\t = " << value(k).toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/settings.cpp: In member function 'bool Settings::load_from_data(const QString&)': ../src/settings.cpp:227:47: warning: unused parameter 'data' [-Wunused-parameter] 227 | bool Settings::load_from_data (const QString &data) { | ~~~~~~~~~~~~~~~^~~~ ../src/settings.cpp: In member function 'void Settings::convert_old_colour(const QString&, const QString&)': ../src/settings.cpp:328:70: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 328 | QTextStream(stderr) << "converting old "<< group << "_" << key <::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 917 | return T; | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../src/settings.cpp: In member function 'Vector3d Settings::getPrintMargin()': ../src/settings.cpp:933:31: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 933 | Vector3d maxoff = Vector3d::ZERO; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/settings.cpp: In member function 'void Settings::get_from_gui()': ../src/settings.cpp:1091:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1091 | << name << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/settings.cpp:947:19: required from here 947 | return margin + maxoff; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../settings.h: In instantiation of 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = ExtruderSettings; _Args = {const ExtruderSettings&}; _Tp = ExtruderSettings]': /usr/include/c++/15/bits/alloc_traits.h:674:17: required from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = ExtruderSettings; _Args = {const ExtruderSettings&}; _Tp = ExtruderSettings; allocator_type = std::allocator]' 674 | __a.construct(__p, std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_vector.h:1421:30: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = ExtruderSettings; _Alloc = std::allocator; value_type = ExtruderSettings]' 1421 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1422 | __x); | ~~~~ ../src/settings.cpp:793:27: required from here 793 | settings.push_back(extruder); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/ui/../settings.h:55:3: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 55 | } ExtruderSettings; | ^~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../settings.h:55:3: warning: implicitly-declared 'constexpr vmml::vector<4, float>::vector(const vmml::vector<4, float>&)' is deprecated [-Wdeprecated-copy] 55 | } ExtruderSettings; | ^~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<4, float>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 4; T = float]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/x86_64-mageia-linux/bits/c++allocator.h:33, from /usr/include/c++/15/bits/allocator.h:46, from /usr/include/c++/15/string:45: /usr/include/c++/15/bits/new_allocator.h:191:11: note: synthesized method 'ExtruderSettings::ExtruderSettings(const ExtruderSettings&)' first required here 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/ui/../settings.h: In instantiation of 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = ExtruderSettings; _Args = {ExtruderSettings}]': /usr/include/c++/15/bits/stl_uninitialized.h:145:17: required from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _Sentinel, _ForwardIterator) [with _InputIterator = move_iterator; _Sentinel = move_iterator; _ForwardIterator = ExtruderSettings*]' 145 | std::_Construct(std::__addressof(*__result), *__first); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_uninitialized.h:266:30: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = move_iterator; _ForwardIterator = ExtruderSettings*]' 266 | return std::__do_uninit_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_uninitialized.h:637:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _Sentinel, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = move_iterator; _Sentinel = move_iterator; _ForwardIterator = ExtruderSettings*; _Tp = ExtruderSettings]' 637 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_uninitialized.h:664:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = ExtruderSettings*; _ForwardIterator = ExtruderSettings*; _Allocator = allocator]' 663 | return std::__uninitialized_copy_a | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 664 | (_GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__first), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR(__last), __result, __alloc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/vector.tcc:628:60: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_append(_Args&& ...) [with _Args = {const ExtruderSettings&}; _Tp = ExtruderSettings; _Alloc = std::allocator]' 628 | __new_finish = std::__uninitialized_move_if_noexcept_a( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 629 | __old_start, __old_finish, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 630 | __new_start, _M_get_Tp_allocator()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_vector.h:1427:21: required from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = ExtruderSettings; _Alloc = std::allocator; value_type = ExtruderSettings]' 1427 | _M_realloc_append(__x); | ~~~~~~~~~~~~~~~~~^~~~~ ../src/settings.cpp:793:27: required from here 793 | settings.push_back(extruder); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../src/ui/../settings.h:55:3: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 55 | } ExtruderSettings; | ^~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../settings.h:55:3: warning: implicitly-declared 'constexpr vmml::vector<4, float>::vector(const vmml::vector<4, float>&)' is deprecated [-Wdeprecated-copy] 55 | } ExtruderSettings; | ^~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<4, float>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 4; T = float]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/alloc_traits.h:33, from /usr/include/c++/15/ext/alloc_traits.h:36, from /usr/include/c++/15/bits/basic_string.h:41, from /usr/include/c++/15/string:56: /usr/include/c++/15/bits/stl_construct.h:133:7: note: synthesized method 'ExtruderSettings::ExtruderSettings(ExtruderSettings&&)' first required here 133 | ::new(static_cast(__p)) _Tp(std::forward<_Args>(__args)...); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/settings.cpp: At global scope: ../src/settings.cpp:93:22: warning: 'std::vector toFloats(QStringList&)' defined but not used [-Wunused-function] 93 | static vector toFloats(QStringList &slist) | ^~~~~~~~ ../src/settings.cpp:72:13: warning: 'bool group_key_split(const QString&, QString&, QString&)' defined but not used [-Wunused-function] 72 | static bool group_key_split(const QString &widget_name, QString &group, QString &key) { | ^~~~~~~~~~~~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include mainwindow.h -o moc_mainwindow.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/ui/progress.h -o moc_progress.cpp /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/render.h -o moc_render.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o model.o ../src/model.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/render.h:24, from ../src/model.cpp:41: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/gcode/../platform.h:37, from ../src/gcode/../stdafx.h:51, from ../src/gcode/../settings.h:31, from ../src/gcode/gcodestate.h:22, from ../src/model.cpp:31: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/gcode/../stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/model.cpp:21: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/files.h:26, from ../src/model.h:26, from ../src/model.cpp:34: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36, from ../src/objlist.h:24, from ../src/model.h:29: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/model.cpp:36: ../src/slicer/layer.h: In member function 'Vector2d Layer::getMin() const': ../src/slicer/layer.h:60:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 60 | Vector2d getMin() const {return Min;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMax() const': ../src/slicer/layer.h:61:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 61 | Vector2d getMax() const {return Max;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.cpp: In member function 'void Model::WriteGCode(QFile*)': ../src/model.cpp:169:26: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | fstream << contents << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from ../src/gcode/../stdafx.h:37: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/model.cpp: In member function 'void Model::SaveStl(QFile*)': ../src/model.cpp:244:78: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 244 | fstream << QString::fromStdString(shapes[s]->getSTLsolid()) << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/model.cpp: In member function 'Vector3d Model::FindEmptyLocation(const std::vector&, const Vector2d&)': ../src/model.cpp:410:45: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 410 | if (fixedshapes.empty()) return Vector3d::ZERO; | ~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.cpp: In member function 'int Model::DivideShapeAtZ(ListObject*, Shape*, QString)': ../src/model.cpp:514:26: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 514 | Matrix4d T = Matrix4d::IDENTITY; //FIXME! objtree.GetSTLTransformationMatrix(parent); | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../src/model.cpp: In member function 'void Model::RotateObject(Shape*, ListObject*, Vector4d)': ../src/model.cpp:611:52: warning: unused parameter 'object' [-Wunused-parameter] 611 | void Model::RotateObject(Shape* shape, ListObject* object, Vector4d rotate) | ~~~~~~~~~~~~^~~~~~ ../src/model.cpp: In member function 'void Model::TwistObject(Shape*, ListObject*, double)': ../src/model.cpp:621:51: warning: unused parameter 'object' [-Wunused-parameter] 621 | void Model::TwistObject(Shape *shape, ListObject *object, double angle) | ~~~~~~~~~~~~^~~~~~ ../src/model.cpp: In member function 'void Model::OptimizeRotation(Shape*, ListObject*)': ../src/model.cpp:630:56: warning: unused parameter 'object' [-Wunused-parameter] 630 | void Model::OptimizeRotation(Shape *shape, ListObject *object) | ~~~~~~~~~~~~^~~~~~ ../src/model.cpp: In member function 'void Model::CalcBoundingBoxAndCenter(bool)': ../src/model.cpp:786:34: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 786 | Vector3d stlMin = shapes[s]->Min; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.cpp:787:34: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 787 | Vector3d stlMax = shapes[s]->Max; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/model.cpp: In member function 'Layer* Model::calcSingleLayer(double, uint, double, bool, bool, ulong)': ../src/model.cpp:1157:28: warning: operation on 'supportangle' may be undefined [-Wsequence-point] 1157 | supportangle = settings->get_double("Slicing/SupportAngle")*M_PI/180. | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/model.cpp:202:83: required from here 202 | shape->FitToVolume(settings->getPrintVolume() - 2.*settings->getPrintMargin()); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/model.cpp:327:19: required from here 327 | Center = (Max + Min) / 2.0; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 3; T = double]': ../src/model.cpp:327:26: required from here 327 | Center = (Max + Min) / 2.0; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/model.cpp:437:54: required from here 437 | if (sh->inRectangle(candidate, candidate + diag)) { | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-() const [with long unsigned int M = 3; T = double]': ../src/model.cpp:863:40: required from here 863 | offset = -preview_shapes[i]->Center; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:962:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 962 | vector< M, T > v( *this ); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:963:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 963 | return v.negate(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/model.cpp:1238:74: required from here 1238 | measuresPoint = (point - settings->getPrintMargin().get_sub_vector<2>(0)); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../libraries/vmmlib/include/vmmlib/vector.hpp:447:20: required from 'vmml::vector vmml::operator*(T, const vector&) [with long unsigned int M = 3; T = double]' 447 | return vector_ * factor; | ~~~~~~~~^~~~~~~~ ../src/model.cpp:202:83: required from here 202 | shape->FitToVolume(settings->getPrintVolume() - 2.*settings->getPrintMargin()); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ /usr/lib64/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries/vmmlib/include -I/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I/usr/include/c++/15 -I/usr/include/c++/15/x86_64-mageia-linux -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-mageia-linux/15/include -I/usr/local/include -I/usr/include ../src/ui/prefs_dlg.h -o moc_prefs_dlg.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o transform3d.o ../src/transform3d.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/transform3d.h:22, from ../src/transform3d.cpp:21: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../src/transform3d.cpp: In member function 'Vector3d Transform3D::getTranslation() const': ../src/transform3d.cpp:57:10: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 57 | return p; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/transform3d.cpp: In member function 'void Transform3D::rotate(const Vector3d&, const Vector3d&, double)': ../src/transform3d.cpp:122:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 122 | Vector3d naxis = axis; naxis.normalize(); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/transform3d.cpp: In member function 'void Transform3D::rotate(const Vector3d&, double, double, double)': ../src/transform3d.cpp:134:42: warning: unused parameter 'center' [-Wunused-parameter] 134 | void Transform3D::rotate(const Vector3d ¢er, double x, double y, double z) | ~~~~~~~~~~~~~~~~^~~~~~ ../src/transform3d.cpp: In member function 'Matrix4d Transform3D::getInverse() const': ../src/transform3d.cpp:165:10: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 165 | return im; | ^~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/transform3d.cpp:27:29: required from here 27 | m_transform = Matrix4d::IDENTITY; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::matrix vmml::matrix::operator*(const vmml::matrix&) const [with long unsigned int P = 4; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.cpp:29:32: required from here 29 | m_transform = m_rottrans * m_transform; | ^~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1057:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 1057 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/transform3d.cpp:63:60: required from here 63 | m_rottrans.set_translation(trans + delta * m_rottrans(3,3)); // unscale delta | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/transform3d.cpp:63:60: required from here 63 | m_rottrans.set_translation(trans + delta * m_rottrans(3,3)); // unscale delta | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-() const [with long unsigned int M = 3; T = double]': ../src/transform3d.cpp:125:9: required from here 125 | move(-center); | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:962:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 962 | vector< M, T > v( *this ); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:963:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 963 | return v.negate(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o shape.o ../src/shape.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/render.h:24, from ../src/shape.cpp:26: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/platform.h:37, from ../src/stdafx.h:51, from ../src/transform3d.h:22, from ../src/shape.h:32, from ../src/shape.cpp:21: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/shape.h:23: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/shape.h:34: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/shape.cpp: In constructor 'Shape::Shape()': ../src/shape.cpp:35:5: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | Min(Vector3d::ZERO), Max(Vector3d::ZERO), | ^~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/shape.cpp:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | Min(Vector3d::ZERO), Max(Vector3d::ZERO), | ^~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/shape.cpp: In member function 'void Shape::Twist(double)': ../src/shape.cpp:547:49: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 547 | triangles[i][j] = triangles[i][j].rotate(hangle,axis); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1241:71: note: initializing argument 2 of 'vmml::vector<3, T> vmml::vector::rotate(T, vmml::vector, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]' 1241 | vector< 3, T > vector< M, T >::rotate( const T theta, vector< M, TT > axis, | ~~~~~~~~~~~~~~~~^~~~ ../src/shape.cpp: In member function 'std::vector Shape::getCutlines(const Matrix4d&, double, std::vector >&, double&, std::vector&, double, double) const': ../src/shape.cpp:815:63: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 815 | Vector3d Norm = triangles[i].transformed(transform).Normal; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/shape.cpp: In member function 'void Shape::draw(Settings*, bool, uint, int)': ../src/shape.cpp:890:38: warning: operation on 'supportangle' may be undefined [-Wsequence-point] 890 | supportangle = settings->get_double("Slicing/SupportAngle")*M_PI/180. | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/shape.cpp:181:29: required from here 181 | const Vector3d diag = Max-Min; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/shape.cpp:186:33: required from here 186 | c.push_back(Triangle(Min, Min+dX, Min+dX+dZ)); | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::matrix vmml::matrix::operator*(const vmml::matrix&) const [with long unsigned int P = 4; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/shape.cpp:280:65: required from here 280 | tr[i] = triangles[i].transformed(T*transform3D.getTransform()); | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1057:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 1057 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-() const [with long unsigned int M = 3; T = double]': ../src/shape.cpp:322:21: required from here 322 | transform3D.move(-Center); | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:962:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 962 | vector< M, T > v( *this ); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:963:21: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 963 | return v.negate(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 3; T = double]': ../src/shape.cpp:379:26: required from here 379 | Center = (Max + Min) / 2; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/shape.cpp:387:41: required from here 387 | return Center * transform3D.get_scale(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::cross(const vmml::vector&, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]': ../src/shape.cpp:448:30: required from here 448 | Vector3d axis = N.cross(Z); | ~~~~~~~^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1130:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1130 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/shape.cpp:750:22: required from here 750 | if ((v-vertices[i]).squared_length() < delta ) { | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/shape.cpp:1263:60: required from here 1263 | double dist_sq = p.squared_distance(q); | ~~~~~~~~~~~~~~~~~~^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from mainwindow.h:30, from main.cpp:1: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qmainwindow.h:44, from /usr/include/qt5/QtWidgets/QMainWindow:1, from mainwindow.h:23: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o progress.o ../src/ui/progress.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../files.h:23, from ../src/ui/../model.h:26, from ../src/ui/progress.cpp:21: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/QFile:1, from ../src/ui/../model.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/ui/../files.h:26: ../src/ui/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/ui/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/ui/../shape.h:36, from ../src/ui/../objlist.h:24, from ../src/ui/../model.h:29: ../src/ui/../slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/ui/../slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/ui/../slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/../slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/ui/../slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/ui/progress.cpp: In member function 'bool ViewProgress::restart(const char*, double)': ../src/ui/progress.cpp:64:115: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 64 | QTextStream(stderr) << m_bar->text() << " -- " << _(" done in ") << time_used << _(" seconds") << " " << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from ../src/ui/../stdafx.h:37: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../src/ui/progress.cpp: In member function 'void ViewProgress::stop(const char*)': ../src/ui/progress.cpp:83:117: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 83 | QTextStream(stderr) << m_bar->text() << " -- " << _(" done in ") << time_used << _(" seconds") << " " << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/ui/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/ui/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_settings.o moc_settings.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/settings.h:31, from moc_settings.cpp:10: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_settings.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_progress.o moc_progress.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_printer.o moc_printer.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from ./mainwindow.h:30, from ../src/printer/printer.h:30, from moc_printer.cpp:10: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_printer.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o triangle.o ../src/triangle.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/triangle.h:22, from ../src/triangle.cpp:19: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.cpp: In member function 'void Triangle::invertNormal()': ../src/triangle.cpp:44:19: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 44 | Vector3d swap = A; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.cpp: In member function 'Vector3d Triangle::GetMax(const Matrix4d&) const': ../src/triangle.cpp:163:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 163 | return max; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.cpp: In member function 'Vector3d Triangle::GetMin(const Matrix4d&) const': ../src/triangle.cpp:175:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 175 | return min; | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.cpp: In member function 'void Triangle::rotate(const Vector3d&, double)': ../src/triangle.cpp:197:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 197 | A = A.rotate(angle, axis); | ~~~~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1241:71: note: initializing argument 2 of 'vmml::vector<3, T> vmml::vector::rotate(T, vmml::vector, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]' 1241 | vector< 3, T > vector< M, T >::rotate( const T theta, vector< M, TT > axis, | ~~~~~~~~~~~~~~~~^~~~ ../src/triangle.cpp:198:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 198 | B = B.rotate(angle, axis); | ~~~~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1241:71: note: initializing argument 2 of 'vmml::vector<3, T> vmml::vector::rotate(T, vmml::vector, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]' 1241 | vector< 3, T > vector< M, T >::rotate( const T theta, vector< M, TT > axis, | ~~~~~~~~~~~~~~~~^~~~ ../src/triangle.cpp:199:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 199 | C = C.rotate(angle, axis); | ~~~~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1241:71: note: initializing argument 2 of 'vmml::vector<3, T> vmml::vector::rotate(T, vmml::vector, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]' 1241 | vector< 3, T > vector< M, T >::rotate( const T theta, vector< M, TT > axis, | ~~~~~~~~~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/triangle.cpp:31:17: required from here 31 | Vector3d AA=C-A; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::cross(const vmml::vector&, typename vmml::enable_if<(M == 3), TT>::type*) const [with TT = double; long unsigned int M = 3; T = double; typename vmml::enable_if<(M == 3), TT>::type = double]': ../src/triangle.cpp:33:31: required from here 33 | Normal = normalized(AA.cross(BB)); | ~~~~~~~~^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1130:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1130 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/triangle.cpp:38:21: required from here 38 | return Triangle(T*A,T*B,T*C); | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/triangle.cpp:81:45: required from here 81 | if ( A == other[j] || A.squared_distance(other[j]) < maxsqerr){ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 3; T = double]': ../src/triangle.cpp:130:41: required from here 130 | const Vector3d n = T * Normal - trans/scale; | ^~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/triangle.cpp:299:30: required from here 299 | if ((uppertr[i].Normal + TN).length()<0.1) uppertr[i].invertNormal(); | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/triangle.cpp:334:30: required from here 334 | p = TA + (TB - TA) * t; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_gcode.o moc_gcode.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/gcode/../stdafx.h:67, from ../src/gcode/command.h:22, from ../src/gcode/gcode.h:32, from moc_gcode.cpp:10: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_gcode.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from mainwindow.h:30, from moc_mainwindow.cpp:10: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_mainwindow.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_prefs_dlg.o moc_prefs_dlg.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from moc_prefs_dlg.cpp:10: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_prefs_dlg.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o poly.o ../src/slicer/poly.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/slicer/../render.h:24, from ../src/slicer/poly.cpp:26: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/slicer/../platform.h:37, from ../src/slicer/../stdafx.h:51, from ../src/slicer/poly.h:22, from ../src/slicer/poly.cpp:21: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/slicer/../stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/slicer/poly.cpp:23: ../src/slicer/layer.h: In member function 'Vector2d Layer::getMin() const': ../src/slicer/layer.h:60:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 60 | Vector2d getMin() const {return Min;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMax() const': ../src/slicer/layer.h:61:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 61 | Vector2d getMax() const {return Max;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/slicer/../shape.h:34, from ../src/slicer/poly.cpp:24: ../src/slicer/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/slicer/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'void Poly::calcHole() const': ../src/slicer/poly.cpp:157:40: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 157 | Vector2d V1 = getVertexCircular(v-1); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp:158:38: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 158 | Vector2d V2 = getVertexCircular(v); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp:159:40: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 159 | Vector2d V3 = getVertexCircular(v+1); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'Vector2d Poly::getCenter() const': ../src/slicer/poly.cpp:177:10: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 177 | return center; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'bool Poly::vertexInside2(const Vector2d&, double) const': ../src/slicer/poly.cpp:342:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 342 | const Vector2d P1 = getVertexCircular(i-1); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp:343:37: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 343 | const Vector2d P2 = vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'bool Poly::vertexInside(const Vector2d&, double) const': ../src/slicer/poly.cpp:360:51: warning: unused parameter 'maxoffset' [-Wunused-parameter] 360 | bool Poly::vertexInside(const Vector2d &p, double maxoffset) const | ~~~~~~~^~~~~~~~~ ../src/slicer/poly.cpp: In member function 'Vector3d Poly::getVertexCircular3(long int) const': ../src/slicer/poly.cpp:456:44: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 456 | Vector2d v = getVertexCircular(pointindex); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'void Poly::makeLines(std::vector >&, Vector2d&) const': ../src/slicer/poly.cpp:539:37: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 539 | startPoint = Vector2d(lines.back()); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'std::vector > Poly::getMinMax() const': ../src/slicer/poly.cpp:646:66: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 646 | if (vertices.size() == 0) return {Vector2d::ZERO,Vector2d::ZERO}; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/vector:68, from /usr/include/qt5/QtCore/qvector.h:53, from /usr/include/qt5/QtCore/qlist.h:48: /usr/include/c++/15/bits/stl_vector.h:708:43: note: initializing argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = vmml::vector<2, double>; _Alloc = std::allocator >; allocator_type = std::allocator >]' 708 | vector(initializer_list __l, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../src/slicer/poly.cpp:646:66: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 646 | if (vertices.size() == 0) return {Vector2d::ZERO,Vector2d::ZERO}; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_vector.h:708:43: note: initializing argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = vmml::vector<2, double>; _Alloc = std::allocator >; allocator_type = std::allocator >]' 708 | vector(initializer_list __l, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../src/slicer/poly.cpp: In member function 'void Poly::draw(GLuint, double, bool) const': ../src/slicer/poly.cpp:730:42: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 730 | Vector2d vn = getVertexCircular(i+1); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In function 'void draw_polys_surface(const std::vector&, const Vector2d&, const Vector2d&, double, double, const float*, float)': ../src/slicer/poly.cpp:959:29: warning: unused parameter 'Min' [-Wunused-parameter] 959 | const Vector2d &Min, const Vector2d &Max, | ~~~~~~~~~~~~~~~~^~~ ../src/slicer/poly.cpp:959:50: warning: unused parameter 'Max' [-Wunused-parameter] 959 | const Vector2d &Min, const Vector2d &Max, | ~~~~~~~~~~~~~~~~^~~ ../src/slicer/poly.cpp:960:20: warning: unused parameter 'z' [-Wunused-parameter] 960 | double z, | ~~~~~~~^ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/slicer/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/slicer/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 2; long unsigned int M = 3; long unsigned int N = 3; T = double]': ../src/slicer/poly.cpp:206:33: required from here 206 | vertices[i] = T * vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/poly.cpp:231:37: required from here 231 | double d = from.squared_distance(vertices[i]); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/poly.cpp:267:26: required from here 267 | mindist = (vertices[0]-p).squared_length(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/poly.cpp:786:28: required from here 786 | render->draw_string((v+v2)/2., oss.str()); | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator/(T) const [with long unsigned int M = 3; T = double]': ../src/slicer/poly.cpp:786:32: required from here 786 | render->draw_string((v+v2)/2., oss.str()); | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:876:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 876 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.cpp: In member function 'double Poly::shortestConnectionSq(const Poly&, Vector2d&, Vector2d&) const': ../src/slicer/poly.cpp:288:12: warning: '*(__int128 unsigned*)((char*)&onpoint1 + offsetof(vmml::Vector2d, vmml::vector<2, double>::array[0]))' may be used uninitialized [-Wmaybe-uninitialized] 288 | Vector2d onpoint1, onpoint2; | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_model.o moc_model.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67, from ../src/files.h:23, from ../src/model.h:26, from moc_model.cpp:10: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_model.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/files.h:26: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36, from ../src/objlist.h:24, from ../src/model.h:29: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o layer.o ../src/slicer/layer.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/slicer/../render.h:24, from ../src/slicer/layer.cpp:24: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/slicer/../platform.h:37, from ../src/slicer/../stdafx.h:51, from ../src/slicer/layer.h:22, from ../src/slicer/layer.cpp:21: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from ../src/slicer/../stdafx.h:37: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/slicer/layer.h:28: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMin() const': ../src/slicer/layer.h:60:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 60 | Vector2d getMin() const {return Min;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMax() const': ../src/slicer/layer.h:61:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 61 | Vector2d getMax() const {return Max;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/slicer/../shape.h:34, from ../src/slicer/layer.cpp:23: ../src/slicer/../triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/slicer/../triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/../triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.cpp: In member function 'Vector2d Layer::getRandomPolygonPoint() const': ../src/slicer/layer.cpp:120:36: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 120 | return p.vertices[rand()%p.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.cpp: In member function 'Vector2d Layer::getFarthestPolygonPoint(const Vector2d&) const': ../src/slicer/layer.cpp:124:36: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 124 | if (polygons.size() == 0) return from; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.cpp: In member function 'void Layer::mergeFullPolygons(bool)': ../src/slicer/layer.cpp:387:36: warning: unused parameter 'bridge' [-Wunused-parameter] 387 | void Layer::mergeFullPolygons(bool bridge) | ~~~~~^~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/slicer/../transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/slicer/../triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/layer.cpp:129:41: required from here 129 | double pdist = from.squared_distance(polygons[i][fi]); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/layer.cpp:213:63: required from here 213 | dir += bridgePillars[i][q].center - bridgePillars[i][p].center; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o printlines.o ../src/slicer/printlines.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/slicer/../stdafx.h:67, from ../src/slicer/printlines.h:24, from ../src/slicer/printlines.cpp:20: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/refwrap.h:41, from /usr/include/c++/15/vector:70, from ../src/slicer/printlines.h:21: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/slicer/printlines.cpp:22: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/slicer/printlines.cpp:23: ../src/slicer/layer.h: In member function 'Vector2d Layer::getMin() const': ../src/slicer/layer.h:60:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 60 | Vector2d getMin() const {return Min;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/layer.h: In member function 'Vector2d Layer::getMax() const': ../src/slicer/layer.h:61:35: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 61 | Vector2d getMax() const {return Max;} | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/printlines.cpp: In copy constructor 'PLine3::PLine3(const PLine3&)': ../src/slicer/printlines.cpp:112:17: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 112 | command = rhs.command; | ^~~~~~~ In file included from ../src/slicer/printlines.h:26: ../src/slicer/../gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/slicer/printlines.cpp: In constructor 'PLine3::PLine3(const Command&)': ../src/slicer/printlines.cpp:145:13: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 145 | command = command_; | ^~~~~~~~ ../src/slicer/../gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/slicer/printlines.cpp: In member function 'int PLine3::getCommands(Vector3d&, std::vector&, const double&, const double&, const double&, const double&, const double&, bool) const': ../src/slicer/printlines.cpp:247:71: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 247 | command = Command (gc, lifted_to, extrudedMaterial, travel_speed); | ^ ../src/slicer/../gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/slicer/printlines.cpp:257:86: warning: implicitly-declared 'Command& Command::operator=(const Command&)' is deprecated [-Wdeprecated-copy] 257 | command = Command (COORDINATEDMOTION, lifted_to, extrudedMaterial, travel_speed); | ^ ../src/slicer/../gcode/command.h:155:5: note: because 'Command' has user-provided 'Command::Command(const Command&)' 155 | Command(const Command &rhs); | ^~~~~~~ ../src/slicer/printlines.cpp: In member function 'void Printlines::addLine(PLineArea, uint, std::vector*, std::allocator*> >&, const Vector2d&, const Vector2d&, double, double, double) const': ../src/slicer/printlines.cpp:550:20: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 550 | Vector2d lfrom = from; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/printlines.cpp:552:44: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 552 | const Vector2d lastpos = lines.back()->to; | ^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/printlines.cpp: In member function 'Vector2d Printlines::arcCenter(const PLine2&, const PLine2&, double) const': ../src/slicer/printlines.cpp:991:14: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 991 | return center; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/printlines.cpp: In static member function 'static uint Printlines::divideline(ulong, double, std::vector*>&) [with long unsigned int M = 3; uint = unsigned int; ulong = long unsigned int]': ../src/slicer/printlines.cpp:1302:10: warning: unused variable 'added' [-Wunused-variable] 1302 | uint added = replace(lines, lineindex, newlines); | ^~~~~ ../src/slicer/printlines.cpp: In member function 'bool Printlines::capCorner(PLine2&, PLine2&, double, double, double) const': ../src/slicer/printlines.cpp:1551:23: warning: unused parameter 'optratio' [-Wunused-parameter] 1551 | double optratio) const | ~~~~~~~^~~~~~~~ ../src/slicer/printlines.cpp: In static member function 'static void Printlines::toCommands(const std::vector*, std::allocator*> >&, Settings*, GCodeState&, ViewProgress*)': ../src/slicer/printlines.cpp:1732:44: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1732 | Vector3d lastPos = gc_state.LastPosition(); | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/printlines.cpp:1739:5: warning: unused variable 'linespeed' [-Wunused-variable] 1739 | linespeed = settings->get_double("Hardware/MaxLineSpeedXY") * 60, | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/printlines.cpp:184:39: required from here 184 | const Vector3d lifted_from = from + lift; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/printlines.cpp:190:31: required from here 190 | if (lastpos.squared_distance(lifted_from) > 0.005) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator+(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/printlines.cpp:490:39: required from here 490 | const Vector2d midPoint = 0.5*(to+from); | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:785:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 785 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'T vmml::vector::squared_distance(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/printlines.cpp:554:50: required from here 554 | if (extruder_change || lfrom.squared_distance(lastpos) > 0.01) { // add moveline | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1204:20: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 1204 | vector< M, T > tmp( *this ); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 2; T = double]': ../src/slicer/printlines.cpp:1136:39: required from here 1136 | if ((lines[ind]->to - lines[ind+1]->from).squared_length() > 0.01) return 0; | ^~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 2; T = double]': ../src/slicer/printlines.cpp:1150:63: required from here 1150 | const Vector2d p1 = lines[ind]->to - normalized(dir1)*maxdistance; | ^~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator*(T) const [with long unsigned int M = 3; T = double]': ../src/slicer/printlines.cpp:48:29: required from 'vmml::vector PLine::splitpoint(double) const [with long unsigned int M = 3]' 48 | return from + dir() * lratio; | ~~~~~~^~~~~~~~ ../src/slicer/printlines.cpp:1286:35: required from here 1286 | Vector3d splitp = l->splitpoint(length); | ~~~~~~~~~~~~~^~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:862:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 862 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': ../src/slicer/printlines.cpp:85:37: required from 'void PLine::calcangle(bool) [with long unsigned int M = 3]' 85 | angle = Command::calcAngle(from - arccenter, to - arccenter, ccw); | ~~~~~^~~~~~~~~~~ ../src/slicer/printlines.cpp:75:3: required from 'void PLine::move_to(const vmml::vector&, const vmml::vector&) [with long unsigned int M = 3]' 75 | calcangle(true); | ^~~~~~~~~ ../src/slicer/printlines.cpp:329:18: required from here 329 | nl->move_to(points[i], points[i+1]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_render.o moc_render.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../src/render.h:24, from moc_render.cpp:10: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/platform.h:37, from ../src/stdafx.h:51, from ../src/arcball.h:44, from ../src/render.h:22: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/unique_ptr.h:38, from /usr/include/c++/15/memory:80, from moc_render.cpp:9: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o prefs_dlg.o ../src/ui/prefs_dlg.cpp In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from ../src/ui/prefs_dlg.cpp:21: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from ../src/ui/../settings.h:23: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fopenmp -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I.. -I../libraries/vmmlib/include -I../libraries -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSerialPort -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtWidgets/qopenglwidget.h:49, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ./../src/render.h:24, from ui_mainwindow.h:12, from mainwindow.cpp:21: /usr/include/qt5/QtGui/qopenglext.h:60:9: warning: 'GL_GLEXT_VERSION' redefined 60 | #define GL_GLEXT_VERSION 20190228 | ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/gl.h:2050, from ../src/ui/../platform.h:37, from ../src/ui/../stdafx.h:51, from ../src/ui/../settings.h:31, from ../src/ui/prefs_dlg.h:23, from mainwindow.h:30, from mainwindow.cpp:20: /usr/include/GL/glext.h:35:9: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | ^~~~~~~~~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:6, from ../libraries/vmmlib/include/vmmlib/frustum.hpp:13, from ../libraries/vmmlib/include/vmmlib/vmmlib.hpp:26, from ../src/ui/../stdafx.h:67: ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:43:49: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 43 | struct matrix_equals_allow_inverted_rows : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qmainwindow.h:44, from /usr/include/qt5/QtWidgets/QMainWindow:1, from mainwindow.h:23: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix_functors.hpp:84:52: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 84 | struct matrix_equals_allow_inverted_columns : std::binary_function< const T&, const T&, bool > | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/files.h:26, from ../src/model.h:26, from mainwindow.cpp:26: ../src/triangle.h: In constructor 'Triangle::Triangle(const Vector3d&, const Vector3d&, const Vector3d&, const Vector3d&)': ../src/triangle.h:35:15: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ In file included from ../libraries/vmmlib/include/vmmlib/matrix.hpp:7: ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:26: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:37: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/triangle.h:35:48: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 35 | : A(Point1), B(Point2), C(Point3), Normal(Norml){} | ^~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ In file included from ../src/shape.h:36, from ../src/objlist.h:24, from ../src/model.h:29: ../src/slicer/poly.h: In member function 'Vector2d Poly::operator[](ulong) const': ../src/slicer/poly.h:52:30: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 52 | return vertices[i]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h:53:67: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 53 | else return vertices[(vertices.size()+i)%vertices.size()]; | ^ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::front()': ../src/slicer/poly.h:141:48: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 141 | Vector2d front() {return vertices.front(); } | ~~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../src/slicer/poly.h: In member function 'Vector2d Poly::back()': ../src/slicer/poly.h:142:47: warning: implicitly-declared 'constexpr vmml::vector<2, double>::vector(const vmml::vector<2, double>&)' is deprecated [-Wdeprecated-copy] 142 | Vector2d back() {return vertices.back(); } | ~~~~~~~~~~~~~^~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<2, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 2; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ mainwindow.cpp: In member function 'void MainWindow::shapeSelected(const QModelIndex&)': mainwindow.cpp:231:51: warning: unused parameter 'index' [-Wunused-parameter] 231 | void MainWindow::shapeSelected(const QModelIndex &index) | ~~~~~~~~~~~~~~~~~~~^~~~~ mainwindow.cpp: In member function 'void MainWindow::openFile(const QString&)': mainwindow.cpp:519:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 519 | QTextStream(stdout) << "opening " << path << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from ../src/ui/../stdafx.h:37: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'static const vmml::matrix vmml::matrix::get_initialized_matrix() [with init_functor_t = vmml::set_to_identity_functor >; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../libraries/vmmlib/include/vmmlib/matrix.hpp:2220:79: required from 'const vmml::matrix<4, 4, double> vmml::matrix<4, 4, double>::IDENTITY' 2219 | matrix< M, N, T >:: | ~~~~~~~~~~~~~~~~~~~ 2220 | get_initialized_matrix< set_to_identity_functor< matrix< M, N, T > > >() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../src/triangle.h:52:55: required from here 52 | double slopeAngle(const Matrix4d &T=Matrix4d::IDENTITY) const; | ^~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:2210:12: warning: implicitly-declared 'constexpr vmml::matrix<4, 4, double>::matrix(const vmml::matrix<4, 4, double>&)' is deprecated [-Wdeprecated-copy] 2210 | return matrix_; | ^~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp:949:1: note: because 'vmml::matrix<4, 4, double>' has user-provided 'const vmml::matrix& vmml::matrix::operator=(const vmml::matrix&) [with long unsigned int M = 4; long unsigned int N = 4; T = double]' 949 | matrix< M, N, T >::operator=( const matrix< M, N, T >& source_ ) | ^~~~~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/matrix.hpp: In instantiation of 'vmml::vector vmml::matrix::operator*(const vmml::vector&) const [with long unsigned int O = 3; long unsigned int M = 4; long unsigned int N = 4; T = double]': ../src/transform3d.h:62:74: required from here 62 | Vector3d operator * (const Vector3d &v) const { return m_transform * v; } | ^ ../libraries/vmmlib/include/vmmlib/matrix.hpp:1184:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 1184 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp: In instantiation of 'vmml::vector vmml::vector::operator-(const vmml::vector&) const [with long unsigned int M = 3; T = double]': mainwindow.cpp:591:57: required from here 591 | m_model->preview_shapes[i]->Min).length()); | ^~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:799:12: warning: implicitly-declared 'constexpr vmml::vector<3, double>::vector(const vmml::vector<3, double>&)' is deprecated [-Wdeprecated-copy] 799 | return result; | ^~~~~~ ../libraries/vmmlib/include/vmmlib/vector.hpp:1455:1: note: because 'vmml::vector<3, double>' has user-provided 'const vmml::vector& vmml::vector::operator=(const vmml::vector&) [with long unsigned int M = 3; T = double]' 1455 | vector< M, T >::operator=( const vector< M, T >& other ) | ^~~~~~~~~~~~~~ g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-O1 -o RepsnapperQt clipper.o lmcurve.o lmmin.o shapes.o advancing_front.o cdt.o sweep.o sweep_context.o arcball.o files.o command.o gcode.o gcodestate.o gllight.o model.o model_slice.o objlist.o platform.o printer.o render.o settings.o shape.o antiooze.o clipping.o geometry.o infill.o infillpattern.o layer.o poly.o printlines.o transform3d.o triangle.o prefs_dlg.o progress.o main.o mainwindow.o moc_gcode.o moc_model.o moc_printer.o moc_render.o moc_settings.o moc_prefs_dlg.o moc_progress.o moc_mainwindow.o -fopenmp -lGLU /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5SerialPort.so /usr/lib64/libQt5Core.so -lGL -lpthread + popd ~/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S9BitO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + mkdir /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + '[' 1 -eq 1 ']' + pushd RepsnapperQt ~/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/RepsnapperQt ~/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT 'INSTALL=/usr/bin/install -p' INSTALL_ROOT=/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT /usr/lib64/qt5/bin/qmake -install qinstall -exe RepsnapperQt /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/bin/RepsnapperQt + popd ~/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.5a5-9.020220220.1.mga10 --unique-debug-suffix -2.5a5-9.020220220.1.mga10.x86_64 --unique-debug-src-base repsnapper-2.5a5-9.020220220.1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/repsnapper-2.5a5-9.020220220.1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/SPECPARTS/rpm-debuginfo.specpart Processing files: repsnapper-2.5a5-9.020220220.1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vUyMql + umask 022 + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + cd repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + DOCDIR=/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/HACKING /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/licensing.txt /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/README.asciidoc /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/TODO /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/todo.txt /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/repsnapper-softsurfer-copyright-email.txt /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/doc/repsnapper + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YKmPtR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + cd repsnapper-d99792547250a059854b36aeaa8b6783e20e303b + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/licenses/repsnapper + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/licenses/repsnapper + cp -pr /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/repsnapper-d99792547250a059854b36aeaa8b6783e20e303b/licenses /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT/usr/share/licenses/repsnapper + RPM_EC=0 ++ jobs -p + exit 0 Provides: repsnapper = 2.5a5-9.020220220.1.mga10 repsnapper(x86-64) = 2.5a5-9.020220220.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libGLU.so.1()(64bit) libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5SerialPort.so.5()(64bit) libQt5SerialPort.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(GOMP_4.5)(64bit) libgomp.so.1(OMP_1.0)(64bit) libgomp.so.1(OMP_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) Processing files: repsnapper-debugsource-2.5a5-9.020220220.1.mga10.x86_64 Provides: repsnapper-debugsource = 2.5a5-9.020220220.1.mga10 repsnapper-debugsource(x86-64) = 2.5a5-9.020220220.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: repsnapper-debuginfo-2.5a5-9.020220220.1.mga10.x86_64 Provides: debuginfo(build-id) = 34251b2e035f0f7c3ac71a7676e6284953ce0fa6 repsnapper-debuginfo = 2.5a5-9.020220220.1.mga10 repsnapper-debuginfo(x86-64) = 2.5a5-9.020220220.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: repsnapper-debugsource(x86-64) = 2.5a5-9.020220220.1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/repsnapper-2.5a5-9.020220220.1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/repsnapper-debugsource-2.5a5-9.020220220.1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/repsnapper-debuginfo-2.5a5-9.020220220.1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XselUI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + test -d /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + rm -rf /home/pterjan/rpmbuild/BUILD/repsnapper-2.5a5-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 83: %{_sysconfdir}/xdg/%{name} Macro expanded in comment on line 84: %{_sysconfdir}/xdg/%{name}/%{name}.conf Macro expanded in comment on line 86: %{_datadir}/%{name}/ Macro expanded in comment on line 87: %{_datadir}/appdata/repsnapper.appdata.xml Macro expanded in comment on line 88: %{_datadir}/applications/%{name}.desktop Macro expanded in comment on line 89: %{_iconsdir}/hicolor/scalable/apps/%{name}.svg D: [iurt_root_command] Success!