[ntp:questions] Problem with ntpd configuration file - PORTABILTY ISSUE
Dave Hart
davehart at gmail.com
Thu Oct 15 17:26:10 UTC 2009
On Thu, Oct 15, 2009 at 3:08 PM, Piotr Grudzinski <piotr at powersmiths.com> wrote:
> Below are warnings I am getting when compiling ntpd:
>
> ../../ntp-dev-4.2.5p232-RC/ntpd/ntp_scanner.c: In function `yylex':
> ../../ntp-dev-4.2.5p232-RC/ntpd/ntp_scanner.c:477: warning: comparison is
> always true due to limited range of data type
[...]
> This only works on platforms with a signed char type!
Gee whiz. Which platform are you compiling on that defaults char to
unsigned? I know C allows it, I didn't think it happened in the world
of POSIX systems.
Please file a bug report at http://bugs.ntp.org/
(and please ignore any browser invalid/untrusted certificate warnings)
Cheers,
Dave Hart
More information about the questions
mailing list