hmurray at megapathdsl.net
Wed Nov 22 22:15:27 UTC 2017
> > ../../ntpd/ntpd.c:831:39: error: 'debug' undeclared (first use in
> > this function) fprintf(stdout, "#debug =3D3D %d\n", debug); =20
Here is what I think is going on.
The default configuration is no-debug. That is supposed to configure out all
references to debug in ntpd/*, but ntplib is always built with debug defined.
There is some magic in ntpd/declcond.h to conditionally extern debug. It
depends on search order of include files.
That line of code should be ifdefed on DEBUG
The search order magic seems to be broken on most systems. Or they extern
debug without any warning. Or ...
These are my opinions. I hate spam.
More information about the devel