[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] featuretest macros
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] featuretest macros |
Date: |
Fri, 21 Jun 2019 14:05:43 -0700 |
Yo Greg!
On Fri, 21 Jun 2019 09:58:25 -0400
Greg Troxel <address@hidden> wrote:
> As an experiment, I removed all the lines in SConstruct that add
> featuretest macros. gpsd built without any problems on NetBSD-8
> amd64. I get the same warnings I posted earlier.
Our problems have been with older distros. For example, glibc before
2.10 is a lot messier. Fred Wright has been testing those, but he is
out of the country right now and can not test.
> This doesn't surprise me; gpsd's usage is POSIX and common extensions.
> I know of only one function that's hidden by default in NetBSD, which
> is the OpenBSD variant of a function (that originated in OpenBSD) and
> is different in NetBSD: for that one needs to define _OPENBSD_SOURCE.
Which function? I would like to document that in the SConstruct file.
> I think it's reasonably likely that the same results will be obtained
> on other platforms. But perhaps glibc or other things needs to be
> told to include things in POSIX 2008 explicitly.
Before glibc 2.10 and 2.19 things were ugly. So testing older stuff,
like the newest RHEL, is important.
> I am not proposing that we change this now, as I gather we are close
> to releasing 3.19. Merely a data point for future thought.
I'd love to test, after 3.19. But recent experience does not make
me feel confident that the defines can all go. They can likely
be made better.
> diff --git a/SConstruct b/SConstruct
> index 91ff42d8..f8e0c05b 100644
Tested on Gentoo stable. It fails.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpAbMGPyrLLV.pgp
Description: OpenPGP digital signature
Re: [gpsd-dev] patches from pkgsrc: SConstruct, Greg Troxel, 2019/06/20
- Re: [gpsd-dev] patches from pkgsrc: SConstruct, Gary E. Miller, 2019/06/20
- Re: [gpsd-dev] patches from pkgsrc: SConstruct, Greg Troxel, 2019/06/20
- [gpsd-dev] featuretest macros, Greg Troxel, 2019/06/21
- Re: [gpsd-dev] featuretest macros,
Gary E. Miller <=
- Re: [gpsd-dev] featuretest macros, Greg Troxel, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Hal Murray, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Gary E. Miller, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Greg Troxel, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Gary E. Miller, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Greg Troxel, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Gary E. Miller, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Greg Troxel, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Gary E. Miller, 2019/06/21
- Re: [gpsd-dev] featuretest macros, Greg Troxel, 2019/06/22