gpsd-dev
[Top][All Lists]
Advanced

[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: Sat, 22 Jun 2019 18:36:29 -0700

Yo Greg!

On Sat, 22 Jun 2019 08:49:25 -0400
Greg Troxel <address@hidden> wrote:

> "Gary E. Miller" <address@hidden> writes:
> 
> > Yo Greg!
> >
> > On Fri, 21 Jun 2019 20:56:02 -0400
> > Greg Troxel <address@hidden> wrote:
> >  
> >> > These are the one you sent earlier this week?    
> >> 
> >> Yes, the ones I sent, copied below.  
> >
> > I think these are now fixed in git head.  Please test.  
> 
> I built on netbsd-8 amd64 and got no warnings.
> 
> I see %u used to print uint32_t.  But %u is "unsigned int", and on
> ILP64 platforms (like I'm 99% sure alpha is), uint32_t will not be
> unsigned int.  So in practice, this is likely to be ok, as almost all
> computers in practice now are ILP32 or LP64.

You are right, I misread that as uint16_t.  unint32_t always
fits in an unsigned long.  Fix pushed.

> I think strictly it needs PRIu32 as detailed here

PRIu32 requires feature defines.  I thought we were trying to get rid of
those.

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


reply via email to

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