pre-release: parallel-netcdf 1.0.2pre1 - configure on AIX

Robert Latham robl at mcs.anl.gov
Fri Feb 16 18:46:06 CST 2007


On Fri, Feb 16, 2007 at 03:56:31PM -0700, Jim Edwards wrote:
> In several of the src/lib/*.c files there is
> 
> #ifdef HAVE_STDLIB_H
> #include <stdlib.h>
> #endif
> 
> HAVE_STDLIB_H is defined in ncconfig.h which is included by nc.h - one of
> these two files needs to be included in each file prior to the above test -
> otherwise stdlib.h is not included and malloc returns an int which will
> cause a 64-bit compile to fail when allocating pointers.

Hi Jim

I just spent the entire day going crazy over a different issue caused
by the same thing: ncconfig.h not being included soon enough.  

I think it's time for a -pre2

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B




More information about the parallel-netcdf mailing list