Blizzard of warnings on NetBSD 8
Hal Murray
hmurray at megapathdsl.net
Tue Aug 28 01:31:57 UTC 2018
> Are you seeing these same warnings on NetBSD 7?
No, NetBSD 7 had been clean.
>> ../../ntpd/ntp_control.c:2628:8: warning: format '%u' expects argument of
>> type 'unsigned int', but argument 4 has type 'int' [-Wformat=]
> I filed https://gitlab.com/NTPsec/ntpsec/issues/496 a week ago for this. I
> don't understand where the int is coming from since ntohl() [buried under the
> mess of macros] returns unsigned int.
I don't understand it either.
>> /usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used
>> unsafely, use mkstemp() or mkdtemp()
> I don't see these functions in our code. Are these warnings from the python
> package?
Looks like it's coming from the linker when making ntpd. I haven't figured
out where/why it's coming from.
--
These are my opinions. I hate spam.
More information about the devel
mailing list