From owner-freebsd-arch Mon Aug 13 9:45:53 2001 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (dsl092-013-169.sfo1.dsl.speakeasy.net [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id A8E3037B401; Mon, 13 Aug 2001 09:45:49 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.5/8.11.1) id f7DGjnM94977; Mon, 13 Aug 2001 09:45:49 -0700 (PDT) (envelope-from obrien) Date: Mon, 13 Aug 2001 09:45:49 -0700 From: "David O'Brien" To: Alexey Zelkin Cc: Ruslan Ermilov , Bruce Evans , arch@FreeBSD.ORG Subject: Re: __RCSID() and __VERSION() macros and their ``static const char'' equivalents Message-ID: <20010813094549.A94831@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20010813165753.A74504@sunbay.com> <20010813174114.A26468@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010813174114.A26468@phantom.cris.net>; from phantom@FreeBSD.ORG on Mon, Aug 13, 2001 at 05:41:14PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 13, 2001 at 05:41:14PM +0300, Alexey Zelkin wrote: > I raised almost same questions two months ago. We even came to > conclusion, but David asked to suspend this task until he'll make > some kinds of this black magic in FreeBSD src tree (to avoid merge > conflicts). But I still not hear anything back. Acutally I am waiting to hear back from you and BDE about the proposals I made in June (last message I sent on the topic was 21-June-2001). > > What is the reason why we should use the old style VCS ID declarations > > like this: > > > > static const char rcsid[] = > > "$FreeBSD$"; > > > > instead of their modern equivalent, __RCSID() macro? __RCSID() should be forgotten about. It is a lost cause like using "$Id$". There is just too much imported and barrowed code that uses __RCSID for us to try to use it also (I tried). I have a few ideas on the topic and let see if the small group of us discussing the issue can flush something out. > > Not only the macro is backwards compatible in the non-gcc or non-ELF > > case, but it also "produces" more compact objects. How is it going to produce more compat objects [all the time for GCC and non-GCC compilers]. I believe you mean in some implimentations. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message