Compiler yells at me (Possible design bug?)

Problems building or running the engine, queries about how to use features etc.
Post Reply
waxor
Gnoblar
Posts: 7
Joined: Wed Mar 17, 2004 5:49 pm
Contact:

Compiler yells at me (Possible design bug?)

Post by waxor »

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.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Post Reply