[Bf-committers] malloc.h considered harmful ...

Daniel Dunbar bf-committers@blender.org
Sat, 1 May 2004 08:54:59 -0700 (PDT)


Yes, malloc.h should not be used, stdlib.h is correct.

--- Hans Lambermont <hans@lambermont.dyndns.org> wrote:
> Hi,
> 
> While compiling blender on FreeBSD-current (5.2 instead of 4.9) I get:
> 
> /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
> in source/gameengine/Physics/BlOde/OdePhysicsController.cpp
> 
> What do you think ? Is it OK for all other platforms to replace malloc.h
> with stdlib.h ? (bit hard to test without Tinderbox ... oops ;-)
> 
> -- Hans
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers


=====
daniel dunbar
daniel@zuster.org