Date: Tue, 27 Nov 2001 21:48:03 -0500 From: "John W. De Boskey" <jwd@bsdwins.com> To: freebsd-arch@FreeBSD.ORG Cc: Sheldon Hearn <sheldonh@starjuice.net>, The Anarcat <anarcat@anarcat.dyndns.org>, Mike Barcroft <mike@FreeBSD.ORG> Subject: Re: C99 standard: stdint.h Message-ID: <20011127214803.A16836@bsdwins.com> In-Reply-To: <20011127201745.A13067@espresso.q9media.com>; from mike@FreeBSD.ORG on Tue, Nov 27, 2001 at 08:17:45PM -0500 References: <20011127183307.GB520@shall.anarcat.dyndns.org> <85636.1006886466@axl.seasidesoftware.co.za> <20011127201745.A13067@espresso.q9media.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Another small c99 related issue is va_copy(). I posted about this to -current a few weeks back and received zero feedback... Index: sys/i386/include/stdarg.h =================================================================== RCS file: /home/ncvs/src/sys/i386/include/stdarg.h,v retrieving revision 1.11 diff -u -r1.11 stdarg.h --- sys/i386/include/stdarg.h 19 Oct 2001 20:07:46 -0000 1.11 +++ sys/i386/include/stdarg.h 26 Oct 2001 22:33:21 -0000 @@ -55,6 +55,8 @@ #define va_arg(ap, type) \ (*(type *)((ap) += __va_size(type), (ap) - __va_size(type))) +#define va_copy(d,s) ((va_list)(d) = (va_list)(s)) + #define va_end(ap) #endif /* !_STDARG_H_ */ -John ----- Mike Barcroft's Original Message ----- > Sheldon Hearn <sheldonh@starjuice.net> writes: > > On Tue, 27 Nov 2001 13:33:08 EST, The Anarcat wrote: > > > > | I know we have sys/types.h and that we don't really *need* stdint.h, but > > | shouldn't we include it anyways, just for standards compliance sake? > > > > Yes, and we do in -CURRENT. Allow it time to melt down to -STABLE. :-) > > There are a couple items that I would like completed before MFCing > <stdint.h> and <inttypes.h>, namely most of the new printf(3) and > scanf(3) functionality. I maintain a project web page detailing the > current tasks, [http://people.FreeBSD.org/~mike/c99/]. > > Best regards, > Mike Barcroft > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011127214803.A16836>