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.