From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience Resent-From: Peter Dyballa 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 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9203@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131202682924298 (code B ref -1); Sat, 30 Jul 2011 11:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jul 2011 11:53:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn872-0006Jp-N6 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:49 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn870-0006Ji-5C for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn86o-00038O-FS for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn86o-00038K-E1 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:34 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn86n-0003zE-Ka for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 07:53:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn86m-00037z-Ht for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 07:53:33 -0400 Received: from mout8.freenet.de ([195.4.92.98]:54562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn86m-00037c-C5 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 07:53:32 -0400 Received: from [195.4.92.16] (helo=6.mx.freenet.de) by mout8.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.76 #5) id 1Qn86k-0005Rn-L1 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 13:53:30 +0200 Received: from ip-88-153-242-186.unitymediagroup.de ([88.153.242.186]:57134 helo=peter-dyballas-macbook-pro.fritz.box) by 6.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.76 #5) id 1Qn86k-0001wF-G4 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 13:53:30 +0200 From: Peter Dyballa Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 30 Jul 2011 13:53:30 +0200 Message-Id: Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.7 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.8 (-----) Hello! 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:=20 comparison of unsigned enum expression >=3D 0 is always true = [-Wtautological-compare] if (ret >=3D 0) ~~~ ^ ~ emacs-24.0.50/lib-src/../src/regex.c:6619:14: warning:=20 comparison of unsigned enum expression >=3D 0 is always true = [-Wtautological-compare] return ret >=3D 0 ? REG_NOERROR : REG_NOMATCH; ~~~ ^ ~ emacs-24.0.50/lib-src/emacsclient.c:1269:52: warning:=20 passing 'const char *' to parameter of type 'char *' discards = qualifiers confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n); ^~~~~~ In file included from emacs-24.0.50/lib-src/emacsclient.c:76: In file included from ../lib/getopt.h:31: In file included from /usr/include/getopt.h:44: In file included from ../lib/unistd.h:43: /usr/include/unistd.h:423:28: note: passing argument to parameter here size_t confstr(int, char *, size_t) __DARWIN_ALIAS(confstr); ^ The installed NS variant is a bit unstable. Maybe I just need to = optimise the compiler switches in the near future! -- Greetings Pete I hope to die before I *have* to use Microsoft Word. - Donald E. Knuth, 2001-10-02 in T=FCbingen From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience Resent-From: Eli Zaretskii 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 12:28: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: To: Peter Dyballa Cc: 9203@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.131202882827209 (code B ref 9203); Sat, 30 Jul 2011 12:28:02 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 12:27:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn8dH-00074o-TA for submit@debbugs.gnu.org; Sat, 30 Jul 2011 08:27:08 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn8dF-00074g-EI for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 08:27:06 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LP500E00BKPZ000@a-mtaout22.012.net.il> for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 15:26:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.48.51]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LP500E77BWSZJ10@a-mtaout22.012.net.il>; Sat, 30 Jul 2011 15:26:53 +0300 (IDT) Date: Sat, 30 Jul 2011 15:27:06 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83livgc5t1.fsf@gnu.org> References: X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > 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. Why did you use that particular warning option? From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience Resent-From: Peter Dyballa 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 12:59: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: To: Eli Zaretskii Cc: 9203@debbugs.gnu.org Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.131203072630013 (code B ref 9203); Sat, 30 Jul 2011 12:59:02 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 12:58:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn97u-0007o1-JX for submit@debbugs.gnu.org; Sat, 30 Jul 2011 08:58:46 -0400 Received: from mout8.freenet.de ([195.4.92.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn97q-0007ns-Ic for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 08:58:44 -0400 Received: from [195.4.92.26] (helo=16.mx.freenet.de) by mout8.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.76 #5) id 1Qn97e-0005Ye-LE; Sat, 30 Jul 2011 14:58:30 +0200 Received: from ip-88-153-242-186.unitymediagroup.de ([88.153.242.186]:58466 helo=peter-dyballas-macbook-pro.fritz.box) by 16.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #5) id 1Qn97e-0003tQ-HU; Sat, 30 Jul 2011 14:58:30 +0200 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <83livgc5t1.fsf@gnu.org> Date: Sat, 30 Jul 2011 14:58:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <89CB195C-FE47-42C2-8222-518F36FBD893@Freenet.DE> References: <83livgc5t1.fsf@gnu.org> X-Mailer: Apple Mail (2.1084) X-Spam-Score: -3.9 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) Am 30.07.2011 um 14:27 schrieb Eli Zaretskii: >> From: Peter Dyballa >> Date: Sat, 30 Jul 2011 13:53:30 +0200 >>=20 >> When using >>=20 >> Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM = 2.9svn) >> Target: x86_64-apple-darwin10 >> Thread model: posix >>=20 >> to compile GNU Emacs on Mac OS X 10.6.8 with intel Core i7 it warns = about some statements: >>=20 >> emacs-24.0.50/lib-src/../src/regex.c:6603:15: warning:=20 >> comparison of unsigned enum expression >=3D 0 is always true = [-Wtautological-compare] >> if (ret >=3D 0) >> ~~~ ^ ~ >=20 > `ret' is of the type `reg_errcode_t', which is an enumerated data > type, so its signedness is implementation-defined, AFAIK. Why did you > use that particular warning option? I did not use any. Here is the configure invocation: env LANG=3DC PATH=3D/opt/local/bin:$PATH ./configure = --without-sound --without-dbus --without-pop --without-gconf = --without-gpm --with-ns --disable-ns-self-contained = --enable-locallisppath=3D/Library/Application\ = Support/Emacs/calendar24:/Library/Application\ Support/Emacs CFLAGS=3D"-v = -g -H -pipe -fPIC -fno-common -m64 -mtune=3Dcore2 -march=3Dcore2 -Os = -fomit-frame-pointer -foptimize-register-move -ftree-vectorize" = LDFLAGS=3D"-Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t" CC=3Dclang = CXX=3Dclang++ = PKG_CONFIG_PATH=3D/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr= /lib/pkgconfig I thick Clang tells us how to avoid such reports. At least I don't get = the one cited when I add -Wtautological-compare to the CFLAGS and = configure and compile. Purpose of my report is merely to point to possibly unclean code. Clangs = really reports a lot! -- Greetings Pete There are three types of people in this world: those who can count, and = those who cannot. From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience 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: To: Eli Zaretskii Cc: Peter Dyballa , 9203@debbugs.gnu.org Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.131203214832040 (code B ref 9203); Sat, 30 Jul 2011 13:23:02 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 13:22:28 +0000 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 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 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) 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 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) 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) Received: by igel.home (Postfix, from userid 501) id EE36CCA293; Sat, 30 Jul 2011 15:22:11 +0200 (CEST) From: Andreas Schwab References: <83livgc5t1.fsf@gnu.org> X-Yow: Do you guys know we just passed thru a BLACK HOLE in space? Date: Sat, 30 Jul 2011 15:22:11 +0200 In-Reply-To: <83livgc5t1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Jul 2011 15:27:06 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) 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." From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience Resent-From: Eli Zaretskii 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:32:01 +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: To: Andreas Schwab Cc: Peter_Dyballa@Freenet.DE, 9203@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.1312032698338 (code B ref 9203); Sat, 30 Jul 2011 13:32:01 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 13:31:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9di-00005P-3d for submit@debbugs.gnu.org; Sat, 30 Jul 2011 09:31:38 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9dd-00005D-82 for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 09:31:34 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LP500N00EW05300@a-mtaout23.012.net.il> for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 16:31:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.48.51]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LP500M6KEW7VK90@a-mtaout23.012.net.il>; Sat, 30 Jul 2011 16:31:20 +0300 (IDT) Date: Sat, 30 Jul 2011 16:31:32 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83ei17dhe3.fsf@gnu.org> References: <83livgc5t1.fsf@gnu.org> X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) > From: Andreas Schwab > Cc: Peter Dyballa , 9203@debbugs.gnu.org > Date: Sat, 30 Jul 2011 15:22:11 +0200 > > > `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. `ret' is the value returned by regexec, so its type should be `reg_errcode_t'. From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience 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:50: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: To: Eli Zaretskii Cc: Peter_Dyballa@Freenet.DE, 9203@debbugs.gnu.org Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.13120337881918 (code B ref 9203); Sat, 30 Jul 2011 13:50:02 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 13:49:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9vH-0000Us-I8 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 09:49:47 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn9vF-0000Uk-D7 for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 09:49:46 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 91B7A1C01BDF; Sat, 30 Jul 2011 15:49:33 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 87E1C1C0012B; Sat, 30 Jul 2011 15:49:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de 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 CzH8vjC0quAV; Sat, 30 Jul 2011 15:49:33 +0200 (CEST) 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:49:33 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id CA24BCA293; Sat, 30 Jul 2011 15:49:32 +0200 (CEST) From: Andreas Schwab References: <83livgc5t1.fsf@gnu.org> <83ei17dhe3.fsf@gnu.org> X-Yow: I want to so HAPPY, the VEINS in my neck STAND OUT!! Date: Sat, 30 Jul 2011 15:49:32 +0200 In-Reply-To: <83ei17dhe3.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Jul 2011 16:31:32 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Eli Zaretskii writes: > `ret' is the value returned by regexec No, it isn't. 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." From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience Resent-From: Eli Zaretskii 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 14:12: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: To: Andreas Schwab Cc: Peter_Dyballa@Freenet.DE, 9203@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.13120350823992 (code B ref 9203); Sat, 30 Jul 2011 14:12:02 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 14:11:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnAGA-00012K-IF for submit@debbugs.gnu.org; Sat, 30 Jul 2011 10:11:22 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnAG7-00012C-OM for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 10:11:20 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LP500600GJGQV00@a-mtaout20.012.net.il> for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 17:10:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.48.51]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LP5005BUGPZRSG0@a-mtaout20.012.net.il>; Sat, 30 Jul 2011 17:10:47 +0300 (IDT) Date: Sat, 30 Jul 2011 17:11:00 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83d3grdfkb.fsf@gnu.org> References: <83livgc5t1.fsf@gnu.org> <83ei17dhe3.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Andreas Schwab > Cc: Peter_Dyballa@Freenet.DE, 9203@debbugs.gnu.org > Date: Sat, 30 Jul 2011 15:49:32 +0200 > > Eli Zaretskii writes: > > > `ret' is the value returned by regexec > > No, it isn't. Grow up, will you? From unknown Fri Aug 15 20:04:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9203: 24.0.50; some Clang experience 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 14:35: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: To: Eli Zaretskii Cc: Peter_Dyballa@Freenet.DE, 9203@debbugs.gnu.org Received: via spool by 9203-submit@debbugs.gnu.org id=B9203.13120364485994 (code B ref 9203); Sat, 30 Jul 2011 14:35:02 +0000 Received: (at 9203) by debbugs.gnu.org; 30 Jul 2011 14:34:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnAcB-0001Yc-B8 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 10:34:07 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnAc8-0001YT-NZ for 9203@debbugs.gnu.org; Sat, 30 Jul 2011 10:34:05 -0400 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 41626188A18A; Sat, 30 Jul 2011 16:33:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 6478B1C00093; Sat, 30 Jul 2011 16:33:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de 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 eBxs6sOA2JEa; Sat, 30 Jul 2011 16:33:52 +0200 (CEST) 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 16:33:51 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 8D361CA293; Sat, 30 Jul 2011 16:33:51 +0200 (CEST) From: Andreas Schwab References: <83livgc5t1.fsf@gnu.org> <83ei17dhe3.fsf@gnu.org> <83d3grdfkb.fsf@gnu.org> X-Yow: Feel th' WHIRLING BUFFERS buffing away all that stress... Years of ROAD TAR gently washing away... Date: Sat, 30 Jul 2011 16:33:51 +0200 In-Reply-To: <83d3grdfkb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Jul 2011 17:11:00 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Eli Zaretskii writes: >> From: Andreas Schwab >> Cc: Peter_Dyballa@Freenet.DE, 9203@debbugs.gnu.org >> Date: Sat, 30 Jul 2011 15:49:32 +0200 >> >> Eli Zaretskii writes: >> >> > `ret' is the value returned by regexec >> >> No, it isn't. > > Grow up, will you? Don't make you look silly. 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." From unknown Fri Aug 15 20:04:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Peter Dyballa Subject: bug#9203: closed (bug#9203: 24.0.50; some Clang experience) Message-ID: References: <87oadj2llt.fsf@tromey.com> X-Gnu-PR-Message: they-closed 9203 X-Gnu-PR-Package: emacs Reply-To: 9203@debbugs.gnu.org Date: Tue, 22 Dec 2015 03:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1450755902-8395-1" This is a multi-part message in MIME format... ------------=_1450755902-8395-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9203: 24.0.50; some Clang experience which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 9203@debbugs.gnu.org. --=20 9203: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9203 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1450755902-8395-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 9203-done) by debbugs.gnu.org; 22 Dec 2015 03:44:51 +0000 Received: from localhost ([127.0.0.1]:59308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBDsZ-0002Av-G1 for submit@debbugs.gnu.org; Mon, 21 Dec 2015 22:44:51 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:53344) by debbugs.gnu.org with smtp (Exim 4.84) (envelope-from ) id 1aBDsW-0002Am-Hf for 9203-done@debbugs.gnu.org; Mon, 21 Dec 2015 22:44:50 -0500 Received: (qmail 10958 invoked by uid 0); 22 Dec 2015 03:44:43 -0000 Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy1.mail.unifiedlayer.com with SMTP; 22 Dec 2015 03:44:43 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw2 with id wTkb1r00r2f2jeq01TkfD8; Mon, 21 Dec 2015 20:44:41 -0700 X-Authority-Analysis: v=2.1 cv=dqRIVTQ4 c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=ZXz5CzTIrgoA:10 a=wUQvQvOEmiQA:10 a=9XJBMtQMeXg5CVbnNR8A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=qN/MIWCCtzEWtZYL/sNPMSu0BFeRnUiW70iyRA7hPso=; b=KuqtuzVbJWnQiJkqO0DdQqh0Bw+8fDQQEWlaapX3SNXgwSh4rqrknqOJvTH/f7d8oh9qLmZYa7cObLIh6Ab1pCzdEAiIUj4Jt3c7qj5JVNkXDDh773dqkZtpozxE6RXD; Received: from [75.171.194.137] (port=53461 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1aBDsL-0003bF-F6; Mon, 21 Dec 2015 20:44:37 -0700 From: Tom Tromey To: 9203-done@debbugs.gnu.org Subject: bug#9203: 24.0.50; some Clang experience X-Attribution: Tom Date: Mon, 21 Dec 2015 20:44:30 -0700 Message-ID: <87oadj2llt.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 75.171.194.137 authed with tom+tromey.com} X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 9203-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) I looked at the warnings here and from what I can tell they've all been fixed. The regex.c one was fixed by correcting the type of 'ret'. The emacsclient.c one was fixed by introducing tmpdir_storage and passing it to confstr. If you still see these warnings, please reply and we can reopen the bug. thanks, Tom ------------=_1450755902-8395-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Jul 2011 11:53:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn872-0006Jp-N6 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:49 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qn870-0006Ji-5C for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn86o-00038O-FS for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn86o-00038K-E1 for submit@debbugs.gnu.org; Sat, 30 Jul 2011 07:53:34 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn86n-0003zE-Ka for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 07:53:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn86m-00037z-Ht for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 07:53:33 -0400 Received: from mout8.freenet.de ([195.4.92.98]:54562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn86m-00037c-C5 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 07:53:32 -0400 Received: from [195.4.92.16] (helo=6.mx.freenet.de) by mout8.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.76 #5) id 1Qn86k-0005Rn-L1 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 13:53:30 +0200 Received: from ip-88-153-242-186.unitymediagroup.de ([88.153.242.186]:57134 helo=peter-dyballas-macbook-pro.fritz.box) by 6.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.76 #5) id 1Qn86k-0001wF-G4 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2011 13:53:30 +0200 From: Peter Dyballa Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: 24.0.50; some Clang experience Date: Sat, 30 Jul 2011 13:53:30 +0200 Message-Id: To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.8 (-----) Hello! 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:=20 comparison of unsigned enum expression >=3D 0 is always true = [-Wtautological-compare] if (ret >=3D 0) ~~~ ^ ~ emacs-24.0.50/lib-src/../src/regex.c:6619:14: warning:=20 comparison of unsigned enum expression >=3D 0 is always true = [-Wtautological-compare] return ret >=3D 0 ? REG_NOERROR : REG_NOMATCH; ~~~ ^ ~ emacs-24.0.50/lib-src/emacsclient.c:1269:52: warning:=20 passing 'const char *' to parameter of type 'char *' discards = qualifiers confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n); ^~~~~~ In file included from emacs-24.0.50/lib-src/emacsclient.c:76: In file included from ../lib/getopt.h:31: In file included from /usr/include/getopt.h:44: In file included from ../lib/unistd.h:43: /usr/include/unistd.h:423:28: note: passing argument to parameter here size_t confstr(int, char *, size_t) __DARWIN_ALIAS(confstr); ^ The installed NS variant is a bit unstable. Maybe I just need to = optimise the compiler switches in the near future! -- Greetings Pete I hope to die before I *have* to use Microsoft Word. - Donald E. Knuth, 2001-10-02 in T=FCbingen ------------=_1450755902-8395-1--