NetBSD 6.1.5 doesn't have ldexpl in math.h

Hal Murray hmurray at megapathdsl.net
Wed Sep 6 22:23:13 UTC 2017


[3/3] Compiling bob2/host/ntpd/ntp_parser.tab.c
In file included from ../../include/ntp.h:12:0,
                 from /home/murray/ntpsec/play/ntpd/ntp_parser.y:16:
../../include/ntp_fp.h: In function 'dtolfp':
../../include/ntp_fp.h:144:2: warning: implicit declaration of function 
'ldexpl'
../../include/ntp_fp.h:144:25: warning: incompatible implicit declaration of 
buil
t-in function 'ldexpl'
../../include/ntp_fp.h: In function 'lfptod':
../../include/ntp_fp.h:152:9: warning: incompatible implicit declaration of 
built
-in function 'ldexpl'
...

Repeat for many modules.

-------

man ldexp says:
NAME
     ldexp, ldexpf -- multiply floating-point number by integral power of 2

LIBRARY
     Math Library (libm, -lm)

SYNOPSIS
     #include <math.h>

     double
     ldexp(double x, int exp);

     float
     ldexpf(float x, int exp);

DESCRIPTION
     The ldexp() family of functions compute


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list