Package: ogre
Version: 0.15.2-1
Severity: important

Hi,

Your package is failing to build on a few arches with the
following error:
g++ -DHAVE_CONFIG_H -I. -I. -I../../OgreMain/include -I/usr/include
/freetype2 -I../../OgreMain/include -DOGRE_NONCLIENT_BUILD -g -O2 -MT OgreMeshS
erializerImpl.lo -MD -MP -MF .deps/OgreMeshSerializerImpl.Tpo -c OgreMeshSerial
izerImpl.cpp  -fPIC -DPIC -o .libs/OgreMeshSerializerImpl.o
OgreMeshSerializerImpl.cpp: In member function `virtual void
   Ogre::MeshSerializerImpl::writeSubMesh(const Ogre::SubMesh*)':
OgreMeshSerializerImpl.cpp:212: error: invalid conversion from `size_t*' to `
   const unsigned int*'
OgreMeshSerializerImpl.cpp:212: error:   initializing argument 1 of `void
   Ogre::Serializer::writeInts(const unsigned int*, long unsigned int)'
OgreMeshSerializerImpl.cpp: In member function `virtual void
   Ogre::MeshSerializerImpl::writeGeometry(const Ogre::VertexData*)':
OgreMeshSerializerImpl.cpp:292: error: invalid conversion from `const size_t*'
   to `const unsigned int*'
[...]

Casting from one pointer type to an other is ussually a very
bad thing to do.  A size_t is not the same size as an int.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to