From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#9203: 24.0.50; some Clang experience Date: Sat, 30 Jul 2011 15:22:11 +0200 Message-ID: References: <83livgc5t1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1312032183 22147 80.91.229.12 (30 Jul 2011 13:23:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2011 13:23:03 +0000 (UTC) Cc: Peter Dyballa , 9203@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 30 15:22:59 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9VK-0005y3-Cw for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jul 2011 15:22:58 +0200 Original-Received: from localhost ([::1]:36902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn9VJ-00088p-Fw for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jul 2011 09:22:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn9VH-00088V-4n for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 09:22:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn9VE-0006Ho-5Q for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 09:22:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn9VE-0006Hf-3y for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 09:22:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qn9VO-0008LU-DY; Sat, 30 Jul 2011 09:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jul 2011 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.131203214832040 (code B ref 9203); Sat, 30 Jul 2011 13:23:02 +0000 Original-Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 13:22:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9Up-0008Kj-S7 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 09:22:28 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9Um-0008Kb-Vd for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 09:22:26 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id D1E78186DEDD; Sat, 30 Jul 2011 15:22:12 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 167AC1C0006A; Sat, 30 Jul 2011 15:22:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id os02OXHP5XUv; Sat, 30 Jul 2011 15:22:12 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-97-219.dynamic.mnet-online.de [88.217.97.219]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 30 Jul 2011 15:22:12 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id EE36CCA293; Sat, 30 Jul 2011 15:22:11 +0200 (CEST) X-Yow: Do you guys know we just passed thru a BLACK HOLE in space? In-Reply-To: <83livgc5t1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Jul 2011 15:27:06 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 30 Jul 2011 09:23:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:49717 Archived-At: Eli Zaretskii writes: >> From: Peter Dyballa >> Date: Sat, 30 Jul 2011 13:53:30 +0200 >> >> When using >> >> Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM 2.9svn) >> Target: x86_64-apple-darwin10 >> Thread model: posix >> >> to compile GNU Emacs on Mac OS X 10.6.8 with intel Core i7 it warns about some statements: >> >> emacs-24.0.50/lib-src/../src/regex.c:6603:15: warning: >> comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] >> if (ret >= 0) >> ~~~ ^ ~ > > `ret' is of the type `reg_errcode_t', which is an enumerated data > type, so its signedness is implementation-defined, AFAIK. But re_search returns regoff_t, so the type is wrong. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."