From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Omit all GCPRO stuff if GC_MAKE_GCPROS_NOOPS Date: Mon, 16 Jul 2012 08:42:10 -0400 Message-ID: <87vchnq3ml.fsf@maru.md5i.com> References: <5002FF32.2090308@yandex.ru> <5003B781.7080006@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342442557 6391 80.91.229.3 (16 Jul 2012 12:42:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 12:42:37 +0000 (UTC) Cc: Dmitry Antipov , Emacs development discussions To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 14:42:36 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 1SqkdG-000443-QW for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 14:42:34 +0200 Original-Received: from localhost ([::1]:36989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqkdF-0004Ku-Kh for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2012 08:42:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqkd8-0004Kf-Uu for emacs-devel@gnu.org; Mon, 16 Jul 2012 08:42:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqkd2-0006ik-KW for emacs-devel@gnu.org; Mon, 16 Jul 2012 08:42:26 -0400 Original-Received: from md5i.com ([75.151.244.229]:58299 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqkd2-0006iH-FK for emacs-devel@gnu.org; Mon, 16 Jul 2012 08:42:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=XRao1+jZo42UH3JCRn5P9L4+XaubGm1HXd1jaxZOzg8=; b=LoV0+jl9mu+/mxY/roYUoUsk0VrYcS2xujcz9wy+JU3xVhVhj32h8nVAMNDMES5CPa0suoeht+5JUk0rx4sdt72J+gG3PjR8/9AMbAiLz6ALMFwC3TJCr0I562ii0kh3; Original-Received: from md5i by maru.md5i.com with local (Exim 4.80) (envelope-from ) id 1Sqkct-00005K-1C; Mon, 16 Jul 2012 08:42:11 -0400 In-Reply-To: <5003B781.7080006@cs.ucla.edu> (Paul Eggert's message of "Sun, 15 Jul 2012 23:41:05 -0700") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.151.244.229 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:151661 Archived-At: Paul Eggert writes: >> +#define DEFGCPRO1 void *__dummy ATTRIBUTE_UNUSED = &__dummy > > 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. 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. -- Michael Welsh Duggan (md5i@md5i.com)