when compiling ogre 1.0.0rc1 i've got this strange warnings:
Code: Select all
In file included from ../../../OgreMain/include/OgreEntity.h:37,
from ../../../OgreMain/include/Ogre.h:41,
from main.cpp:27:
../../../OgreMain/include/OgreSharedPtr.h: In member function `void
Ogre::SharedPtr<T>::destroy() [with T = Ogre::Mesh]':
../../../OgreMain/include/OgreSharedPtr.h:140: instantiated from `void Ogre::SharedPtr<T>::release() [with T = Ogre::Mesh]'
../../../OgreMain/include/OgreSharedPtr.h:88: instantiated from `Ogre::SharedPtr<T>::~SharedPtr() [with T = Ogre::Mesh]'
../../../OgreMain/include/OgreMesh.h:53: instantiated from here
../../../OgreMain/include/OgreSharedPtr.h:149: warning: possible problem
detected in invocation of delete operator:
../../../OgreMain/include/OgreSharedPtr.h:149: warning: invalid use of
undefined type `struct Ogre::Mesh'
../../../OgreMain/include/OgrePrerequisites.h:260: warning: forward declaration
of `struct Ogre::Mesh'
../../../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.
[/quote]
and similar i get, when building my simple proggie (despite errors, concerning outdated ExampleFrameListener.h and ExampleApplication.h. i forget to copy'em to ogre include dir :-) )