Including OgreInstanceManager.h with /W4 causes warning

Minor issues with the Ogre API that can be trivial to fix
Post Reply
User avatar
Cygon
Halfling
Posts: 70
Joined: Thu Nov 07, 2002 9:36 pm
Location: Germany
x 5
Contact:

Including OgreInstanceManager.h with /W4 causes warning

Post by Cygon »

Ogre's headers are doing a great job compiling warning-free with warning level 4 in Visual Studio.

There's just one file that does generate a warning, each time it is included: ogreinstancemanager.h:

Code: Select all

6>  OgreGameState.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  GameplayGameState.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  ShaderGeneratorMaterialListener.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  WorldPresenter.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  ProjectilePresenter.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  Presenter.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  IslandPresenter.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  RadarBuildingPresenter.cpp
6>e:\islandwar\references\ogre\include\ogreinstancemanager.h(277): warning C4512: 'Ogre::InstanceManager' : assignment operator could not be generated
6>          e:\islandwar\references\ogre\include\ogreinstancemanager.h(62) : see declaration of 'Ogre::InstanceManager'
6>  Generating Code...
6>  Compiling...
Post Reply