tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MIfying stdarg.h and dropping varargs.h



On Thu, Jul 14, 2011 at 08:42:44PM +0200, Joerg Sonnenberger wrote:
 > > This breaks e.g. stdio.h, which is not allowed to define va_list.
 > 
 > POSIX explicitly requires it.

Well, that's broken of POSIX.

 > C99 doesn't exactly make sense in this regard as it requires it for
 > the prototypes, but also requires including stdarg.h first.

No, that has long been held to mean that stdio can get a __va_list or
_BSD_VA_LIST_ type from somewhere (else) but not itself pull in
stdarg.h.

This was working; please don't break it.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index