✘Warnings on OSX

Gary E. Miller gem at rellim.com
Thu Aug 29 21:51:22 UTC 2019


Yo All!

Warnings on OSX:

[ 73/131] Compiling libntp/ntp_calendar.c
../../ntpd/ntp_control.c:2612:27: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat]
                            socktoa(rmt_addr), (unsigned)SRCPORT(rmt_addr));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.


[106/131] Compiling ntpd/ntp_dns.c
../../ntpd/refclock_gpsd.c:2118:6: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy(pp->a_lastcode, tc, sizeof(pp->a_lastcode));
            ^
../../ntpd/refclock_gpsd.c:2118:6: warning: this function declaration is not a prototype [-Wstrict-prototypes]
2 warnings generated.

Anyone want to fix them?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190829/4cb22446/attachment.bin>


More information about the devel mailing list