[mpich2-dev] error compiling ROMIO's malloc.c in Fedora 15

Dave Goodell goodell at mcs.anl.gov
Tue Aug 23 14:13:16 CDT 2011


On Aug 23, 2011, at 2:06 PM CDT, Larry Baker wrote:

> I would have thought #include <malloc.h> would have been replaced with #include <stdlib.h> starting over 20 years ago with C89.  Old coding habits have caused me problems with other packages because there is no malloc.h system include file on a Mac, for example.  Is it rational to examine the MPICH2 code base and upgrade the #include <malloc.h>'s to #include <stdlib.h>?

I'd say it's very rational to do that.  Patches are welcome, otherwise we'll probably get to it someday.

-Dave



More information about the mpich2-dev mailing list