more va_dcl problems
Todd Vierling
tv@pobox.com
Mon Nov 9 05:12:00 GMT 1998
On Sun, 8 Nov 1998, Zack Weinberg wrote:
: >#include <varargs.h>
: >
: >returntype functionname(var1, var2, va_alist)
: > var1type var1;
: > var2type var2;
: > va_dcl
: >{
: > function body
: >}
: >
: >which _does_ work on egcs 1.1 branch.
:
: Are you sure the va_alist decl is required? My old SunOS 4 docs imply
: that you can get away with an empty argument list. (They also say
: that you can't have named parameters in a varargs function.)
I've never seen it without the va_alist pseudo-argument.
(If you can point me to source that does it differently, I'd love to see it. :)
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)
More information about the Gcc-bugs
mailing list