Blizzard of warnings on NetBSD 8

Hal Murray hmurray at megapathdsl.net
Tue Aug 28 00:20:45 UTC 2018


What's the story?

I'm catching up after being off line for several weeks.  I updated a NetBSD 
box to 8.0 and now it produces lots and lots of warnings that I expect would 
get fixed before a release.

Most are complaining about %m.  Sample:
  ../../libntp/msyslog.c:512:5: warning: %m is only allowed in syslog(3) like 
functions [-Wformat=]

There is also:
../../ntpd/ntp_control.c:2628:8: warning: format '%u' expects argument of type 
'unsigned int', but argument 4 has type 'int' [-Wformat=]

/usr/pkg/lib/libpython2.7.so: warning: warning: tmpnam() possibly used 
unsafely, use mkstemp() or mkdtemp()
/usr/pkg/lib/libpython2.7.so: warning: warning: tempnam() possibly used 
unsafely, use mkstemp() or mkdtemp()



-- 
These are my opinions.  I hate spam.





More information about the devel mailing list