varargs.h broken?

Christian Weisgerber naddy at mips.inka.de
Sun Aug 24 16:31:01 PDT 2003


Is <varargs.h> known to be broken on -CURRENT/alpha?

I'm currently looking at a piece of code in a port that uses varargs
and that should be fine

    18  # include <varargs.h>

    27  /* VARARGS */
    28  void
    29  debug_printf(va_alist)
    30          va_dcl
    31  {
    32          va_list         args;
    33          char            *fmt;
    34  
    35          va_start(args);

but compilation errors out:

debug.c: In function `debug_printf':
debug.c:30: error: syntax error before '...' token
debug.c:35: error: syntax error before "__builtin_varargs_start"

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-alpha mailing list