Re: _XOPEN_SOURCE in ntpd/refclock_gpsd.c => warnings on BSD

2019-08-24 Thread Achim Gratz via devel
Hal Murray via devel writes: >> I see no changes related to _XOPEN_SOURCE since 2017. Perhaps you're >> thinking of GPSD, where there was bunch of rework in that area just before >> the 3.19 release. > > Thanks. You are probably right. > > Eric: This area just got more complicated. See #614 >

Re: _XOPEN_SOURCE in ntpd/refclock_gpsd.c => warnings on BSD

2019-08-23 Thread Hal Murray via devel
> I see no changes related to _XOPEN_SOURCE since 2017. Perhaps you're > thinking of GPSD, where there was bunch of rework in that area just before > the 3.19 release. Thanks. You are probably right. Eric: This area just got more complicated. See #614 strerror_r() has two modes depending

Re: _XOPEN_SOURCE in ntpd/refclock_gpsd.c => warnings on BSD

2019-08-21 Thread Fred Wright via devel
On Wed, 21 Aug 2019, Hal Murray via devel wrote: ntpd/refclock_gpsd.c has: #define _XOPEN_SOURCE 600 I see the following warning: NetBSD: ../../ntpd/refclock_gpsd.c:2118:6: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration] FreeBSD: ../../ntpd/refclock_gps