Package: blender
Version: 2.46+dfsg-6
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of blender_2.46+dfsg-6 on em64t by sbuild/amd64 0.53
...
> Compiling ==> 'KX_RayCast.cpp'
> In file included from 
> source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h:34,
>                  from source/gameengine/Ketsji/KX_RayCast.cpp:39:
> source/gameengine/Physics/common/PHY_DynamicTypes.h:49: warning: 'typedef' 
> was ignored in this declaration
> source/gameengine/Ketsji/KX_RayCast.cpp: In static member function 'static 
> bool KX_RayCast::RayTest(KX_IPhysicsController*, PHY_IPhysicsEnvironment*, 
> const MT_Point3&, const MT_Point3&, MT_Point3&, MT_Vector3&, const 
> KX_RayCast&)':
> source/gameengine/Ketsji/KX_RayCast.cpp:69: error: 'printf' was not declared 
> in this scope
> scons: *** [build/linux2/source/gameengine/Ketsji/KX_RayCast.o] Error 1
> scons: building terminated because of errors.
> make: *** [build-stamp] Error 2

--- source/gameengine/Ketsji/KX_RayCast.cpp~    2008-11-13 19:14:23.000000000 
+0000
+++ source/gameengine/Ketsji/KX_RayCast.cpp     2008-11-13 19:14:30.000000000 
+0000
@@ -28,6 +28,7 @@
  * KX_MouseFocusSensor determines mouse in/out/over events.
  */
 
+#include <stdio.h>
 #include <stdlib.h>
 
 #include "KX_RayCast.h"

-- 
Martin Michlmayr
http://www.cyrius.com/



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

Reply via email to