MantisBT - VTK
View Issue Details
0002681VTK(No Category)public2006-01-05 07:342016-08-12 09:54
Tim Peeters 
Will Schroeder 
normalminoralways
closedmoved 
 
 
0002681: does not compile on freebsd 6.0-release
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.
No tags attached.
patch vtkVRMLImporter.cxx.patch (486) 1969-12-31 19:00
https://www.vtk.org/Bug/file/5439/vtkVRMLImporter.cxx.patch
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036817
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0036817)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.