On 02/15/2012 08:18 PM, no-re...@cfengine.com wrote:

> Wow, that was easy! I downloaded version 3.2.4, and the configure and build 
> went through without any trouble, just a few GCC warnings:

Good to hear that.

> getopt.c: In function '_getopt_internal':
> getopt.c:487:32: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> getopt.c:511:16: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> getopt.c:541:17: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> getopt.c:554:17: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> getopt.c:558:16: warning: incompatible implicit declaration of built-in 
> function 'strlen'

Already addressed in trunk, I believe.

> getloadavg.c:494:1: warning: no previous prototype for 'getloadavg' 
> [-Wmissing-prototypes]

> client_protocol.c: In function 'IdentifyAgent':
> client_protocol.c:86:31: warning: passing argument 3 of 'getsockname' from 
> incompatible pointer type
> /opt/hp-gcc-4.6.0/lib/gcc/hppa1.1-hp-hpux11.11/4.6.0/include-fixed/sys/socket.h:454:15:
>  note: expected 'socklen_t *' but argument is of type 'int *'
>
> server.c: In function 'StartServer':
> server.c:416:38: warning: passing argument 3 of 'accept' from incompatible 
> pointer type
> /opt/hp-gcc-4.6.0/lib/gcc/hppa1.1-hp-hpux11.11/4.6.0/include-fixed/sys/socket.h:450:15:
>  note: expected 'socklen_t *' but argument is of type 'int *'

Fixed those as well.

-- 
Mikhail Gusarov
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to