D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libqglviewer-2.6.4-10.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aFRbTK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libQGLViewer-2.6.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libQGLViewer-2.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libQGLViewer-2.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/libQGLViewer-2.6.4-qreal.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CbNV3B + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libQGLViewer-2.6.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd QGLViewer ~/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' QMAKE_STRIP= LIB_DIR=/usr/lib64 DOC_DIR=/usr/share/doc INCLUDE_DIR=/usr/include/qt5 Info: creating stash file /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.qmake.stash + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic ImageInterface.ui -o ui_ImageInterface.h /usr/lib64/qt5/bin/uic VRenderInterface.ui -o ui_VRenderInterface.h g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/constraint.o constraint.cpp In file included from constraint.h:26, from constraint.cpp:23: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from constraint.cpp:24: frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from camera.h:26, from constraint.cpp:25: keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from /usr/include/qt5/QtXml/qtxmlglobal.h:43, from /usr/include/qt5/QtXml/qdom.h:43, from /usr/include/qt5/QtXml/QDomElement:1, from vec.h:29: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtXml/qdom.h:44: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const': manipulatedCameraFrame.h:75:41: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 75 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const': manipulatedCameraFrame.h:171:44: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 171 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/quaternion.o quaternion.cpp In file included from quaternion.h:26, from quaternion.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ quaternion.cpp: In member function 'qglviewer::Vec qglviewer::Quaternion::axis() const': quaternion.cpp:213:50: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 213 | return (acos(q[3]) <= M_PI/2.0) ? res : -res; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/frame.o frame.cpp In file included from constraint.h:26, from frame.h:29, from frame.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In constructor 'qglviewer::Frame::Frame(const qglviewer::Vec&, const qglviewer::Quaternion&)': frame.cpp:46:11: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 46 | : t_(position), q_(orientation), constraint_(NULL), referenceFrame_(NULL) | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'void qglviewer::Frame::translate(const qglviewer::Vec&)': frame.cpp:329:20: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 329 | Vec tbis = t; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::position() const': frame.cpp:541:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 541 | return t_; | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::inverseCoordinatesOf(const qglviewer::Vec&) const': frame.cpp:718:19: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 718 | Vec res = src; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp:724:16: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 724 | return res; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::coordinatesOfFrom(const qglviewer::Vec&, const qglviewer::Frame*) const': frame.cpp:752:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 752 | return src; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::coordinatesOfIn(const qglviewer::Vec&, const qglviewer::Frame*) const': frame.cpp:767:19: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 767 | Vec res = src; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp:779:16: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 779 | return res; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::inverseTransformOf(const qglviewer::Vec&) const': frame.cpp:859:19: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 859 | Vec res = src; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp:865:16: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 865 | return res; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::transformOfFrom(const qglviewer::Vec&, const qglviewer::Frame*) const': frame.cpp:893:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 893 | return src; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'qglviewer::Vec qglviewer::Frame::transformOfIn(const qglviewer::Vec&, const qglviewer::Frame*) const': frame.cpp:908:22: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 908 | Vec res = src; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp:920:16: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 920 | return res; | ^~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.cpp: In member function 'void qglviewer::Frame::projectOnLine(const qglviewer::Vec&, const qglviewer::Vec&)': frame.cpp:1141:20: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 1141 | Vec proj = shift; | ^~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/Exporter.o VRender/Exporter.cpp In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39, from VRender/VRender.h:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/BSPSortMethod.o VRender/BSPSortMethod.cpp In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39, from VRender/VRender.h:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/BackFaceCullingOptimizer.o VRender/BackFaceCullingOptimizer.cpp In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39, from VRender/VRender.h:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/mouseGrabber.o mouseGrabber.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/Primitive.o VRender/Primitive.cpp VRender/Primitive.cpp:165:15: warning: 'std::ostream& vrender::operator<<(std::ostream&, const Feedback3DColor&)' has not been declared within 'vrender' 165 | std::ostream& vrender::operator<<(std::ostream& o,const Feedback3DColor& f) | ^~~~~~~ In file included from VRender/Primitive.cpp:47: VRender/Primitive.h:105:38: note: only here as a 'friend' 105 | friend std::ostream& operator<<(std::ostream&,const Feedback3DColor&) ; | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/vec.o vec.cpp In file included from vec.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/gpc.o VRender/gpc.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/NVector3.o VRender/NVector3.cpp VRender/NVector3.cpp:85:8: warning: 'double vrender::operator*(const NVector3&, const Vector3&)' has not been declared within 'vrender' 85 | double vrender::operator*(const NVector3 &u,const Vector3 &v) | ^~~~~~~ In file included from VRender/NVector3.cpp:45: VRender/NVector3.h:89:19: note: only here as a 'friend' 89 | friend double operator*(const NVector3 &u,const Vector3 &v); | ^~~~~~~~ VRender/NVector3.cpp:90:8: warning: 'double vrender::operator*(const Vector3&, const NVector3&)' has not been declared within 'vrender' 90 | double vrender::operator*(const Vector3 &u,const NVector3 &v) | ^~~~~~~ VRender/NVector3.h:90:19: note: only here as a 'friend' 90 | friend double operator*(const Vector3 &u,const NVector3 &v); | ^~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -dM -E -o .moc/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/Vector2.o VRender/Vector2.cpp VRender/Vector2.cpp:94:9: warning: 'vrender::Vector2 vrender::operator-(const Vector2&)' has not been declared within 'vrender' 94 | Vector2 vrender::operator- (const Vector2& u) | ^~~~~~~ In file included from VRender/Vector2.cpp:45: VRender/Vector2.h:117:40: note: only here as a 'friend' 117 | friend Vector2 operator- (const Vector2&); | ^~~~~~~~ /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include qglviewer.h -o .moc/moc_qglviewer.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/saveSnapshot.o saveSnapshot.cpp In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31: constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from keyFrameInterpolator.h:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ saveSnapshot.cpp: In member function 'bool QGLViewer::openSnapshotFormatDialog()': saveSnapshot.cpp:80:57: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 80 | QStringList list = formats.split(";;", QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:9: note: declared here 605 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ saveSnapshot.cpp:80:57: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 80 | QStringList list = formats.split(";;", QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:9: note: declared here 605 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ saveSnapshot.cpp:80:41: warning: 'QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] 80 | QStringList list = formats.split(";;", QString::SkipEmptyParts); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:609:17: note: declared here 609 | QStringList split(const QString &sep, SplitBehavior behavior, | ^~~~~ saveSnapshot.cpp: In member function 'void QGLViewer::saveSnapshot(bool, bool)': saveSnapshot.cpp:548:170: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = QFileDialog::Option; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 548 | overwrite?QFileDialog::DontConfirmOverwrite:QFlags(0)); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ saveSnapshot.cpp:564:30: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 564 | count.sprintf("%.04d", snapshotCounter_++); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ saveSnapshot.cpp:574:46: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 574 | count.sprintf("%.04d", snapshotCounter_++); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/FIGExporter.o VRender/FIGExporter.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77, from VRender/Exporter.h:52, from VRender/FIGExporter.cpp:45: /usr/include/qt5/QtGui/qopenglext.h:60: warning: "GL_GLEXT_VERSION" redefined 60 | #define GL_GLEXT_VERSION 20190228 | In file included from /usr/include/GL/gl.h:2050, from VRender/Types.h:55, from VRender/Primitive.h:52, from VRender/Exporter.h:50: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include camera.h -o .moc/moc_camera.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/PrimitivePositioning.o VRender/PrimitivePositioning.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/Vector3.o VRender/Vector3.cpp VRender/Vector3.cpp:125:9: warning: 'vrender::Vector3 vrender::operator*(double, const Vector3&)' has not been declared within 'vrender' 125 | Vector3 vrender::operator* (double r,const Vector3& u) | ^~~~~~~ In file included from VRender/Vector3.cpp:46: VRender/Vector3.h:158:40: note: only here as a 'friend' 158 | friend Vector3 operator* (double,const Vector3&); | ^~~~~~~~ VRender/Vector3.cpp:155:15: warning: 'std::ostream& vrender::operator<<(std::ostream&, const Vector3&)' has not been declared within 'vrender' 155 | std::ostream& vrender::operator<< (std::ostream& out,const Vector3& u) | ^~~~~~~ VRender/Vector3.h:171:46: note: only here as a 'friend' 171 | friend std::ostream& operator<< (std::ostream&,const Vector3&); | ^~~~~~~~ /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include manipulatedCameraFrame.h -o .moc/moc_manipulatedCameraFrame.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include manipulatedFrame.h -o .moc/moc_manipulatedFrame.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include keyFrameInterpolator.h -o .moc/moc_keyFrameInterpolator.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include frame.h -o .moc/moc_frame.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/EPSExporter.o VRender/EPSExporter.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77, from VRender/Exporter.h:52, from VRender/EPSExporter.cpp:47: /usr/include/qt5/QtGui/qopenglext.h:60: warning: "GL_GLEXT_VERSION" redefined 60 | #define GL_GLEXT_VERSION 20190228 | In file included from /usr/include/GL/gl.h:2050, from VRender/Types.h:55, from VRender/Primitive.h:52, from VRender/EPSExporter.cpp:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/keyFrameInterpolator.o keyFrameInterpolator.cpp In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:26, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31: constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from config.h:39, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/VisibilityOptimizer.o VRender/VisibilityOptimizer.cpp In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39, from VRender/VRender.h:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/manipulatedFrame.o manipulatedFrame.cpp In file included from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from camera.h:26, from qglviewer.h:26, from manipulatedFrame.h:28: keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from config.h:39, from domUtils.h:23, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.cpp:25: manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const': manipulatedCameraFrame.h:75:41: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 75 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const': manipulatedCameraFrame.h:171:44: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 171 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedFrame.cpp: In member function 'void qglviewer::ManipulatedFrame::computeMouseSpeed(const QMouseEvent*)': manipulatedFrame.cpp:245:40: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 245 | delay_ = last_move_time.restart(); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:30: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ manipulatedFrame.cpp: In member function 'qreal qglviewer::ManipulatedFrame::wheelDelta(const QWheelEvent*) const': manipulatedFrame.cpp:285:28: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 285 | return event->delta() * wheelSensitivity() * WHEEL_SENSITIVITY_COEF; | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/QMouseEvent:1, from manipulatedFrame.cpp:31: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/camera.o camera.cpp In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:26, from camera.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31: constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from camera.cpp:25: qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from config.h:39, from domUtils.h:23, from camera.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from camera.cpp:26: manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const': manipulatedCameraFrame.h:75:41: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 75 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const': manipulatedCameraFrame.h:171:44: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 171 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.cpp: In member function 'qglviewer::Vec qglviewer::Camera::pointUnderPixel(const QPoint&, bool&) const': camera.cpp:979:16: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 979 | return point; | ^~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/manipulatedCameraFrame.o manipulatedCameraFrame.cpp In file included from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from camera.h:26, from qglviewer.h:26, from manipulatedFrame.h:28: keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from config.h:39, from domUtils.h:23, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const': manipulatedCameraFrame.h:75:41: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 75 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const': manipulatedCameraFrame.h:171:44: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 171 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedCameraFrame.cpp: In member function 'virtual void qglviewer::ManipulatedCameraFrame::wheelEvent(QWheelEvent*, qglviewer::Camera*)': manipulatedCameraFrame.cpp:428:95: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 428 | translate(inverseTransformOf(Vec(0.0, 0.0, 0.2*flySpeed()*event->delta()))); | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/QMouseEvent:1, from manipulatedCameraFrame.cpp:27: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/ParserGL.o VRender/ParserGL.cpp In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39, from VRender/VRender.h:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/VRender.o VRender/VRender.cpp In file included from /usr/include/qt5/QtGui/qopengl.h:146, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtGui/qopenglext.h:60: warning: "GL_GLEXT_VERSION" redefined 60 | #define GL_GLEXT_VERSION 20190228 | In file included from /usr/include/GL/gl.h:2050, from VRender/VRender.cpp:52: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/TopologicalSortMethod.o VRender/TopologicalSortMethod.cpp In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:26, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': VRender/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31: VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': VRender/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': VRender/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': VRender/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': VRender/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': VRender/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': VRender/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ VRender/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from VRender/../config.h:39, from VRender/VRender.h:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from VRender/../config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ VRender/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_manipulatedCameraFrame.o .moc/moc_manipulatedCameraFrame.cpp In file included from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': .moc/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': .moc/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': .moc/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': .moc/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28: .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': .moc/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': .moc/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': .moc/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../qglviewer.h: At global scope: .moc/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const': .moc/../manipulatedCameraFrame.h:75:41: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 75 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const': .moc/../manipulatedCameraFrame.h:171:44: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 171 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_camera.o .moc/moc_camera.cpp In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:26, from .moc/moc_camera.cpp:10: .moc/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': .moc/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31: .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': .moc/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': .moc/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': .moc/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': .moc/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': .moc/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': .moc/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_keyFrameInterpolator.o .moc/moc_keyFrameInterpolator.cpp In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': .moc/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31: .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': .moc/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': .moc/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': .moc/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': .moc/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': .moc/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_manipulatedFrame.o .moc/moc_manipulatedFrame.cpp In file included from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': .moc/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': .moc/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': .moc/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': .moc/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28: .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': .moc/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': .moc/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': .moc/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../qglviewer.h: At global scope: .moc/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qglviewer.o .moc/moc_qglviewer.cpp In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': .moc/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31: .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': .moc/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': .moc/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': .moc/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': .moc/../keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': .moc/../keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': .moc/../camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../qglviewer.h: At global scope: .moc/../qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from .moc/../keyFrameInterpolator.h:26: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ .moc/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ .moc/../qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_frame.o .moc/moc_frame.cpp In file included from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: .moc/../vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': .moc/../vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': .moc/../constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': .moc/../constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ .moc/../frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': .moc/../frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ .moc/../vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qglviewer.o qglviewer.cpp In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:24: vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31: constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ qglviewer.h: At global scope: qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from config.h:39, from domUtils.h:23, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from config.h:77: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from qglviewer.cpp:27: manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const': manipulatedCameraFrame.h:75:41: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 75 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ manipulatedCameraFrame.h: In member function 'qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const': manipulatedCameraFrame.h:171:44: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 171 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ qglviewer.cpp: In member function 'void QGLViewer::defaultConstructor()': qglviewer.cpp:93:23: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 93 | fpsTime_.start(); | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:30: /usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ qglviewer.cpp: In member function 'virtual void QGLViewer::postDraw()': qglviewer.cpp:382:64: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 382 | f_p_s_ = 1000.0 * maxCounter / fpsTime_.restart(); | ~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ qglviewer.cpp: In member function 'void QGLViewer::setDefaultMouseBindings()': qglviewer.cpp:541:48: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 541 | setMouseBinding(modifiers, Qt::MidButton, mh, ZOOM); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44: /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp:550:48: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 550 | setMouseBinding(Qt::ShiftModifier, Qt::MidButton, CAMERA, ZOOM_ON_REGION); | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp:558:45: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 558 | setMouseBinding(Qt::NoModifier, Qt::MidButton, SHOW_ENTIRE_SCENE, true); | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp: In function 'QString mouseButtonsString(Qt::MouseButtons)': qglviewer.cpp:1117:21: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 1117 | if (b & Qt::MidButton) { if (addAmpersand) result += " & "; result += QGLViewer::tr("Middle", "middle mouse button"); addAmpersand=true; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp: In static member function 'static QString QGLViewer::mouseActionString(MouseAction)': qglviewer.cpp:1556:67: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1556 | case QGLViewer::NO_MOUSE_ACTION : return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1556:67: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1556 | case QGLViewer::NO_MOUSE_ACTION : return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1569:25: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1569 | return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1569:25: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1569 | return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp: In static member function 'static QString QGLViewer::clickActionString(ClickAction)': qglviewer.cpp:1576:67: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1576 | case QGLViewer::NO_CLICK_ACTION : return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1576:67: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1576 | case QGLViewer::NO_CLICK_ACTION : return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1588:25: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1588 | return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1588:25: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1588 | return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp: In member function 'QString QGLViewer::cameraPathKeysString() const': qglviewer.cpp:1834:33: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1834 | return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1834:33: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1834 | return QString::null; | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ qglviewer.cpp:1840:14: warning: 'void qSort(Container&) [with Container = QVector]' is deprecated: Use std::sort [-Wdeprecated-declarations] 1840 | qSort(keys); | ~~~~~^~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49: /usr/include/qt5/QtCore/qalgorithms.h:188:46: note: declared here 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) | ^~~~~ qglviewer.cpp: In member function 'virtual void QGLViewer::keyPressEvent(QKeyEvent*)': qglviewer.cpp:2096:66: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 2096 | int elapsed = doublePress.restart(); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ qglviewer.cpp:2114:66: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 2114 | int elapsed = doublePress.restart(); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ qglviewer.cpp: In member function 'void QGLViewer::toggleCameraMode()': qglviewer.cpp:3014:48: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 3014 | setMouseBinding(modifiers, Qt::MidButton, CAMERA, LOOK_AROUND); | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp:3020:53: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 3020 | setMouseBinding(Qt::NoModifier, Qt::MidButton, NO_CLICK_ACTION, true); | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp:3029:48: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 3029 | setMouseBinding(modifiers, Qt::MidButton, CAMERA, ZOOM); | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ qglviewer.cpp:3035:53: warning: 'Qt::MidButton' is deprecated: MidButton is deprecated. Use MiddleButton instead [-Wdeprecated-declarations] 3035 | setMouseBinding(Qt::NoModifier, Qt::MidButton, SHOW_ENTIRE_SCENE, true); | ^~~~~~~~~ /usr/include/qt5/QtCore/qnamespace.h:132:9: note: declared here 132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton, | ^~~~~~~~~ rm -f libQGLViewer-qt5.so.2.6.4 libQGLViewer-qt5.so libQGLViewer-qt5.so.2 libQGLViewer-qt5.so.2.6 g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-O1 -shared -Wl,-soname,libQGLViewer-qt5.so.2 -o libQGLViewer-qt5.so.2.6.4 .obj/qglviewer.o .obj/camera.o .obj/manipulatedFrame.o .obj/manipulatedCameraFrame.o .obj/frame.o .obj/saveSnapshot.o .obj/constraint.o .obj/keyFrameInterpolator.o .obj/mouseGrabber.o .obj/quaternion.o .obj/vec.o .obj/BackFaceCullingOptimizer.o .obj/BSPSortMethod.o .obj/EPSExporter.o .obj/Exporter.o .obj/FIGExporter.o .obj/gpc.o .obj/ParserGL.o .obj/Primitive.o .obj/PrimitivePositioning.o .obj/TopologicalSortMethod.o .obj/VisibilityOptimizer.o .obj/Vector2.o .obj/Vector3.o .obj/NVector3.o .obj/VRender.o .obj/moc_qglviewer.o .obj/moc_camera.o .obj/moc_manipulatedFrame.o .obj/moc_manipulatedCameraFrame.o .obj/moc_frame.o .obj/moc_keyFrameInterpolator.o -lpthread -lGL -lGLU /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so ln -s libQGLViewer-qt5.so.2.6.4 libQGLViewer-qt5.so ln -s libQGLViewer-qt5.so.2.6.4 libQGLViewer-qt5.so.2 ln -s libQGLViewer-qt5.so.2.6.4 libQGLViewer-qt5.so.2.6 + popd ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + pushd designerPlugin ~/rpmbuild/BUILD/libQGLViewer-2.6.4/designerPlugin ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' QMAKE_STRIP= LIB_DIR=../QGLViewer Info: creating stash file /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/designerPlugin/.qmake.stash + /usr/bin/make -O -j16 V=1 VERBOSE=1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -dM -E -o .moc/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS --include /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/designerPlugin/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/designerPlugin -I/home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4 -I/usr/include/qt5 -I/usr/include/qt5/QtDesigner -I/usr/include/qt5/QtUiPlugin -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-mageia-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-mageia-linux/12/include -I/usr/local/include -I/usr/include qglviewerPlugin.h -o .moc/moc_qglviewerPlugin.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I. -I.. -I/usr/include/qt5 -I/usr/include/qt5/QtDesigner -I/usr/include/qt5/QtUiPlugin -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_qglviewerPlugin.o .moc/moc_qglviewerPlugin.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -frtti -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I. -I.. -I/usr/include/qt5 -I/usr/include/qt5/QtDesigner -I/usr/include/qt5/QtUiPlugin -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qglviewerPlugin.o qglviewerPlugin.cpp In file included from ../QGLViewer/quaternion.h:26, from ../QGLViewer/keyFrameInterpolator.h:29, from ../QGLViewer/camera.h:26, from ../QGLViewer/qglviewer.h:26, from qglviewerPlugin.cpp:24: ../QGLViewer/vec.h: In member function 'qglviewer::Vec qglviewer::Vec::unit() const': ../QGLViewer/vec.h:370:26: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 370 | Vec v = *this; | ^~~~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/vec.h:372:24: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 372 | return v; | ^ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ In file included from ../QGLViewer/frame.h:29, from ../QGLViewer/keyFrameInterpolator.h:31: ../QGLViewer/constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const': ../QGLViewer/constraint.h:238:61: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 238 | Vec translationConstraintDirection() const { return translationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/constraint.h: In member function 'qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const': ../QGLViewer/constraint.h:259:58: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 259 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/frame.h: In member function 'qglviewer::Vec qglviewer::Frame::translation() const': ../QGLViewer/frame.h:228:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 228 | Vec translation() const { return t_; } | ^~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const': ../QGLViewer/keyFrameInterpolator.h:311:47: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 311 | Vec position() const { return p_; } | ^~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/keyFrameInterpolator.h: In member function 'qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const': ../QGLViewer/keyFrameInterpolator.h:313:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 313 | Vec tgP() const { return tgP_; } | ^~~~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/camera.h: In member function 'qglviewer::Vec qglviewer::Camera::sceneCenter() const': ../QGLViewer/camera.h:297:42: warning: implicitly-declared 'constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)' is deprecated [-Wdeprecated-copy] 297 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ ../QGLViewer/vec.h:118:14: note: because 'qglviewer::Vec' has user-provided 'qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)' 118 | Vec& operator=(const Vec& v) | ^~~~~~~~ ../QGLViewer/qglviewer.h: At global scope: ../QGLViewer/qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1299, from qglviewerPlugin.h:23, from qglviewerPlugin.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ ../QGLViewer/qglviewer.h:85:122: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 85 | explicit QGLViewer(QGLContext *context, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ ../QGLViewer/qglviewer.h:86:126: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 86 | explicit QGLViewer(const QGLFormat& format, QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ ../QGLViewer/qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtUiPlugin/customwidget.h:32, from /usr/include/qt5/QtUiPlugin/QDesignerCustomWidgetInterface:1, from qglviewerPlugin.h:26: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ ../QGLViewer/qglviewer.h:1062:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1062 | void saveToFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ ../QGLViewer/qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ ../QGLViewer/qglviewer.h:1063:63: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 1063 | bool restoreFromFile(const QString& fileName=QString::null); | ^~~~ /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ ../QGLViewer/qglviewer.h: In constructor 'Viewer::Viewer(QWidget*)': ../QGLViewer/qglviewer.h:84:101: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 84 | explicit QGLViewer(QWidget* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ rm -f libqglviewerplugin.so g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-O1 -shared -o libqglviewerplugin.so .obj/qglviewerPlugin.o .obj/moc_qglviewerPlugin.o -L../QGLViewer -lQGLViewer-qt5 -lpthread -lGL /usr/lib64/libQt5Designer.so /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so + popd ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E59Kh3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 + cd libQGLViewer-2.6.4 + '[' 1 -eq 1 ']' + pushd QGLViewer ~/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + make -f Makefile -e INSTALL_ROOT=/home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 install_target install_include /usr/lib64/qt5/bin/qmake -install qinstall -exe libQGLViewer-qt5.so.2.6.4 /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/libQGLViewer-qt5.so.2.6.4 ln -f -s libQGLViewer-qt5.so.2.6.4 /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/libQGLViewer-qt5.so ln -f -s libQGLViewer-qt5.so.2.6.4 /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/libQGLViewer-qt5.so.2 ln -f -s libQGLViewer-qt5.so.2.6.4 /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/libQGLViewer-qt5.so.2.6 install -m 644 -p libQGLViewer-qt5.prl /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/libQGLViewer-qt5.prl /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/qglviewer.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/qglviewer.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/camera.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/camera.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/manipulatedFrame.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/manipulatedFrame.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/manipulatedCameraFrame.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/manipulatedCameraFrame.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/frame.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/frame.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/constraint.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/constraint.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/keyFrameInterpolator.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/keyFrameInterpolator.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/mouseGrabber.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/mouseGrabber.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/quaternion.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/quaternion.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/vec.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/vec.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/domUtils.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/domUtils.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/config.h /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/config.h /usr/lib64/qt5/bin/qmake -install qinstall /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4/QGLViewer/qglviewer_fr.qm /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/include/qt5/QGLViewer/qglviewer_fr.qm + popd ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + pushd designerPlugin ~/rpmbuild/BUILD/libQGLViewer-2.6.4/designerPlugin ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + make -e INSTALL_ROOT=/home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 install /usr/lib64/qt5/bin/qmake -install qinstall -exe libqglviewerplugin.so /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/qt5/plugins/designer/libqglviewerplugin.so + popd ~/rpmbuild/BUILD/libQGLViewer-2.6.4 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.6.4-10.mga9 --unique-debug-suffix -2.6.4-10.mga9.x86_64 --unique-debug-src-base libqglviewer-2.6.4-10.mga9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libQGLViewer-2.6.4 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/libQGLViewer-qt5.so.2.6.4 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/lib64/qt5/plugins/designer/libqglviewerplugin.so original debug info size: 12224kB, size after compression: 8716kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 1876 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: lib64qglviewer-qt5_2-2.6.4-10.mga9.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.J9oAaI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libQGLViewer-2.6.4 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/lib64qglviewer-qt5_2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/lib64qglviewer-qt5_2 + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/lib64qglviewer-qt5_2 + cp -pr LICENCE /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/lib64qglviewer-qt5_2 + cp -pr CHANGELOG /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/lib64qglviewer-qt5_2 + cp -pr GPL_EXCEPTION /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/lib64qglviewer-qt5_2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64qglviewer-qt5_2 = 2.6.4-10.mga9 lib64qglviewer-qt5_2(x86-64) = 2.6.4-10.mga9 libQGLViewer-qt5.so.2()(64bit) 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) libQt5OpenGL.so.5()(64bit) libQt5OpenGL.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libQt5Xml.so.5()(64bit) libQt5Xml.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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) Processing files: lib64qglviewer-qt5-devel-2.6.4-10.mga9.x86_64 Provides: devel(libQGLViewer-qt5(64bit)) lib64qglviewer-qt5-devel = 2.6.4-10.mga9 lib64qglviewer-qt5-devel(x86-64) = 2.6.4-10.mga9 libqglviewer-qt5-devel = 2.6.4-10.mga9 libqglviewerplugin.so()(64bit) qglviewer-qt5-devel = 2.6.4-10.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libGL(64bit)) devel(libGLU(64bit)) devel(libQt5Core(64bit)) devel(libQt5Gui(64bit)) devel(libQt5OpenGL(64bit)) devel(libQt5Widgets(64bit)) devel(libQt5Xml(64bit)) devel(libgcc_s(64bit)) devel(libm(64bit)) devel(libstdc++(64bit)) libGL.so.1()(64bit) libQGLViewer-qt5.so.2()(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) libQt5OpenGL.so.5()(64bit) libQt5OpenGL.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) Processing files: libqglviewer-doc-2.6.4-10.mga9.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P9TVIA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libQGLViewer-2.6.4 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/libqglviewer-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/libqglviewer-doc + cp -pr doc /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64/usr/share/doc/libqglviewer-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: libqglviewer-doc = 2.6.4-10.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libqglviewer-debugsource-2.6.4-10.mga9.x86_64 Provides: libqglviewer-debugsource = 2.6.4-10.mga9 libqglviewer-debugsource(x86-64) = 2.6.4-10.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libqglviewer-debuginfo-2.6.4-10.mga9.x86_64 Provides: libqglviewer-debuginfo = 2.6.4-10.mga9 libqglviewer-debuginfo(x86-64) = 2.6.4-10.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libqglviewer-debugsource(x86-64) = 2.6.4-10.mga9 Processing files: lib64qglviewer-qt5_2-debuginfo-2.6.4-10.mga9.x86_64 Provides: debuginfo(build-id) = 6bf2713b21aa117eac3159d00ed61d06e52d3405 lib64qglviewer-qt5_2-debuginfo = 2.6.4-10.mga9 lib64qglviewer-qt5_2-debuginfo(x86-64) = 2.6.4-10.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libqglviewer-debugsource(x86-64) = 2.6.4-10.mga9 Processing files: lib64qglviewer-qt5-devel-debuginfo-2.6.4-10.mga9.x86_64 Provides: debuginfo(build-id) = 3dd610d2a1404fd1d93ae2cde5cbc336ad362fa5 lib64qglviewer-qt5-devel-debuginfo = 2.6.4-10.mga9 lib64qglviewer-qt5-devel-debuginfo(x86-64) = 2.6.4-10.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libqglviewer-debugsource(x86-64) = 2.6.4-10.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64qglviewer-qt5-devel-2.6.4-10.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64qglviewer-qt5-devel-debuginfo-2.6.4-10.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libqglviewer-debuginfo-2.6.4-10.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64qglviewer-qt5_2-2.6.4-10.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libqglviewer-debugsource-2.6.4-10.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/libqglviewer-doc-2.6.4-10.mga9.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64qglviewer-qt5_2-debuginfo-2.6.4-10.mga9.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ac6t1Q + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libQGLViewer-2.6.4 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/libqglviewer-2.6.4-10.mga9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zOEyYz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf libQGLViewer-2.6.4 libQGLViewer-2.6.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!