From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: compiler warning "comparison is always true" Date: Sat, 09 Feb 2008 12:53:26 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1202554429 10654 80.91.229.12 (9 Feb 2008 10:53:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2008 10:53:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 11:54:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNnLU-0000SB-Dx for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 11:54:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNnL1-0004MP-L9 for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 05:53:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNnKw-0004L4-I8 for emacs-devel@gnu.org; Sat, 09 Feb 2008 05:53:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNnKu-0004K1-Jy for emacs-devel@gnu.org; Sat, 09 Feb 2008 05:53:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNnKu-0004Jn-F5 for emacs-devel@gnu.org; Sat, 09 Feb 2008 05:53:32 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNnKq-0006u2-QQ; Sat, 09 Feb 2008 05:53:29 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-218-44.inter.net.il [83.130.218.44]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KEA95719 (AUTH halo1); Sat, 9 Feb 2008 12:53:06 +0200 (IST) In-reply-to: (message from Glenn Morris on Fri, 08 Feb 2008 15:25:01 -0500) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88584 Archived-At: > From: Glenn Morris > Date: Fri, 08 Feb 2008 15:25:01 -0500 > > Glenn Morris wrote: > > > search.c:2456: warning: comparison is always true due to limited > > range of data type > > > > Similar warnings all over the place in syntax.c (45 instances). > > FWIW, looks like almost all of these are due to FETCH_CHAR_AS_MULTIBYTE. Thanks for this valuable hint. I think I fixed this now in CVS.