|
From: | Norton Allen |
Subject: | Re: [gpsd-dev] Lots of warnings |
Date: | Wed, 10 Aug 2016 19:28:38 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 8/10/2016 9:45 AM, Joshua Judson Rosen wrote:On 08/09/2016 09:49 PM, Gary E. Miller wrote: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!Not according to that error-message, which says that it's a *long long* (like in the opening line of the song "American Pie", not in the opening line of the Star Wars Episode IV). That's an outstanding (and thoroughly accurate) cultural reference! |
[Prev in Thread] | Current Thread | [Next in Thread] |