CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindOpenGL.cmake:315 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): octovis/CMakeLists.txt:71 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it.      In file included from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/OcTreeDrawer.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/OcTreeDrawer.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/OcTreeDrawer.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/keyFrameInterpolator.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/camera.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/keyFrameInterpolator.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/camera.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/keyFrameInterpolator.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/camera.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/src/octomap/octovis/src/main.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from /home/firmament/codes/24navigation/src/octomap/octovis/src/main.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/src/octomap/octovis/src/main.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from /home/firmament/codes/24navigation/src/octomap/octovis/src/main.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/src/octomap/octovis/src/main.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from /home/firmament/codes/24navigation/src/octomap/octovis/src/main.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerGui.cpp:29: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerGui.cpp:29: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerGui.cpp:29: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerGui.cpp:29: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerGui.cpp:29: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerGui.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerGui.cpp:29: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp: In constructor ‘octomap::ViewerWidget::ViewerWidget(QWidget*)’: /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:37:50: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 37 | QGLViewer(parent), m_zMin(0.0),m_zMax(1.0) { | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/ViewerWidget.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerGui.cpp:10: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerGui.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerGui.cpp:10: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerGui.cpp:10: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerGui.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerGui.cpp:10: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerGui.h:43, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerGui.cpp:10: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerGui.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerGui.cpp:10: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerWidget.cpp:10: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerWidget.cpp:10: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerWidget.cpp:10: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerWidget.cpp:10: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerWidget.cpp:10: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/../../../../../src/octomap/octovis/include/octovis/ViewerWidget.h:28, from /home/firmament/codes/24navigation/build/octomap-distribution/octovis/include/octovis/moc_ViewerWidget.cpp:10: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/keyFrameInterpolator.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/camera.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/keyFrameInterpolator.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/camera.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/keyFrameInterpolator.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/camera.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:26, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SelectionBox.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/SelectionBox.cpp:27: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:84:101: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 84 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/OcTreeDrawer.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:85:122: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 85 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/OcTreeDrawer.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:25: /usr/include/x86_64-linux-gnu/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 /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:27: /home/firmament/codes/24navigation/src/octomap/octovis/src/extern/QGLViewer/qglviewer.h:86:126: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 86 | et* parent=0, const QGLWidget* shareWidget=0, Qt::WindowFlags flags=0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/SceneObject.h:29, from /home/firmament/codes/24navigation/src/octomap/octovis/include/octovis/OcTreeDrawer.h:28, from /home/firmament/codes/24navigation/src/octomap/octovis/src/OcTreeDrawer.cpp:25: /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~