Liao, Kexiao
2004-Jul-22 19:39 UTC
[R] compile error on aix 5.2 using gcc 2.9-aix51-020209
Dear R Development Team, I just compile R-1.9.1 on AIX 5.2 using gcc 2.9-aix51-020209. During the compile process, there is an error message saying "return type mismatch in R_HOME/src/modules/X11/devX11.c line 1768. Following is the part of the C codes from file devX11.c /** This allocates an newX11Desc instance and sets its default values. */ newX11Desc * Rf_allocNewX11DeviceDesc(double ps) { newX11Desc *xd; /* allocate new device description */ if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc)))) return FALSE; It seems newX11Desc and FALSE is not the same data type. Can anybody give some help? Thanks Kexiao [[alternative HTML version deleted]]