[mpich-devel] LLONG_MAX undeclared in status_set_elements_x.c ?
Dave Goodell
goodell at mcs.anl.gov
Thu Nov 29 15:23:03 CST 2012
Howard, what configure options are you using? We've seen a problem like this when "--enable-strict=c89" is passed, since the features.h header deliberately avoids defining LLONG_MAX when in C89 mode. I haven't had the time to come up with a fix for this yet.
-Dave
On Nov 29, 2012, at 3:08 PM CST, Howard Pritchard wrote:
> HI Folks,
>
> I've done a fresh update of mpich2 trunk on my sles 11 machine, done a new autogen.sh
> and config of mpich. But when I compile, I get this error in this fairly recently introduced
> file:
>
> src/mpi/datatype/status_set_elements_x.c: In function 'MPIR_Status_set_elements_x_impl':
> src/mpi/datatype/status_set_elements_x.c:41: error: 'LLONG_MAX' undeclared (first use in this function)
> src/mpi/datatype/status_set_elements_x.c:41: error: (Each undeclared identifier is reported only once
> src/mpi/datatype/status_set_elements_x.c:41: error: for each function it appears in.)
> make[2]: *** [src/mpi/datatype/status_set_elements_x.lo] Error 1
>
> It looks like mpiimpl.h isn't pulling in limits.h.
>
> Howard
>
> --
> Howard Pritchard
> Software Engineering
> Cray, Inc.
>
More information about the devel
mailing list