From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Omit all GCPRO stuff if GC_MAKE_GCPROS_NOOPS Date: Mon, 16 Jul 2012 15:39:06 +0200 Message-ID: <3F49C1C3-839B-4274-88EA-86D65C310657@swipnet.se> References: <5002FF32.2090308@yandex.ru> <5003B781.7080006@cs.ucla.edu> <87vchnq3ml.fsf@maru.md5i.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342445963 2496 80.91.229.3 (16 Jul 2012 13:39:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 13:39:23 +0000 (UTC) Cc: Paul Eggert , Dmitry Antipov , Emacs development discussions To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 15:39:22 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SqlWE-0004Nw-0j for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 15:39:22 +0200 Original-Received: from localhost ([::1]:60989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqlWC-0002gb-Hm for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 09:39:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqlW9-0002fm-5f for emacs-devel@gnu.org; Mon, 16 Jul 2012 09:39:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqlW5-0005tT-0j for emacs-devel@gnu.org; Mon, 16 Jul 2012 09:39:17 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:40850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqlW4-0005t4-PN for emacs-devel@gnu.org; Mon, 16 Jul 2012 09:39:12 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id A8419989F for ; Mon, 16 Jul 2012 15:39:07 +0200 (CEST) Original-Received: (qmail 10614 invoked by uid 89); 16 Jul 2012 13:39:02 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 16 Jul 2012 13:39:02 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 402E57FA06C; Mon, 16 Jul 2012 15:39:07 +0200 (CEST) In-Reply-To: <87vchnq3ml.fsf@maru.md5i.com> X-Mailer: Apple Mail (2.1278) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 62.20.26.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151664 Archived-At: 16 jul 2012 kl. 14:42 skrev Michael Welsh Duggan: > Paul Eggert writes: >=20 >>> +#define DEFGCPRO1 void *__dummy ATTRIBUTE_UNUSED =3D &__dummy >>=20 >> This would be cleaner if DEFGCPRO1 etc were either empty, >> or expanded to something that ended in ";". Then the caller >> can just do "DEFGCPRO1" (without the semicolon) and there's >> no need for dummy declarations. >=20 > This I do not understand. Macros without the semicolons make cc-mode > have to work much, much harder to determine the current level of > indentation. I also find it offputting to see something that looks = like > a statement that does not terminate with a semicolon. >=20 +1. Actually cc-mode just fails to get indentation level right after = such a macro. If on the other hand we would allow declarations after = statements, a lone semicolon would not matter. Jan D.