Warnings About Deprecated 'setUserAny'

Problems building or running the engine, queries about how to use features etc.
Post Reply
kabbotta
Halfling
Posts: 50
Joined: Wed Mar 04, 2015 4:38 am
Location: United States
x 9

Warnings About Deprecated 'setUserAny'

Post by kabbotta »

I just upgraded a few libraries, and suddenly I'm getting a bunch of deprecated warnings while using Ogre built from the mercurial v1-9. The warnings are not for functions I'm using directly, but warnings coming from Ogre itself.

Like this one from the inclusion of OgreManualObject.h:

Code: Select all

warning: ‘virtual void Ogre::Renderable::setUserAny(const Ogre::Any&)’ is deprecated [-Wdeprecated-declarations]
Any idea what is causing this to have suddenly happened? I could only find this one issue similar issue that a project called gazebo was having: https://bitbucket.org/osrf/gazebo/issue/995

They seem to have needed to make similar changes when using 1.9 after these new warnings showed up.
"You owe it to yourself, to know it to yourself."
Post Reply