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

Hans Lambermont bf-committers@blender.org
Sat, 1 May 2004 08:23:06 +0200


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