gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] ✘CentOS fixed?


From: Gary E. Miller
Subject: Re: [gpsd-dev] ✘CentOS fixed?
Date: Fri, 14 Jun 2019 19:25:52 -0700

Yo Fred!

On Fri, 14 Jun 2019 18:50:30 -0700 (PDT)
Fred Wright <address@hidden> wrote:

> > And these from your Macs:  
> 
> Those aren't "Macs" - they're OpenBSD VMs running on the Mac.

Oh.  Duh...

> > MacOpen: gpsmon.c:441: warning: implicit declaration of function
> > 'strlcpy' MacOpen: gpsmon.c:443: warning: implicit declaration of
> > function 'strlcat'
> >
> > Those are in string.h, and should be unlocked by _DARWIN_C_SOURCE,
> > which then sets __USE_MISC.  
> 
> I don't think _DARWIN_C_SOURCE helps on OpenBSD. :-)

Try now.  OpenBSD fix pushed.

> The actual error (causing the build to fail) relates to SIGWINCH.  We
> can see if it persists after fixing _BSD_SOURCE.

I expect it will get fixed now.  Again.

> I'm not convinced that defining __USE_MISC directly is necessary once
> the other definitions are correct.

I agree.  Can you look in sys/cdefs.h?  It should be easy to see.

In Linux, in <features.h>, _USE_MISC gets #undef-ed, then set by
_DEFAULT_SOURCE.

I think *BSD does the same in sys/cdefs.h ?

If the last fix worked, then I''l remove __USE_MISC.

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

Attachment: pgpdW3uf7JwR_.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]