error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQueue(

Problems building or running the engine, queries about how to use features etc.
Post Reply
fkl
Gnoblar
Posts: 4
Joined: Tue Sep 28, 2021 11:10 am
x 1

error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQueue(

Post by fkl »

Ogre Version: 1.9
Operating System: Archlinux
Render System: Gazebo (which uses Ignition, I believe)

I am having trouble installing Gazebo, which depends on ogre-1.9, on Arch Linux.

Package build failed during the compilation of /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp.
From the error messages, I believe this is an upstream issue with ogre:

Code: Select all

In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/Threading/OgreDefaultWorkQueue.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:66:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/Threading/OgreDefaultWorkQueueTBB.h: At global scope:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/Threading/OgreDefaultWorkQueueTBB.h:42:25: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQueue() noexcept (false)’
   42 |                 virtual ~DefaultWorkQueue();
      |                         ^
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:39,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreWorkQueue.h:369:25: note: overridden function is ‘virtual Ogre::DefaultWorkQueueBase::~DefaultWorkQueueBase() noexcept’
  369 |                 virtual ~DefaultWorkQueueBase();
Stderr:

Code: Select all

v1.9.1.tar.gz ... Passed
    sample-comparison-operator-const-args.patch ... Skipped
    sample-comparison-operator-const-callable.patch ... Skipped
CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindX11.cmake:255 (find_package):
  File /usr/share/cmake-3.21/Modules/FindX11.cmake includes
  /opt/AUR/ogre-1.9/src/ogre-1.9.1/CMake/Packages/FindFreetype.cmake (found
  via CMAKE_MODULE_PATH) which shadows
  /usr/share/cmake-3.21/Modules/FindFreetype.cmake.  This may cause errors
  later on .

[b][... Reducted due to character limitation ...][/b]

In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:116:108: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  116 |                 inline AxisAlignedBox( const Vector3& min, const Vector3& max ) : mMinimum(Vector3::ZERO), mMaximum(Vector3::UNIT_SCALE), mCorners(0)
      |                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h: In constructor ‘Ogre::AxisAlignedBox::AxisAlignedBox(Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real)’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:123:55: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  123 |                         Real Mx, Real My, Real Mz ) : mMinimum(Vector3::ZERO), mMaximum(Vector3::UNIT_SCALE), mCorners(0)
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:123:80: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  123 |                         Real Mx, Real My, Real Mz ) : mMinimum(Vector3::ZERO), mMaximum(Vector3::UNIT_SCALE), mCorners(0)
      |                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h: In member function ‘Ogre::Vector3 Ogre::AxisAlignedBox::getCorner(Ogre::AxisAlignedBox::CornerEnum) const’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:334:40: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  334 |                                 return mMinimum;
      |                                        ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:348:40: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  348 |                                 return mMaximum;
      |                                        ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h: In member function ‘void Ogre::AxisAlignedBox::merge(const Ogre::AxisAlignedBox&)’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:399:47: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  399 |                                 Vector3 min = mMinimum;
      |                                               ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:400:47: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  400 |                                 Vector3 max = mMaximum;
      |                                               ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h: In member function ‘Ogre::AxisAlignedBox Ogre::AxisAlignedBox::intersection(const Ogre::AxisAlignedBox&) const’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:609:42: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  609 |                         Vector3 intMin = mMinimum;
      |                                          ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:610:30: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  610 |             Vector3 intMax = mMaximum;
      |                              ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h: In member function ‘Ogre::Vector3 Ogre::AxisAlignedBox::getSize() const’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:709:49: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  709 |                                 return Vector3::ZERO;
      |                                                 ^~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:722:49: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  722 |                                 return Vector3::ZERO;
      |                                                 ^~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h: In member function ‘Ogre::Vector3 Ogre::AxisAlignedBox::getHalfSize() const’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:731:49: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  731 |                                 return Vector3::ZERO;
      |                                                 ^~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAxisAlignedBox.h:744:49: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
  744 |                                 return Vector3::ZERO;
      |                                                 ^~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAnimable.h:32,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreAnimation.h:35,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSkeleton.h:38,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMesh.h:39,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:40,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h: In member function ‘Ogre::Vector2 Ogre::Vector2::normalisedCopy() const’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h:533:28: warning: implicitly-declared ‘constexpr Ogre::Vector2::Vector2(const Ogre::Vector2&)’ is deprecated [-Wdeprecated-copy]
  533 |             Vector2 ret = *this;
      |                            ^~~~
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h:129:25: note: because ‘Ogre::Vector2’ has user-provided ‘Ogre::Vector2& Ogre::Vector2::operator=(const Ogre::Vector2&)’
  129 |         inline Vector2& operator = ( const Vector2& rkVector )
      |                         ^~~~~~~~
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h:535:20: warning: implicitly-declared ‘constexpr Ogre::Vector2::Vector2(const Ogre::Vector2&)’ is deprecated [-Wdeprecated-copy]
  535 |             return ret;
      |                    ^~~
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h:129:25: note: because ‘Ogre::Vector2’ has user-provided ‘Ogre::Vector2& Ogre::Vector2::operator=(const Ogre::Vector2&)’
  129 |         inline Vector2& operator = ( const Vector2& rkVector )
      |                         ^~~~~~~~
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h: In member function ‘Ogre::Radian Ogre::Vector2::angleTo(const Ogre::Vector2&) const’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector2.h:581:32: warning: implicitly-declared ‘constexpr Ogre::Radian::Radian(const Ogre::Radian&)’ is deprecated [-Wdeprecated-copy]
  581 |                         return angle;
      |                                ^~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:32,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMath.h:55:25: note: because ‘Ogre::Radian’ has user-provided ‘Ogre::Radian& Ogre::Radian::operator=(const Ogre::Radian&)’
   55 |                 Radian& operator = ( const Radian& r ) { mRad = r.mRad; return *this; }
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneQuery.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:42,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSphere.h: In constructor ‘Ogre::Sphere::Sphere()’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSphere.h:58:34: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
   58 |         Sphere() : mRadius(1.0), mCenter(Vector3::ZERO) {}
      |                                  ^~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneQuery.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:42,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSphere.h: In constructor ‘Ogre::Sphere::Sphere(const Ogre::Vector3&, Ogre::Real)’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSphere.h:64:32: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
   64 |             : mRadius(radius), mCenter(center) {}
      |                                ^~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneQuery.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:42,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRay.h: In constructor ‘Ogre::Ray::Ray()’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRay.h:52:15: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
   52 |         Ray():mOrigin(Vector3::ZERO), mDirection(Vector3::UNIT_Z) {}
      |               ^~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneQuery.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:42,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRay.h:52:39: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
   52 |         Ray():mOrigin(Vector3::ZERO), mDirection(Vector3::UNIT_Z) {}
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneQuery.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:42,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRay.h: In constructor ‘Ogre::Ray::Ray(const Ogre::Vector3&, const Ogre::Vector3&)’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRay.h:54:14: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
   54 |             :mOrigin(origin), mDirection(direction) {}
      |              ^~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneQuery.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:42,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRay.h:54:31: warning: implicitly-declared ‘constexpr Ogre::Vector3::Vector3(const Ogre::Vector3&)’ is deprecated [-Wdeprecated-copy]
   54 |             :mOrigin(origin), mDirection(direction) {}
      |                               ^~~~~~~~~~~~~~~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreMatrix3.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreNode.h:34,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneNode.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManager.h:37,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreSceneManagerEnumerator.h:33,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreVector3.h:134:25: note: because ‘Ogre::Vector3’ has user-provided ‘Ogre::Vector3& Ogre::Vector3::operator=(const Ogre::Vector3&)’
  134 |         inline Vector3& operator = ( const Vector3& rkVector )
      |                         ^~~~~~~~
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/Threading/OgreDefaultWorkQueue.h:36,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:66:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/Threading/OgreDefaultWorkQueueTBB.h: At global scope:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/Threading/OgreDefaultWorkQueueTBB.h:42:25: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQueue() noexcept (false)’
   42 |                 virtual ~DefaultWorkQueue();
      |                         ^
