gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Today's warnings....


From: Gary E. Miller
Subject: Re: [gpsd-dev] Today's warnings....
Date: Fri, 12 Aug 2016 11:02:58 -0700

Yo Hal!

On Fri, 12 Aug 2016 03:53:38 -0700
Hal Murray <address@hidden> wrote:

> From Fedora 24,
>   cc (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3) 
> bits.c:40:19: warning: left shift of negative value [-Wshift-negative-value]
> bits.c:71:15: warning: left shift of negative value [-Wshift-negative-value]
> bits.c:40:19: warning: left shift of negative value [-Wshift-negative-value]
> bits.c:71:15: warning: left shift of negative value [-Wshift-negative-value]

Eric had thoughts on that one, I'll leave it to him.

> From NetBSD
>   cc (nb2 20150115) 4.8.4
> test_libgps.c:93:6: warning: array subscript has type 'char' 
> [-Wchar-subscripts]

            if (buf[0] == '{' || isalpha(buf[0])) {

And that is wrong why?

> From FreeBSD on ARM:
>   FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based
> on LLVM 3.8.0)
>   Target: armv6--freebsd11.0-gnueabi
>   Thread model: posix
> timespec_str.c:48:12: warning: absolute value function 'labs' given

You are not on git head.  That was fixed.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpkH0gWU6jXu.pgp
Description: OpenPGP digital signature


reply via email to

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