On 02/16/2012 10:14 AM, Mikhail Gusarov wrote:
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.
On debian i get these warnings: {{{ CC libpromises_la-attributes.lo attributes.c: In function 'GetServicesConstraints': attributes.c:649: warning: 's.service_method' is used uninitialized in this function CC libpromises_la-files_operators.lo files_operators.c: In function 'VerifyFileChanges': files_operators.c:1181: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type '__ino_t' files_operators.c:1181: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type '__ino_t' cf-agent.c: In function 'KeepControlPromises': cf-agent.c:602: warning: format '%s' expects type 'char *', but argument 4 has type 'void *' }}} -- ******************************************************************** * Bas van der Vlies e-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ********************************************************************
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine