Date: Fri, 14 Sep 2001 20:43:25 -0700 (PDT) From: Matt Dillon <dillon@earth.backplane.com> To: Peter Wemm <peter@wemm.org> Cc: obrien@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>, "Andrey A. Chernov" <ache@nagual.pp.ru>, Mark Peek <mark@whistle.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: macro recommendation (Was Re: cvs commit: src/lib/libc/stdlib strtol.3 strtol.c strtoll.c strtoq.c strtoul.3 strtoul.c strtoull.c strtouq.c) Message-ID: <200109150343.f8F3hPm21574@earth.backplane.com> References: <20010905234646.9BBAF380A@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
:...
:> I have been working out the style issues with BDE for several months.
:> Also, if you want a truely portable usage, we cannot use __RCSID()
:> because too much NetBSD and vendor sources use it. Peter's hack will not
:> work for all compilers. I would have prefered a __FBSD() and __CSRG()
:> macro for the same reasons we switched to $FreeBSD$ from $Id$. These
:> would have worked for all compilers, but I cannot complete with an effort
:> backed by Peter.
:
:I dont care if it's called __FRED(). My hack will work for all
:compilers, in *.c files. It only gets hairy if you try and add them to
:headers (probably a bad idea anyway).
:
:Feel free to add __FOO(), __FBSD(), __GRANDMA() or whatever you like. The
:tools are there, just pick a new prefix name.
:
:Cheers,
:-Peter
:--
:Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
:"All of this is for nothing if we don't go to the stars" - JMS/B5
Ok, I've added __FBSDID() to sys/cdefs.h in -current and also
commited changes to use __FBSDID() in one of the smaller libraries ...
libatm. Interested parties should take a look at the results and we
can move the debate on from that. Once we get enough of a concensus I
and hopefully others can start working on the libraries in -current and
perhaps even -stable.
-Matt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109150343.f8F3hPm21574>
