[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Lots of warnings
From: |
Greg Troxel |
Subject: |
Re: [gpsd-dev] Lots of warnings |
Date: |
Wed, 10 Aug 2016 09:01:21 -0400 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix) |
"Gary E. Miller" <address@hidden> writes:
>> 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]
>
> Huh??? time_t is a long!
No. time_t is an "arithmetic types of an appropriate length".
http://pubs.opengroup.org/onlinepubs/007908775/xsh/systypes.h.html
signature.asc
Description: PGP signature
- [gpsd-dev] Lots of warnings, Hal Murray, 2016/08/06
- Re: [gpsd-dev] Lots of warnings, Fred Wright, 2016/08/06
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/09
- Re: [gpsd-dev] Lots of warnings, Hal Murray, 2016/08/10
- Re: [gpsd-dev] Lots of warnings,
Greg Troxel <=
- Re: [gpsd-dev] Lots of warnings, Joshua Judson Rosen, 2016/08/10
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/10
- Re: [gpsd-dev] Lots of warnings, Greg Troxel, 2016/08/11
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/11
- Re: [gpsd-dev] Lots of warnings, Frank Nicholas, 2016/08/11
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/11
- Re: [gpsd-dev] Lots of warnings, Frank Nicholas, 2016/08/11
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/11
- Re: [gpsd-dev] Lots of warnings, Greg Troxel, 2016/08/12
- Re: [gpsd-dev] Lots of warnings, Gary E. Miller, 2016/08/12