[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] Today's warnings....
From: |
Hal Murray |
Subject: |
[gpsd-dev] Today's warnings.... |
Date: |
Fri, 12 Aug 2016 03:53:38 -0700 |
>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]
>From NetBSD
cc (nb2 20150115) 4.8.4
test_libgps.c:93:6: warning: array subscript has type 'char'
[-Wchar-subscripts]
>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 an
argument of type 'const time_t' (aka 'const long long') but has parameter of
type 'long' which may cause truncation of value [-Wabsolute-value]
gpsmon.c:244:21: warning: absolute value function 'labs' given an argument of
type 'time_t' (aka 'long long') but has parameter of type 'long' which may
cause truncation of value [-Wabsolute-value]
gpsmon.c:274:28: warning: absolute value function 'labs' given an argument of
type 'time_t' (aka 'long long') but has parameter of type 'long' which may
cause truncation of value [-Wabsolute-value]
--
These are my opinions. I hate spam.