gpsd-dev
[Top][All Lists]
Advanced

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

Re: b32ff1a86 Breaks OSX and FreeBSD


From: Gary E. Miller
Subject: Re: b32ff1a86 Breaks OSX and FreeBSD
Date: Fri, 20 Dec 2019 12:40:41 -0800

Yo Greg!

On Fri, 20 Dec 2019 10:24:30 -0500
Greg Troxel <address@hidden> wrote:

> The problem is that checkCompile is being asked to compile a program
> that uses time_t, without sys/time.h having been included.  This is
> called from checkSizeOf, which seems to take a type without also
> taking a list of headers needed to define that type.
> 
> specification for time_t use:
>   https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html
> 
> I just pushed a workaround to checkSizeOf.

Thanks!

The Linux man page says to include time.h, not sys/time.h.

"sys/" stuff is for system dependent stuff.  time.h is the standard include.

Any reason not to use time.h instead?

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: pgpFg9D2g6Th8.pgp
Description: OpenPGP digital signature


reply via email to

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