compile warnings

garidgar

29-08-2008 23:54:29

I've been having issues trying to compile this under eihort 1.4.3. Long story short, after downloading the version from svn and compiling that, I finally got it to compile.

However, even though it successfully compiled, TerrainGenerator had 185 warnings in VC++ 2005 Express, and I was wondering what sorts of problems I might end up with from this.

I'll list a few samples of the warnings I received. C4793 is by far the most common of the errors, probably occurring 180 times, and appears to occur any time PLSM2_ASSERT() is called. The other error, C4677, occurs at virtual bool FrameStarted( ::FrameEvent^ evt ) { ... and virtual bool FrameEnded( ::FrameEvent^ evt ) { ... in TerrainWindowViewer.h
c:\OgreSDK\PlugIns\PagingLandScape2\include\OgrePagingLandScapeSceneManager.h(343) : warning C4793: '__asm' : causes native code generation for function 'Ogre::PagingLandScapeOptions *Ogre::PagingLandScapeSceneManager::getOptions(void)'
c:\OgreSDK\PlugIns\PagingLandScape2\include\OgrePagingLandScapeSceneManager.h(341) : see declaration of 'Ogre::PagingLandScapeSceneManager::getOptions'
... ... ...
Generating Code...
c:\OgreSDK\PlugIns\PagingLandScape2\src\OgrePagingLandScapeData2DManager.cpp : warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function 'Ogre::PagingLandScapeData2D::`vcall'{28}''
Compiling...
... ... ...
TerrainViewerWindow.cpp
c:\OgreSDK\Tools\TerrainGenerator\include\TerrainViewerWindow.h(64) : warning C4677: 'FrameStarted': signature of non-private member contains assembly private type 'FrameEvent'
c:\ogresdk\tools\terraingenerator\include\FrameListener.h(7) : see declaration of 'FrameEvent'
c:\OgreSDK\Tools\TerrainGenerator\include\TerrainViewerWindow.h(71) : warning C4677: 'FrameEnded': signature of non-private member contains assembly private type 'FrameEvent'
c:\ogresdk\tools\terraingenerator\include\FrameListener.h(7) : see declaration of 'FrameEvent'
... ... ...