* Package: x11-libs/libQGLViewer-2.7.2 * Repository: gentoo * Maintainer: aballier@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc examples kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libQGLViewer-2.7.2.tar.gz to /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work >>> Source unpacked in /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work >>> Preparing source in /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2 ... * Running qmake ... Info: creating stash file /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/.qmake.stash Info: creating cache file /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/.qmake.cache [ ok ] >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2 ... make -j 1 cd QGLViewer/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/QGLViewer.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color ' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=native -fno-diagnostics-color ' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -LQGLViewer' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= PREFIX=/usr LIB_DIR=/usr/lib64 DOC_DIR=/usr/share/doc/libQGLViewer-2.7.2/html ) && make -f Makefile make[1]: Entering directory '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer' /usr/lib64/qt5/bin/uic ImageInterface.ui -o ui_ImageInterface.h /usr/lib64/qt5/bin/uic VRenderInterface.ui -o ui_VRenderInterface.h x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.h:26, from qglviewer.cpp:23: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.cpp:23: qglviewer.h: At global scope: qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from qglviewer.cpp:23: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from qglviewer.cpp:23: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from qglviewer.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from qglviewer.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from qglviewer.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from qglviewer.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /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:79:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 79 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.cpp:27: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const’: manipulatedCameraFrame.h:196:38: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 196 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from qglviewer.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ qglviewer.cpp: In member function ‘void QGLViewer::defaultConstructor()’: qglviewer.cpp:97:18: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 97 | fpsTime_.start(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:31, from qglviewer.cpp:23: /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:417:53: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 417 | f_p_s_ = 1000.0 * maxCounter / fpsTime_.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:31, from qglviewer.cpp:23: /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 ‘QString QGLViewer::cameraPathKeysString() const’: qglviewer.cpp:2001:13: warning: ‘void qSort(Container&) [with Container = QVector]’ is deprecated: Use std::sort [-Wdeprecated-declarations] 2001 | qSort(keys); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from qglviewer.cpp:23: /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:2285:41: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 2285 | int elapsed = doublePress.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:31, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ qglviewer.cpp:2300:41: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 2300 | int elapsed = doublePress.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:31, from qglviewer.cpp:23: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from camera.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from camera.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from keyFrameInterpolator.h:31, from camera.h:27, from camera.cpp:23: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from camera.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from camera.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.cpp:23: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h: At global scope: qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from camera.cpp:25: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from camera.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from camera.cpp:25: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const’: manipulatedCameraFrame.h:79:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 79 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.cpp:25: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const’: manipulatedCameraFrame.h:196:38: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 196 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ camera.cpp: In member function ‘qglviewer::Vec qglviewer::Camera::pointUnderPixel(const QPoint&, bool&) const’: camera.cpp:992:10: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 992 | return point; | ^~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from camera.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.h:26, from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h: At global scope: qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.cpp:26: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const’: manipulatedCameraFrame.h:79:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 79 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedFrame.cpp:26: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const’: manipulatedCameraFrame.h:196:38: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 196 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ manipulatedFrame.cpp: In member function ‘void qglviewer::ManipulatedFrame::computeMouseSpeed(const QMouseEvent*)’: manipulatedFrame.cpp:242:35: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 242 | delay_ = last_move_time.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from qglviewer.h:31, from manipulatedFrame.h:28, from manipulatedFrame.cpp:23: /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:283:23: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations] 283 | 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; } | ^~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.h:26, from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h: At global scope: qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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 frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from frame.h:26, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedCameraFrame.cpp:23: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const’: manipulatedCameraFrame.h:79:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 79 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from manipulatedCameraFrame.cpp:23: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const’: manipulatedCameraFrame.h:196:38: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 196 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from manipulatedFrame.h:26, from manipulatedCameraFrame.h:26, from manipulatedCameraFrame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ manipulatedCameraFrame.cpp: In member function ‘virtual void qglviewer::ManipulatedCameraFrame::wheelEvent(QWheelEvent*, qglviewer::Camera*)’: manipulatedCameraFrame.cpp:422:74: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations] 422 | 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; } | ^~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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 frame.h:26, from frame.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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 frame.h:26, from frame.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from frame.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from frame.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.cpp:23: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In constructor ‘qglviewer::Frame::Frame(const qglviewer::Vec&, const qglviewer::Quaternion&)’: frame.cpp:44:83: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 44 | on), q_(orientation), constraint_(nullptr), referenceFrame_(nullptr) {} | ^ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘void qglviewer::Frame::translate(const qglviewer::Vec&)’: frame.cpp:320:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 320 | Vec tbis = t; | ^ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::position() const’: frame.cpp:523:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 523 | return t_; | ^~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::inverseCoordinatesOf(const qglviewer::Vec&) const’: frame.cpp:694:13: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 694 | Vec res = src; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp:699:10: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 699 | return res; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::coordinatesOfFrom(const qglviewer::Vec&, const qglviewer::Frame*) const’: frame.cpp:726:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 726 | return src; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::coordinatesOfIn(const qglviewer::Vec&, const qglviewer::Frame*) const’: frame.cpp:739:13: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 739 | Vec res = src; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp:750:10: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 750 | return res; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::inverseTransformOf(const qglviewer::Vec&) const’: frame.cpp:826:13: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 826 | Vec res = src; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp:831:10: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 831 | return res; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::transformOfFrom(const qglviewer::Vec&, const qglviewer::Frame*) const’: frame.cpp:859:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 859 | return src; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘qglviewer::Vec qglviewer::Frame::transformOfIn(const qglviewer::Vec&, const qglviewer::Frame*) const’: frame.cpp:872:13: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 872 | Vec res = src; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp:883:10: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 883 | return res; | ^~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ frame.cpp: In member function ‘void qglviewer::Frame::projectOnLine(const qglviewer::Vec&, const qglviewer::Vec&)’: frame.cpp:1098:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 1098 | Vec proj = shift; | ^~~~~ In file included from quaternion.h:26, from constraint.h:26, from frame.h:29, from frame.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.h:26, from saveSnapshot.cpp:23: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from saveSnapshot.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from saveSnapshot.cpp:23: qglviewer.h: At global scope: qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from saveSnapshot.cpp:23: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from saveSnapshot.cpp:23: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from saveSnapshot.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from saveSnapshot.cpp:23: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from saveSnapshot.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from saveSnapshot.cpp:23: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /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:76:65: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 76 | QStringList list = formats.split(";;", QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /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:558:50: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QFileDialog::Option; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 558 | : QFlags(0)); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ saveSnapshot.cpp:573:46: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 573 | count.sprintf("%.04d", snapshotCounter_++); | ^ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /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:583:50: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 583 | count.sprintf("%.04d", snapshotCounter_++); | ^ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from camera.h:26, from qglviewer.h:26, from saveSnapshot.cpp:23: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from constraint.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from constraint.cpp:23: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from keyFrameInterpolator.h:31, from camera.h:27, from constraint.cpp:24: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from constraint.cpp:24: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from constraint.cpp:24: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from constraint.cpp:24: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | 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:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtXml/qdom.h:44, from /usr/include/qt5/QtXml/QDomElement:1, from vec.h:29, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtXml/qdom.h:44, from /usr/include/qt5/QtXml/QDomElement:1, from vec.h:29, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtXml/qdom.h:44, from /usr/include/qt5/QtXml/QDomElement:1, from vec.h:29, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from manipulatedFrame.h:28, from manipulatedCameraFrame.h:26, from constraint.cpp:26: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtXml/qdom.h:44, from /usr/include/qt5/QtXml/QDomElement:1, from vec.h:29, from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from constraint.cpp:26: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const’: manipulatedCameraFrame.h:79:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 79 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from constraint.cpp:26: manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const’: manipulatedCameraFrame.h:196:38: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 196 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ In file included from quaternion.h:26, from constraint.h:26, from constraint.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from config.h:39, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from config.h:39, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from frame.h:29, from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from keyFrameInterpolator.h:31, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from qglviewer.h:26, from keyFrameInterpolator.cpp:24: camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from quaternion.h:26, from keyFrameInterpolator.h:29, from camera.h:27, from qglviewer.h:26, from keyFrameInterpolator.cpp:24: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h: At global scope: qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from config.h:39, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from config.h:39, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from config.h:39, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from keyFrameInterpolator.cpp:24: qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from domUtils.h:23, from keyFrameInterpolator.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from mouseGrabber.h:26, from mouseGrabber.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from config.h:39, from mouseGrabber.h:26, from mouseGrabber.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from mouseGrabber.h:26, from mouseGrabber.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from config.h:39, from mouseGrabber.h:26, from mouseGrabber.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from quaternion.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from quaternion.h:26, from quaternion.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from quaternion.h:26, from quaternion.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from quaternion.h:26, from quaternion.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from quaternion.h:26, from quaternion.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ quaternion.cpp: In member function ‘qglviewer::Vec qglviewer::Quaternion::axis() const’: quaternion.cpp:197:46: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 197 | return (acos(q[3]) <= M_PI / 2.0) ? res : -res; | ^~~ In file included from quaternion.h:26, from quaternion.cpp:23: vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from vec.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from vec.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from config.h:80, from vec.h:32, from vec.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from vec.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from vec.cpp:23: vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/BackFaceCullingOptimizer.cpp:46: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BackFaceCullingOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/BSPSortMethod.cpp:45: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/BSPSortMethod.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/Exporter.h:52, from VRender/EPSExporter.cpp:47: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/Exporter.h:52, from VRender/EPSExporter.cpp:47: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/Exporter.h:52, from VRender/EPSExporter.cpp:47: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/Exporter.h:52, from VRender/EPSExporter.cpp:47: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/Exporter.cpp:45: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/Exporter.cpp:45: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/Exporter.h:52, from VRender/FIGExporter.cpp:45: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/Exporter.h:52, from VRender/FIGExporter.cpp:45: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/Exporter.h:52, from VRender/FIGExporter.cpp:45: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/Exporter.h:52, from VRender/FIGExporter.cpp:45: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/ParserGL.cpp:49: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/ParserGL.cpp:49: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 vrender::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:24: note: only here as a ‘friend’ 105 | friend std::ostream& operator<<(std::ostream&,const Feedback3DColor&) ; | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/TopologicalSortMethod.cpp:48: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/TopologicalSortMethod.cpp:48: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/VisibilityOptimizer.cpp:46: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VisibilityOptimizer.cpp:46: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 vrender::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:19: note: only here as a ‘friend’ 117 | friend Vector2 operator- (const Vector2&); | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 vrender::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:19: 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 vrender::Vector3&)’ has not been declared within ‘vrender’ 155 | std::ostream& vrender::operator<< (std::ostream& out,const Vector3& u) | ^~~~~~~ In file included from VRender/Vector3.cpp:46: VRender/Vector3.h:171:25: note: only here as a ‘friend’ 171 | friend std::ostream& operator<< (std::ostream&,const Vector3&); | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 vrender::NVector3&, const vrender::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 vrender::Vector3&, const vrender::NVector3&)’ has not been declared within ‘vrender’ 90 | double vrender::operator*(const Vector3 &u,const NVector3 &v) | ^~~~~~~ In file included from VRender/NVector3.cpp:45: VRender/NVector3.h:90:19: note: only here as a ‘friend’ 90 | friend double operator*(const Vector3 &u,const NVector3 &v); | ^~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: VRender/../vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ VRender/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: VRender/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../frame.h:29, from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: VRender/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../keyFrameInterpolator.h:31, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: VRender/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: VRender/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: VRender/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: VRender/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from VRender/../quaternion.h:26, from VRender/../keyFrameInterpolator.h:29, from VRender/../camera.h:27, from VRender/../qglviewer.h:26, from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h: At global scope: VRender/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from VRender/../config.h:39, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | 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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from VRender/VRender.h:52, from VRender/VRender.cpp:60: VRender/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(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/QtWidgets/QWidget:1, from /usr/include/qt5/QtWidgets/qopenglwidget.h:47, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from VRender/../config.h:80, from VRender/VRender.h:48, from VRender/VRender.cpp:60: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -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_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB --include /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/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/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed -I/usr/include qglviewer.h -o .moc/moc_qglviewer.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ .moc/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: .moc/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: .moc/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../keyFrameInterpolator.h:31, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: .moc/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: .moc/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: .moc/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: .moc/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h: At global scope: .moc/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/moc_qglviewer.cpp:10: .moc/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/../qglviewer.h:26, from .moc/moc_qglviewer.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ /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 /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/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/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed -I/usr/include camera.h -o .moc/moc_camera.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/moc_camera.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from .moc/../camera.h:26, from .moc/moc_camera.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: .moc/../vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ .moc/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: .moc/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: .moc/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../keyFrameInterpolator.h:31, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: .moc/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: .moc/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: .moc/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/moc_camera.cpp:10: .moc/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: .moc/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/../camera.h:27, from .moc/moc_camera.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ /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 /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/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/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed -I/usr/include manipulatedFrame.h -o .moc/moc_manipulatedFrame.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from .moc/../quaternion.h:26, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ .moc/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: .moc/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: .moc/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: .moc/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: .moc/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: .moc/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: .moc/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h: At global scope: .moc/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/moc_manipulatedFrame.cpp:10: .moc/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/moc_manipulatedFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ /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 /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/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/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed -I/usr/include manipulatedCameraFrame.h -o .moc/moc_manipulatedCameraFrame.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, 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: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, 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: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from .moc/../quaternion.h:26, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ .moc/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: .moc/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: .moc/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: .moc/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: .moc/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../camera.h:27, from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: .moc/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../qglviewer.h:26, from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: .moc/../camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h: At global scope: .moc/../qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, 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, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/../manipulatedFrame.h:28, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from .moc/../frame.h:26, from .moc/../manipulatedFrame.h:26, from .moc/../manipulatedCameraFrame.h:26, from .moc/moc_manipulatedCameraFrame.cpp:10: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::pivotPoint() const’: .moc/../manipulatedCameraFrame.h:79:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 79 | Vec pivotPoint() const { return pivotPoint_; } | ^~~~~~~~~~~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/moc_manipulatedCameraFrame.cpp:10: .moc/../manipulatedCameraFrame.h: In member function ‘qglviewer::Vec qglviewer::ManipulatedCameraFrame::sceneUpVector() const’: .moc/../manipulatedCameraFrame.h:196:38: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 196 | Vec sceneUpVector() const { return sceneUpVector_; } | ^~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, 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:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ /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 /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/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/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed -I/usr/include frame.h -o .moc/moc_frame.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/moc_frame.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/moc_frame.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from .moc/../quaternion.h:26, 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ .moc/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: .moc/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: .moc/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/moc_frame.cpp:10: .moc/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: .moc/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../constraint.h:26, from .moc/../frame.h:29, from .moc/moc_frame.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ /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 /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/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/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed -I/usr/include keyFrameInterpolator.h -o .moc/moc_keyFrameInterpolator.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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 /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/moc_keyFrameInterpolator.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from .moc/../config.h:80, from .moc/../vec.h:32, from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, 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, from .moc/moc_keyFrameInterpolator.cpp:10: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | 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:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ .moc/../vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: .moc/../constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../frame.h:29, from .moc/../keyFrameInterpolator.h:31, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: .moc/../constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/../keyFrameInterpolator.h:31, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: .moc/../frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: .moc/../keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: .moc/../keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from .moc/../quaternion.h:26, from .moc/../keyFrameInterpolator.h:29, from .moc/moc_keyFrameInterpolator.cpp:10: .moc/../vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ rm -f libQGLViewer-qt5.so.2.7.2 libQGLViewer-qt5.so libQGLViewer-qt5.so.2 libQGLViewer-qt5.so.2.7 x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -LQGLViewer -shared -Wl,-soname,libQGLViewer-qt5.so.2 -o libQGLViewer-qt5.so.2.7.2 .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 -lGLESv2 /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.7.2 libQGLViewer-qt5.so ln -s libQGLViewer-qt5.so.2.7.2 libQGLViewer-qt5.so.2 ln -s libQGLViewer-qt5.so.2.7.2 libQGLViewer-qt5.so.2.7 make[1]: Leaving directory '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer' cd examples/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/examples/examples.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color ' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=native -fno-diagnostics-color ' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -LQGLViewer' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= PREFIX=/usr LIB_DIR=/usr/lib64 DOC_DIR=/usr/share/doc/libQGLViewer-2.7.2/html ) && make -f Makefile make[1]: Entering directory '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/examples' cd animation/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/examples/animation/animation.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color ' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=native -fno-diagnostics-color ' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -LQGLViewer' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= PREFIX=/usr LIB_DIR=/usr/lib64 DOC_DIR=/usr/share/doc/libQGLViewer-2.7.2/html ) && make -f Makefile make[2]: Entering directory '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/examples/animation' x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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../.. -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/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/animation.o animation.cpp In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../../QGLViewer/config.h:80, from ../../QGLViewer/vec.h:32, from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../../QGLViewer/config.h:80, from ../../QGLViewer/vec.h:32, from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: ../../QGLViewer/vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ ../../QGLViewer/vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/frame.h:29, from ../../QGLViewer/keyFrameInterpolator.h:31, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: ../../QGLViewer/constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/frame.h:29, from ../../QGLViewer/keyFrameInterpolator.h:31, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: ../../QGLViewer/constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/keyFrameInterpolator.h:31, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: ../../QGLViewer/frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: ../../QGLViewer/keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: ../../QGLViewer/keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: ../../QGLViewer/camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h: At global scope: ../../QGLViewer/qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from animation.h:23, from animation.cpp:23: ../../QGLViewer/qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from animation.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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../.. -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/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/main.o main.cpp In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../../QGLViewer/config.h:80, from ../../QGLViewer/vec.h:32, from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:9: note: this is the location of the previous definition 9 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qopenglwidget.h:43, from /usr/include/qt5/QtWidgets/QOpenGLWidget:1, from ../../QGLViewer/config.h:80, from ../../QGLViewer/vec.h:32, from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES_2 | In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h: In member function ‘qglviewer::Vec qglviewer::Vec::unit() const’: ../../QGLViewer/vec.h:347:14: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 347 | Vec v = *this; | ^~~~ ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ ../../QGLViewer/vec.h:349:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 349 | return v; | ^ ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/frame.h:29, from ../../QGLViewer/keyFrameInterpolator.h:31, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::translationConstraintDirection() const’: ../../QGLViewer/constraint.h:265:12: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 265 | return translationConstraintDir_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/frame.h:29, from ../../QGLViewer/keyFrameInterpolator.h:31, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/constraint.h: In member function ‘qglviewer::Vec qglviewer::AxisPlaneConstraint::rotationConstraintDirection() const’: ../../QGLViewer/constraint.h:292:52: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 292 | Vec rotationConstraintDirection() const { return rotationConstraintDir_; }; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/keyFrameInterpolator.h:31, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/frame.h: In member function ‘qglviewer::Vec qglviewer::Frame::translation() const’: ../../QGLViewer/frame.h:255:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 255 | Vec translation() const { return t_; } | ^~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::position() const’: ../../QGLViewer/keyFrameInterpolator.h:334:35: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec position() const { return p_; } | ^~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/keyFrameInterpolator.h: In member function ‘qglviewer::Vec qglviewer::KeyFrameInterpolator::KeyFrame::tgP() const’: ../../QGLViewer/keyFrameInterpolator.h:336:30: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 336 | Vec tgP() const { return tgP_; } | ^~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/camera.h: In member function ‘qglviewer::Vec qglviewer::Camera::sceneCenter() const’: ../../QGLViewer/camera.h:334:36: warning: implicitly-declared ‘constexpr qglviewer::Vec::Vec(const qglviewer::Vec&)’ is deprecated [-Wdeprecated-copy] 334 | Vec sceneCenter() const { return sceneCenter_; } | ^~~~~~~~~~~~ In file included from ../../QGLViewer/quaternion.h:26, from ../../QGLViewer/keyFrameInterpolator.h:29, from ../../QGLViewer/camera.h:27, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: ../../QGLViewer/vec.h:119:8: note: because ‘qglviewer::Vec’ has user-provided ‘qglviewer::Vec& qglviewer::Vec::operator=(const qglviewer::Vec&)’ 119 | Vec &operator=(const Vec &v) { | ^~~~~~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h: At global scope: ../../QGLViewer/qglviewer.h:75:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 75 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h:78:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 78 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h:81:46: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 81 | Qt::WindowFlags flags = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qiterator.h:43, from /usr/include/qt5/QtCore/qmap.h:43, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h:1223:54: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1223 | void saveToFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ In file included from animation.h:23, from main.cpp:23: ../../QGLViewer/qglviewer.h:1224:59: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1224 | bool restoreFromFile(const QString &fileName = QString::null); | ^~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qmap.h:44, from /usr/include/qt5/QtCore/QMap:1, from ../../QGLViewer/camera.h:26, from ../../QGLViewer/qglviewer.h:26, from animation.h:23, from main.cpp:23: /usr/include/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -LQGLViewer -Wl,-rpath,/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/QGLViewer -o animation .obj/animation.o .obj/main.o -L../../QGLViewer -lQGLViewer-qt5 -lpthread -lGLESv2 /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Core.so /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/animation.o: in function `Particle::draw()': animation.cpp:(.text+0x146): undefined reference to `glColor3f' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/animation.o: in function `Viewer::draw()': animation.cpp:(.text+0x1dc): undefined reference to `glBegin' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/animation.o: in function `Viewer::init()': animation.cpp:(.text+0x3da): undefined reference to `glPointSize' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/animation.o: in function `Particle::draw()': animation.cpp:(.text+0x18a): undefined reference to `glVertex3fv' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .obj/animation.o: in function `Viewer::draw()': animation.cpp:(.text+0x212): undefined reference to `glEnd' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glTranslated' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `gluNewQuadric' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glLoadIdentity' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glTranslatef' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glMultMatrixd' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glPopAttrib' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glSelectBuffer' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `gluUnProject' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glVertex3d' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glGetLightfv' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glFeedbackBuffer' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `gluCylinder' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glPopMatrix' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glColor4fv' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glLoadMatrixd' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glFrustum' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `gluPickMatrix' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `gluSphere' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glGetDoublev' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glMatrixMode' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glOrtho' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glVertex2d' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glPolygonMode' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glMaterialfv' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glPushMatrix' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glVertex2i' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glDrawBuffer' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glInitNames' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glRenderMode' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glRotatef' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glNormal3d' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glPushAttrib' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `glColor4f' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../QGLViewer/libQGLViewer-qt5.so: undefined reference to `gluProject' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:72: animation] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/examples/animation' make[1]: *** [Makefile:70: sub-animation-make_first] Error 2 make[1]: Leaving directory '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2/examples' make: *** [Makefile:91: sub-examples-make_first-ordered] Error 2 * ERROR: x11-libs/libQGLViewer-2.7.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-libs/libQGLViewer-2.7.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-libs/libQGLViewer-2.7.2::gentoo'`. * The complete build log is located at '/var/log/portage/x11-libs:libQGLViewer-2.7.2:20210301-103627.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/temp/environment'. * Working directory: '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2' * S: '/var/tmp/portage/x11-libs/libQGLViewer-2.7.2/work/libQGLViewer-2.7.2'