[ntp:hackers] Recent C99-isms

David J Taylor david-taylor at blueyonder.co.uk
Sun Jan 4 07:46: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>


I had to re-open bug 2695 as it doesn't build in VS2013 either.


New bugs:

'T_Mdnstries' : undeclared identifier   (keyword-gen.c)

'__func__' : undeclared identifier  (jupiter.c)

Cannot open include file: 'sys/socket.h' (in refclock_nmea.c )

SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-taylor at blueyonder.co.uk 

More information about the hackers mailing list