NetBSD 6.1.5 doesn't have ldexpl in math.h

Gary E. Miller gem at rellim.com
Wed Sep 6 23:30:39 UTC 2017


Yo Hal!

On Wed, 06 Sep 2017 15:23:13 -0700
Hal Murray via devel <devel at ntpsec.org> wrote:

> ../../include/ntp_fp.h:144:2: warning: implicit declaration of
> function 'ldexpl'

ldexpl() is POSIX 2008 and ISO/IEC 9899:1999 (a.k.a. C99).  

Not supporting C99 is pretty lame.  NTPsec specifically requires C99
support.

So clearly a NetBSD problem.

Got a workaround?  Maybe ldexpl() is in math.h, but if behind an #ifdef?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170906/b5475a24/attachment.bin>


More information about the devel mailing list