GNU bug report logs - #9000
patch for higher-resolution time stamps

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 5 Jul 2011 06:42:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 9000 <at> debbugs.gnu.org
Subject: bug#9000: patch for higher-resolution time stamps
Date: Sat, 23 Jun 2012 22:09:26 +0300
> Date: Sat, 23 Jun 2012 10:57:31 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> CC: 9000 <at> debbugs.gnu.org
> 
> On 06/23/2012 03:48 AM, Eli Zaretskii wrote:
> >   dispnew.c:5960: warning: comparison is always true due to limited range of data type
> > ...
> > I think any host with a signed 32-bit time_t will see this warning.
> 
> I don't observe the problem on either Fedora 15 or Ubuntu 12.04
> compiled for x86 (these used signed 32-bit time_t).  I tried both
> gcc 4.6.3 and gcc 4.7.1 (which is the latest stable version).
> 
> If memory serves, warnings like that occur only with older GCCs and
> are harmless, and the GCC folks fixed the bogus warnings after the
> gnulib folks complained about them.  Maybe time to upgrade your GCC?

No, I don't want to upgrade my GCC because of this.  Is it possible to
fix the cause of the warning instead?




This bug report was last modified 12 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.