Errors and warnings from head

Hal Murray hmurray at megapathdsl.net
Tue Apr 25 05:41:03 UTC 2017


NetBSD:
TEST(lfpfunc, Absolute) PASS
TEST(lfpfunc, FDF_RoundTrip)../../tests/libntp/lfpfunc.c:270::FAIL: Expected 
0.0
Was 2147482624.0. \nop2: 2147483647.500000 op3: 1023.50000000 diff 
2147482624.000
000 not within 2.384186e-07
TEST(lfpfunc, SignedRelOps) PASS


Debian wheezy:
../../ntpd/ntp_config.c:2955:2: warning: implicit declaration of function 
‘yyparse’ [-Wimplicit-function-declaration]
../../ntpd/ntp_config.c:3020:2: error: ‘yydebug’ undeclared (first use in 
this function)

CentOS release 6.9 (Final):
../../ntpd/ntp_monitor.c:156: warning: inlining failed in call to 
‘mon_reclaim_entry’: call is unlikely and code size would grow
../../ntpd/ntp_monitor.c:454: warning: called from here
../../ntpd/ntp_monitor.c:156: warning: inlining failed in call to 
‘mon_reclaim_entry’: call is unlikely and code size would grow
../../ntpd/ntp_monitor.c:467: warning: called from here
../../include/timespecops.h:334: warning: inlining failed in call to 
‘tspec_stamp_to_lfp’: call is unlikely and code size would grow
../../ntpd/ntp_config.c:3020: error: ‘yydebug’ undeclared (first use in 
this function)
../../ntpd/ntp_config.c:3020: error: (Each undeclared identifier is reported 
only once
../../ntpd/ntp_config.c:3020: error: for each function it appears in.)

NetBSD 7:
../../ntpfrob/tickadj.c:30:6: warning: function might be candidate for 
attribute 'noreturn' [-Wsuggest-attribute=noreturn]
HAVE_ADJTIMEX is not defined so it does an unconditional exit(1)

>From Raspberry Pi and BeagleBone Black:
../../ntpd/ntp_control.c: In function ‘ctl_error’:
../../ntpd/ntp_control.c:714:35: warning: cast increases required alignment 
of target type [-Wcast-align]
   maclen = authencrypt(res_keyid, (uint32_t *)&rpkt,
                                   ^
../../ntpd/ntp_control.c: In function ‘process_control’:
../../ntpd/ntp_control.c:830:35: warning: cast increases required alignment 
of target type [-Wcast-align]
   else if (authdecrypt(res_keyid, (uint32_t *)pkt,
                                   ^
and many more, including some in the test area




-- 
These are my opinions.  I hate spam.





More information about the devel mailing list