On Mon, Jan 18, 1999 at 12:21:50AM -0800, Ken Linder wrote:
Anyways, more explanation on the extra 'int' before the __va_ellipsis is because the definition of va_dcl in the gcc-2.8.1/include/varargs.h specifies it as: int __builtin_va_alist; __va_ellipsis
Since this don't work too well in a fcn prototype, I just coded the proto as int; __va_ellipsis. Is this portable?
I don't know. However, libc.info file mentions that varargs.h is used for old-style pre-ISO-C variadic functions. I think it would be a safer bet to use stdarg.h instead.
Just my $0.02... -- Marius Gedminas "A Hacker is any person who derives E-mail: mgedmin@pub.osf.lt joy from discovering ways to WWW: http://www-public.osf.lt/~mgedmin/ circumvent limitations." rab'86