does not compile on freebsd 6.0-release
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
in FBSD6 (perhaps earlier?), malloc.h is depricated:
/* $FreeBSD: src/include/malloc.h,v 1.5 2001/11/07 23:14:31 obrien Exp $ */ #if STDC #error "<malloc.h> has been replaced by <stdlib.h>" #else #include <stdlib.h> #endif
malloc.h is included in vtkVRMLImporter.cxx for all systems except apple.
Included patch fixes this by adding an #ifndef FreeBSD.
I don't use vtkVRMLImporter so I haven't tested it, and I also did not compile it (yet) on other operating systems. But the fix seems quite simple.