From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#9000: patch for higher-resolution time stamps Date: Sat, 23 Jun 2012 10:57:31 -0700 Organization: UCLA Computer Science Department Message-ID: <4FE6038B.9000906@cs.ucla.edu> References: <4FE4E1EE.7060305@cs.ucla.edu> <83vciibewj.fsf@gnu.org> <83txy2b8xi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340474307 18425 80.91.229.3 (23 Jun 2012 17:58:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 17:58:27 +0000 (UTC) Cc: 9000@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 19:58:27 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 1SiUbI-00084d-BK for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 19:58:24 +0200 Original-Received: from localhost ([::1]:35760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiUbI-0008Il-E5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 13:58:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiUbE-0008Id-K3 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 13:58:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiUbB-0004Qk-SS for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 13:58:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiUbB-0004QH-MI for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 13:58:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiUen-0001sc-L8 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 14:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2012 18:02:01 +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.13404744797178 (code B ref 9000); Sat, 23 Jun 2012 18:02:01 +0000 Original-Received: (at 9000) by debbugs.gnu.org; 23 Jun 2012 18:01:19 +0000 Original-Received: from localhost ([127.0.0.1]:54224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiUe7-0001rj-D4 for submit@debbugs.gnu.org; Sat, 23 Jun 2012 14:01:19 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:47175) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiUe5-0001rc-Dd for 9000@debbugs.gnu.org; Sat, 23 Jun 2012 14:01:18 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9CA71A6010B; Sat, 23 Jun 2012 10:57:31 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q4HcKd1rMh2W; Sat, 23 Jun 2012 10:57:30 -0700 (PDT) Original-Received: from [192.168.1.10] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D54BCA60002; Sat, 23 Jun 2012 10:57:30 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 In-Reply-To: <83txy2b8xi.fsf@gnu.org> 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:61224 Archived-At: 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?