A problem with ptrdiff_t
Robert Latham
robl at mcs.anl.gov
Wed Dec 13 00:38:54 CST 2006
> The offending line in stddef is a typedef for ptrdiff_t ; there must
> be conflicting definitions in the ncconfig.h file .
There sure is. You found and diagnosed this earlier this year :>
http://www.mcs.anl.gov/web-mail-archive/lists/parallel-netcdf/2006/06/msg00010.html
Unfortunately, two-argument AC_CHECK_TYPE is deprecated:
http://www.gnu.org/software/autoconf/manual/html_node/Obsolete-Macros.html
and while Autoconf 2.59 has been out for quite some time, I'm still
nervous about adding AC_CHECK_TYPES and the corresponding
AC_PREREQ(2.59) to our configure.in
In any case, I think I fixed this by taking the easy way out and
including <stddef.h> before ncconfig.h. I don't have asccess to an os
x box right now. Please try CVS now and see if it fixed the problem.
==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