[Bf-committers] [PATCH]Compiling blender-2.45 on gcc-4.3.0-0.4

Martin Poirier theeth at yahoo.com
Sun Jan 20 22:21:35 CET 2008


Hi,


Thanks for the patch.

To facilitate follow ups, I've submitted it for you to
our patch tracker.

http://projects.blender.org/tracker/?func=detail&aid=8125&group_id=9&atid=127


Thanks,

Martin

--- Jochen Schmitt <Jochen at herr-schmitt.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> I'm the maintaeiner of the blender package in the
> Fedora project.
> Because we plan to migrate to gcc-4.3.0 for
> Fedora 9 I have done a testbuild of blender-2.4
> agains gcc-4.3.0-0.4
> (a prerelease of gcc-4.3)
> 
> Now I will send you a patch which you may need to
> build blender on
> gcc-4.3.0-0.4.
> 
> Best Regards:
> 
> Jochen Schmitt
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora -
> http://enigmail.mozdev.org
> 
>
iD8DBQFHk7f3T2AHK6txfgwRAolBAJ9W+mdi6SUhCQdvaNXXG7OPsTKjtACeJjBf
> EsGCKNr/hwB8JY0sJg9o9xA=
> =9iJj
> -----END PGP SIGNATURE-----
> 
> > diff -up
>
blender-2.45/source/blender/yafray/intern/yafray_Render.cpp.gcc43
>
blender-2.45/source/blender/yafray/intern/yafray_Render.cpp
> ---
>
blender-2.45/source/blender/yafray/intern/yafray_Render.cpp.gcc43
> 2007-09-18 06:58:44.000000000 +0200
> +++
>
blender-2.45/source/blender/yafray/intern/yafray_Render.cpp
> 2008-01-17 20:49:05.000000000 +0100
> @@ -8,6 +8,8 @@
>  
>  #include <math.h>
>  
> +#include <cstring>
> +
>  using namespace std;
>  
>  void yafrayRender_t::clearAll()
> diff -up
>
blender-2.45/source/blender/yafray/intern/export_File.cpp.gcc43
>
blender-2.45/source/blender/yafray/intern/export_File.cpp
> ---
>
blender-2.45/source/blender/yafray/intern/export_File.cpp.gcc43
> 2007-09-18 06:58:44.000000000 +0200
> +++
>
blender-2.45/source/blender/yafray/intern/export_File.cpp
> 2008-01-17 20:49:05.000000000 +0100
> @@ -2,6 +2,8 @@
>  
>  #include <math.h>
>  
> +#include <cstring>
> +
>  using namespace std;
>  
>  static string command_path = "";
> diff -up
>
blender-2.45/source/blender/yafray/intern/export_Plugin.cpp.gcc43
>
blender-2.45/source/blender/yafray/intern/export_Plugin.cpp
> ---
>
blender-2.45/source/blender/yafray/intern/export_Plugin.cpp.gcc43
> 2007-09-18 06:58:44.000000000 +0200
> +++
>
blender-2.45/source/blender/yafray/intern/export_Plugin.cpp
> 2008-01-17 20:49:05.000000000 +0100
> @@ -1,6 +1,9 @@
>  #include "export_Plugin.h"
>  
>  #include <math.h>
> +
> +#include <cstring>
> +
>  using namespace std;
>  
>  
> diff -up
>
blender-2.45/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp.gcc43
>
blender-2.45/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp
> ---
>
blender-2.45/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp.gcc43
> 2008-01-17 20:56:36.000000000 +0100
> +++
>
blender-2.45/source/gameengine/GamePlayer/common/GPC_KeyboardDevice.cpp
> 2008-01-17 20:57:03.000000000 +0100
> @@ -32,6 +32,8 @@
>  
>  #include "GPC_KeyboardDevice.h"
>  
> +#include <cstdlib>
> +
>  /** 
>   * NextFrame toggles currentTable with
> previousTable,
>   * and copies relevant event information from
> previous to current table
> diff -up
>
blender-2.45/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h.gcc43
>
blender-2.45/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h
> ---
>
blender-2.45/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h.gcc43
> 2007-09-18 06:58:17.000000000 +0200
> +++
>
blender-2.45/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h
> 2008-01-17 20:49:05.000000000 +0100
> @@ -56,7 +56,7 @@
>  #  undef GL_ARB_vertex_program
>  #endif
>  
> -#include "glext.h"
> +// #include "glext.h"
>  
>  #include "EXT_separate_specular_color.h"
>  #include "ARB_multitexture.h"
> diff -up
> blender-2.45/intern/string/STR_String.h.gcc43
> blender-2.45/intern/string/STR_String.h
> --- blender-2.45/intern/string/STR_String.h.gcc43
> 2007-09-18 06:58:01.000000000 +0200
> +++ blender-2.45/intern/string/STR_String.h
> 2008-01-17 20:49:05.000000000 +0100
> @@ -47,6 +47,10 @@
>  
>  #include <vector>
>  #include <limits.h>
> +
> +#include <cstring>
> +#include <cstdlib>
> +
>  using namespace std;
>  
>  
> diff -up
>
blender-2.45/intern/ghost/intern/GHOST_WindowX11.cpp.gcc43
> blender-2.45/intern/ghost/intern/GHOST_WindowX11.cpp
> ---
>
blender-2.45/intern/ghost/intern/GHOST_WindowX11.cpp.gcc43
> 2007-09-18 06:57:51.000000000 +0200
> +++
> blender-2.45/intern/ghost/intern/GHOST_WindowX11.cpp
> 2008-01-17 20:49:05.000000000 +0100
> @@ -42,6 +42,8 @@
>  #include <strings.h>
>  #endif
>  
> +#include <cstring>
> +#include <cstdio>
>  
>  // For obscure full screen mode stuuf
>  // lifted verbatim from blut.
> > _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
>
http://lists.blender.org/mailman/listinfo/bf-committers
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



More information about the Bf-committers mailing list