From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9000: patch for higher-resolution time stamps Date: Sat, 23 Jun 2012 22:09:26 +0300 Message-ID: <83ipehc0bd.fsf@gnu.org> References: <4FE4E1EE.7060305@cs.ucla.edu> <83vciibewj.fsf@gnu.org> <83txy2b8xi.fsf@gnu.org> <4FE6038B.9000906@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1340478623 14633 80.91.229.3 (23 Jun 2012 19:10:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 19:10:23 +0000 (UTC) Cc: 9000@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 21:10:22 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SiViv-0001iz-VF for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 21:10:22 +0200 Original-Received: from localhost ([::1]:42494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiViv-00062F-QP for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 15:10:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiVit-000628-72 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 15:10:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiVir-0003BE-EM for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 15:10:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiVir-0003BA-BC for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 15:10:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiVmU-0003UY-49 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 15:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2012 19:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9000 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 9000-submit@debbugs.gnu.org id=B9000.134047879113345 (code B ref 9000); Sat, 23 Jun 2012 19:14:02 +0000 Original-Received: (at 9000) by debbugs.gnu.org; 23 Jun 2012 19:13:11 +0000 Original-Received: from localhost ([127.0.0.1]:54272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiVle-0003T7-QP for submit@debbugs.gnu.org; Sat, 23 Jun 2012 15:13:11 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:37626) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiVlc-0003Sy-CT for 9000@debbugs.gnu.org; Sat, 23 Jun 2012 15:13:09 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M63002003P6RP00@a-mtaout23.012.net.il> for 9000@debbugs.gnu.org; Sat, 23 Jun 2012 22:09:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M630028V3VLRT10@a-mtaout23.012.net.il>; Sat, 23 Jun 2012 22:09:21 +0300 (IDT) In-reply-to: <4FE6038B.9000906@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61227 Archived-At: > Date: Sat, 23 Jun 2012 10:57:31 -0700 > From: Paul Eggert > CC: 9000@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?