Subject: Re: use of variadic macros?
To: Christos Zoulas <christos@zoulas.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 03/02/2004 21:37:01
--Apple-Mail-10--946710353
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Mar 2, 2004, at 7:12 PM, Christos Zoulas wrote:

> 1. What do varyadic macros buy you in most cases except better 
> appearance
>    (I.e. they eliminate the need for the double parenthesis)?
> 2. Is this extension sanctioned by ansi, or will it be in the future?
> 3. Do we want to make it easier or more difficult to compile kernels 
> with
>    a non-gcc compiler?

It's a real C99 feature, so you don't have to worry about it.  No 
different than named static structure initializers (e.g. { .foo = 10 
}).

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-10--946710353
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFARW7+OpVKkaBm8XkRAn73AKCDcTtKS2PukPqHVfg4hm1aCX0RugCfcQoC
pnmWuI6/gPrsszlFHazHIH0=
=U9tg
-----END PGP SIGNATURE-----

--Apple-Mail-10--946710353--