leap smear broken

Hal Murray hmurray at megapathdsl.net
Wed Jan 30 06:44:43 UTC 2019


Would some CI wizard please add running tests/option-tester.sh
on the most convenient OS/distro.  Or maybe once per OS.

-----------------

[64/93] Compiling ntpd/ntp_proto.c
../../ntpd/ntp_proto.c: In function ‘fast_xmit’:
../../ntpd/ntp_proto.c:2267:15: error: assignment to expression with array type
    xpkt.refid = convertLFPToRefID(leap_smear.offset);
               ^
In file included from ../../include/ntp_stdlib.h:16:0,
                 from ../../include/ntp.h:15,
                 from ../../include/ntpd.h:13,
                 from ../../ntpd/ntp_proto.c:7:
../../ntpd/ntp_proto.c:2269:11: warning: passing argument 1 of 
‘__bswap_32’ makes integer from pointer without a cast [-Wint-conversion]
     ntohl(xpkt.refid),
           ^
../../include/ntp_debug.h:27:12: note: in definition of macro ‘DPRINT’
    mprintf arg;   \
            ^~~
In file included from /usr/include/endian.h:60:0,
                 from /usr/include/arm-linux-gnueabihf/sys/types.h:216,
                 from /usr/include/arm-linux-gnueabihf/sys/uio.h:23,
                 from /usr/include/arm-linux-gnueabihf/sys/socket.h:26,
                 from /usr/include/netinet/in.h:23,
                 from /usr/include/arpa/inet.h:22,
                 from ../../include/ntp_fp.h:8,
                 from ../../include/ntp.h:12,
                 from ../../include/ntpd.h:13,
                 from ../../ntpd/ntp_proto.c:7:
/usr/include/arm-linux-gnueabihf/bits/byteswap.h:44:1: note: expected 
‘unsigned int’ but argument is of type ‘unsigned char *’
 __bswap_32 (unsigned int __bsx)
 ^~~~~~~~~~


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list