[R] compile error on aix 5.2 using gcc 2.9-aix51-020209

From: Liao, Kexiao <liao1k_at_cmich.edu>
Date: Fri 23 Jul 2004 - 05:39:01 EST


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]]



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 23 05:45:31 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:11 EST