[Rd] OSF1 build fails (PR#9380)

From: <gml4410_at_ggr.co.uk>
Date: Thu 23 Nov 2006 - 14:30:07 GMT


Full_Name: Gordon Lack
Version: 2.4.0
OS: OSF1 5.1
Submission from: (NULL) (198.28.92.5)

Attempts to build R 2.4.0 on an OSF1 5.1 system result in:



gcc -I. -I../../src/include -I../../src/include .......... In file included from dynload.c:33:
../../src/include/Defn.h:554: error: parse error before "R_CStackLimit"
../../src/include/Defn.h:554: warning: type defaults to `int' in declaration of
`R_CStackLimit'
../../src/include/Defn.h:554: warning: data definition has no type or storage
class
../../src/include/Defn.h:555: error: parse error before "R_CStackStart"
../../src/include/Defn.h:555: warning: type defaults to `int' in declaration of
`R_CStackStart'
../../src/include/Defn.h:555: warning: data definition has no type or storage
class

This is a result of uintptr_t being undefined at this point.

This is caused by HAVE_DECL_SIZE_MAX not being defined on OSF1 and so <inttypes.h> is not included.

Moving the inclusion of <inttypes.h> (which is already conditional on having it) out of the SIZE_MAX test block cures the problem.



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Nov 24 14:09:28 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 24 Nov 2006 - 05:30:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.