I get the following when I compile my project. It does not kill the compile but it is a little annoying to sort through every time.
Can anyone tell me what is wrong?
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
In file included from /home/waxor/div3/ogrenew/OgreMain/include/OgreEntity.h:37,
from /home/waxor/div3/ogrenew/OgreMain/include/Ogre.h:41,
from main.cc:1:
/home/waxor/div3/ogrenew/OgreMain/include/OgreSharedPtr.h: In member function `
void Ogre::SharedPtr<T>::destroy() [with T = Ogre::Mesh]':
/home/waxor/div3/ogrenew/OgreMain/include/OgreSharedPtr.h:140: instantiated from `void Ogre::SharedPtr<T>::release() [with T = Ogre::Mesh]'
/home/waxor/div3/ogrenew/OgreMain/include/OgreSharedPtr.h:88: instantiated from `Ogre::SharedPtr<T>::~SharedPtr() [with T = Ogre::Mesh]'
/home/waxor/div3/ogrenew/OgreMain/include/OgreMesh.h:53: instantiated from here
/home/waxor/div3/ogrenew/OgreMain/include/OgreSharedPtr.h:149: warning: possible
problem detected in invocation of delete operator:
/home/waxor/div3/ogrenew/OgreMain/include/OgreSharedPtr.h:149: warning: invalid
use of undefined type `struct Ogre::Mesh'
/home/waxor/div3/ogrenew/OgreMain/include/OgrePrerequisites.h:260: warning: forward
declaration of `struct Ogre::Mesh'
/home/waxor/div3/ogrenew/OgreMain/include/OgreSharedPtr.h:149: note: neither
the destructor nor the class-specific operator delete will be called, even
if they are declared when the class is defined.
Compiler yells at me (Possible design bug?)
-
waxor
- Gnoblar
- Posts: 7
- Joined: Wed Mar 17, 2004 5:49 pm
- Contact:
- :wumpus:
- OGRE Retired Team Member

- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1