mechanicmarx / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Compiling with gcc 4.6 #144

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Try to compile with gcc 4.6
2.Error with ‘ptrdiff_t’ has not been declared
3.Add '#include <cstddef>' to 
'gamekit-read-only/Ogre-1.8/OgreMain/include/OgreOptimisedUtil.h' and compiles

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Todays's SVN on Fedora Rawhide (FC15/FC16)

Please provide any additional information below.
This is the error:
/gamekit-read-only/Ogre-1.8/OgreMain/include/OgreOptimisedUtil.h:212:49: error: 
‘ptrdiff_t’ has not been declared
/gamekit-read-only/Ogre-1.8/OgreMain/include/OgreOptimisedUtil.h:222:53: error: 
‘ptrdiff_t’ has not been declared
make[2]: *** 
[Ogre-1.8/OgreMain/CMakeFiles/OgreMain.dir/src/OgreEdgeListBuilder.cpp.o] Error 
1
make[1]: *** [Ogre-1.8/OgreMain/CMakeFiles/OgreMain.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by thomasbe...@gmail.com on 1 Mar 2011 at 5:36

GoogleCodeExporter commented 8 years ago
Fixed in r856.

We should probably signal/send the patch upstream.

Original comment by xavier.thomas.1980@gmail.com on 11 Mar 2011 at 3:23

Attachments: