gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] GCL on Mac OS X (Mountain Lion)


From: Gabriel Dos Reis
Subject: Re: [Gcl-devel] GCL on Mac OS X (Mountain Lion)
Date: Thu, 11 Jul 2013 01:00:37 -0500

Camm Maguire <address@hidden> writes:

| Greetings, and thanks so much!  Why don't you try again after the latest
| commit.  Please let me know if this is not fixed.

Thanks, Camm.
Indeed, ./configure finished appropriately.  However, make failed with:

fat_string.c:34:1: error: conflicting types for 'profil'
 profil(void)
 ^
In file included from fat_string.c:6:0:
/usr/include/unistd.h:706:6: note: previous declaration of 'profil' was here
 int  profil(char *, size_t, unsigned long, unsigned int);
      ^



Also, even though this was just a warning, maybe it deserves some attention:

In file included from funlink.c:981:0:
xdrfuns.c: In function 'siGxdr_write':
xdrfuns.c:50:5: warning: passing argument 2 of 'xdr_long' from incompatible 
pointer type [enabled by default]
     if(!xdr_long(xdrp,(long *)&fix(elt))) goto error;
     ^
In file included from /usr/include/rpc/rpc.h:70:0,
                 from xdrfuns.c:23,
                 from funlink.c:981:
/usr/include/rpc/xdr.h:352:15: note: expected 'int *' but argument is of type 
'long int *'
 extern bool_t xdr_long(XDR *, int *);
               ^
In file included from funlink.c:981:0:
xdrfuns.c: In function 'siGxdr_read':
xdrfuns.c:109:7: warning: passing argument 2 of 'xdr_long' from incompatible 
pointer type [enabled by default]
       if(!xdr_long(xdrp,(long *)&l)) goto error;
       ^
In file included from /usr/include/rpc/rpc.h:70:0,
                 from xdrfuns.c:23,
                 from funlink.c:981:
/usr/include/rpc/xdr.h:352:15: note: expected 'int *' but argument is of type 
'long int *'
 extern bool_t xdr_long(XDR *, int *);
               ^


The reason why I think this might deserve attention -- unrelated to the
error -- is that this is 64bit machine where 'int' and 'long int' have
different sizeof.

Thanks!

-- Gaby



reply via email to

[Prev in Thread] Current Thread [Next in Thread]