malloc.h in pnetcdf

Rob Ross rross at mcs.anl.gov
Thu Dec 10 10:12:58 CST 2009


Thanks Bill. At the very least that needs a configure test. -- Rob

On Dec 10, 2009, at 10:02 AM, William Gropp wrote:

> My build is now failing in the files that include mvar.h - this file  
> includes malloc.h , which isn't standard and isn't available on Mac  
> OSX.  What definition is this header supplying?  malloc and friends  
> are now part of stdlib.h .  Should this include either be removed or  
> changed to
>
> #ifdef HAVE_STDLIB_H
> #include <stdlib.h>
> #endif
>
> ?
>
> Bill
>
> William Gropp
> Deputy Director for Research
> Institute for Advanced Computing Applications and Technologies
> Paul and Cynthia Saylor Professor of Computer Science
> University of Illinois Urbana-Champaign
>
>
>
>



More information about the parallel-netcdf mailing list