In file included from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreRoot.h:39,
                 from /opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:31:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/include/OgreWorkQueue.h:369:25: note: overridden function is ‘virtual Ogre::DefaultWorkQueueBase::~DefaultWorkQueueBase() noexcept’
  369 |                 virtual ~DefaultWorkQueueBase();
      |                         ^
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp: In member function ‘void Ogre::Root::loadPlugins(const String&)’:
/opt/AUR/ogre-1.9/src/ogre-1.9.1/OgreMain/src/OgreRoot.cpp:1043:24: warning: catching polymorphic type ‘class Ogre::Exception’ by value [-Wcatch-value=]
 1043 |                 catch (Exception)
      |                        ^~~~~~~~~
make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/build.make:1966: OgreMain/CMakeFiles/OgreMain.dir/src/OgreRoot.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1289: OgreMain/CMakeFiles/OgreMain.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Stdout:

Code: Select all

==> Making package: ogre-1.9 1.9.1-6 (Mon 27 Sep 2021 10:02:45 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v1.9.1.tar.gz
  -> Found sample-comparison-operator-const-args.patch
  -> Found sample-comparison-operator-const-callable.patch
==> Validating source files with sha512sums...
==> Extracting sources...
  -> Extracting v1.9.1.tar.gz with bsdtar
==> Starting prepare()...
patching file Samples/Common/include/Sample.h
Hunk #1 succeeded at 63 (offset 9 lines).
Hunk #2 succeeded at 95 (offset 8 lines).
patching file Samples/Common/include/Sample.h
Hunk #1 succeeded at 63 (offset 9 lines).
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Configuring OGRE 1.9.0
-- Detected g++ 11.1.0

-- Enabling GCC visibility flags
-- Search path: /opt/AUR/ogre-1.9/src/ogre-1.9.1/build/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/build/../Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/../Dependencies
-- Looking for ZLIB...
-- Checking for module 'zzip-zlib-config'
--   Package 'zzip-zlib-config', required by 'virtual:world', not found
-- Found ZLIB: optimized;/usr/lib/libz.so;debug;/usr/lib/libz.so
-- Looking for ZZip...
-- Found ZZip: optimized;/usr/lib/libzzip.so;debug;/usr/lib/libzzip.so
-- Looking for FreeImage...
-- Checking for module 'freeimage'
--   Package 'freeimage', required by 'virtual:world', not found
-- Found FreeImage: optimized;/usr/lib/libfreeimage.so;debug;/usr/lib/libfreeimage.so
-- Looking for FREETYPE...
-- CMAKE_PREFIX_PATH: /opt/AUR/ogre-1.9/src/ogre-1.9.1/build/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/build/../Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/../Dependencies;/usr/local;/usr/lib/x86_64-linux-gnu
-- CMAKE_PREFIX_PATH: /opt/AUR/ogre-1.9/src/ogre-1.9.1/build/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/build/../Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/../Dependencies;/usr/local;/usr/lib/x86_64-linux-gnu
-- Found FREETYPE: optimized;/usr/lib/libfreetype.so;debug;/usr/lib/libfreetype.so
-- Looking for FREETYPE...
-- CMAKE_PREFIX_PATH: /opt/AUR/ogre-1.9/src/ogre-1.9.1/build/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/build/../Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/../Dependencies;/usr/local;/usr/lib/x86_64-linux-gnu
-- CMAKE_PREFIX_PATH: /opt/AUR/ogre-1.9/src/ogre-1.9.1/build/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/build/../Dependencies;/opt/AUR/ogre-1.9/src/ogre-1.9.1/../Dependencies;/usr/local;/usr/lib/x86_64-linux-gnu
-- Looking for Cg...
-- Checking for module 'Cg'
--   Package 'Cg', required by 'virtual:world', not found
-- Found Cg: optimized;/lib/libCg.so;debug;/lib/libCg.so
-- Looking for POCO...
-- Checking for module 'POCO'
--   Package 'POCO', required by 'virtual:world', not found
-- Could not locate POCO
-- Looking for TBB...
-- Found TBB: optimized;/usr/lib/libtbb.so;debug;/usr/lib/libtbb.so
-- Looking for TBB_MALLOC...
-- Found TBB_MALLOC: optimized;/usr/lib/libtbbmalloc.so;debug;/usr/lib/libtbbmalloc.so
-- Looking for TBB_MALLOC_PROXY...
-- Found TBB_MALLOC_PROXY: optimized;/usr/lib/libtbbmalloc_proxy.so;debug;/usr/lib/libtbbmalloc_proxy.so
-- Looking for GLSL_Optimizer...
-- Checking for module 'GLSL_Optimizer'
--   Package 'GLSL_Optimizer', required by 'virtual:world', not found
-- Could not locate GLSL_Optimizer
-- Looking for HLSL2GLSL...
-- Checking for module 'HLSL2GLSL'
--   Package 'HLSL2GLSL', required by 'virtual:world', not found
-- Could not locate HLSL2GLSL
-- Looking for OIS...
-- Found OIS: optimized;/usr/lib/libOIS.so;debug;/usr/lib/libOIS.so
-- Looking for Softimage...
-- Could not locate Softimage
-- Looking for CppUnit...
-- Checking for module 'cppunit'
--   Package 'cppunit', required by 'virtual:world', not found
-- Could not locate CppUnit
-- 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ zlib
+ zziplib
+ freeimage
+ freetype
+ X11
+ Xt
+ Xaw
+ OpenGL
+ OpenGL 3+
+ OpenGL ES 2.x
+ OpenGL ES 3.x
+ cg
+ tbb
+ OIS
+ Doxygen
+ TinyXML
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ OpenGL ES 1.x: Support for the OpenGL ES 1.x render system (DEPRECATED) <http://www.khronos.org/opengles/>
+ boost: Boost (general) <http://boost.org>
+ boost-thread: Used for threading support <http://boost.org>
+ boost-date_time: Used for threading support <http://boost.org>
+ POCO: POCO framework <http://pocoproject.org/>
+ GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
+ HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>
+ CppUnit: Library for performing unit tests <http://cppunit.sourceforge.net>
-----------------------------------------------------------------------------

-- 
----------------------------------------------------------------------------
  FEATURE SUMMARY
----------------------------------------------------------------------------

Building components:
  + Paging
  + Terrain
  + RTShader System
  + RTShader System Core Shaders
  + RTShader System Extensions Shaders
  + Volume
  + Overlay
Building plugins:
  + BSP scene manager
  + Cg program manager
  + Octree scene manager
  + Portal connected zone scene manager
  + Particle FX
Building rendersystems:
  + OpenGL
Building executables:
  + Samples
  + Tools
Building core features:
  + DDS image codec
  + FreeImage codec
  + ZIP archives

Build type:                      dynamic
Threading support:               background (tbb)
Use double precision:            disabled
Assert mode:                     standard
Allocator type:                  nedmalloc (pooling)
STL containers use allocator:    enabled
Strings use allocator:           disabled
Memory tracker (debug):          disabled
Memory tracker (release):        disabled
Use Boost:                       disabled

----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/AUR/ogre-1.9/src/ogre-1.9.1/build
Consolidate compiler generated dependencies of target OgreMain
[  0%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRoot.cpp.o
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQu

Post by sercero »

It seems that the problems are with TBB (Thread Building Blocks)

See if you can uninstall that package or disable it from the CMake config.
fkl
Gnoblar
Posts: 4
Joined: Tue Sep 28, 2021 11:10 am
x 1

Re: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQu

Post by fkl »

Thanks for your reply. Hopefully with your help I can get ogre-1.9 built and installed for gazebo.
"See if you can uninstall that package or disable it from the CMake config."
How?

(Source: https://github.com/OGRECave/ogre/archive/v1.9.1.tar.gz)
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQu

Post by sercero »

Can you explain how you are compiling OGRE?

I have never used Archlinux.
fkl
Gnoblar
Posts: 4
Joined: Tue Sep 28, 2021 11:10 am
x 1

Re: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQu

Post by fkl »

Code: Select all

# Fetch the build script PKGBUILD, from which it'll grab https://github.com/OGRECave/ogre/archive/v1.9.1.tar.gz"
git clone https://aur.archlinux.org/ogre-1.9.git

# Build Pacman package and install
makepkg -sir
If you are familiar the ogre codebase, or at least have built ogre from scratch before then I just need you to tell me how to disable TBB as you suggested.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

Re: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQu

Post by sercero »

You need to be able to give CMake the following option: OGRE_THREAD_PROVIDER=0 to disable threading.

Another thing you can do is try newer OGRE versions, have you tried that yet?

For example one from the 1.10.x series: https://github.com/OGRECave/ogre/archiv ... 0.0.tar.gz

Here is the complete list: https://github.com/OGRECave/ogre/tags?after=v1.10.6
fkl
Gnoblar
Posts: 4
Joined: Tue Sep 28, 2021 11:10 am
x 1

Re: error: looser exception specification on overriding virtual function ‘virtual Ogre::DefaultWorkQueue::~DefaultWorkQu

Post by fkl »

I was able build ogre-1.9 after doing a full system upgrade of Archlinux. Thanks for your help.
Post Reply