[ntp:hackers] Recent C99-isms

Harlan Stenn stenn at ntp.org
Sun Jan 4 06:02:03 UTC 2015

Martin and Danny specifically, and everybody else in general,

I am shooting for a non-public pre-release of 4.2.8p1 for late on Monday the
5th, with a public release late on Monday the 12th.

The recent addition of a bunch of code cleanup from the NetBSD folks
have introduced some C99-isms and I want to be sure that's OK.

While the // comments should not be an issue for anybody because libopts
(from Autogen) has been using them for a while, one of their other changes
was to update the initialization of the VDC structure in ntpq-subs.c, to use
C99's designated initializers.

This seems to be a problem for VS2008 builds.  Is it an issue for anybody
else?  I'm wondering about older Solaris machines in particular.

Danny says that it looks to him that  HAVE_DNSREGISTRATION has been
#defined, and he's having trouble building with that option with VS2008.
He's also seeing a *lot* of refclocks being built by default now.

While it won't be a huge problem if these issues are not resolved by Monday
the 5th, the sooner they can be resolved the better, certainly before the

Harlan Stenn <stenn at ntp.org>
http://networktimefoundation.org  - be a member!

More information about the hackers mailing list