From owner-cvs-src@FreeBSD.ORG Thu Feb 19 21:32:36 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB27D16A4CE; Thu, 19 Feb 2004 21:32:36 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C7E543D2F; Thu, 19 Feb 2004 21:32:36 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i1K5WU5O019298; Fri, 20 Feb 2004 16:32:30 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i1K5WPch023080; Fri, 20 Feb 2004 16:32:27 +1100 Date: Fri, 20 Feb 2004 16:32:25 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: <20040220161017.E4096@gamplex.bde.org> References: <200401192127.i0JLRBL3041817@repoman.freebsd.org> <20040213035557.M24031@gamplex.bde.org> <20040215094444.F6303@gamplex.bde.org> <20040217170647.GA95247@dhcp01.pn.xcllnt.net> <20040218093149.A19121@gamplex.bde.org> <20040219213717.O1230@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Marcel Moolenaar cc: Poul-Henning Kamp cc: Jun Kuriyama Subject: Re: cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386 swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 05:32:37 -0000 On Thu, 19 Feb 2004, Dag-Erling [iso-8859-1] Sm=F8rgrav wrote: > Bruce Evans writes: > > I'd prefer not to use variadic macros until we have several C99 compile= rs > > that support them instead of half of a C99 compiler. > > CURRENT's GCC supports both ISO C variadic macro syntax and its own. That's the half of a C99 compiler. > The latter is also supported in STABLE's GCC. I forgot about -stable. s/until we have several C99 compilers/until C99 compilers are so normal that -stable has a choice of several of them/ > I imagine ICC supports > at least ISO C syntax and possibly also the old GCC syntax, since it > tries to be GCC-compatible, and that both TenDRA and Watcom support > the ISO C syntax. TenDRA is only C90 AFAIK, and the others aren't free or routinely used for FreeBSD development. > See src/contrib/openpam/include/security/openpam.h > for an example of code that selects the right syntax depending on what > the compiler is expected to support. I prefer to avoid such messes by using only the fallback case. It does set a good example by not passing __FILE__ and __LINE__ (it passes __func__ instead). Anyway, not passing any of these and using debugging info works better. Bruce