This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Re: va_list: headers
- To: Richard Henderson <rth@cygnus.com>
- Subject: Re: va_list: headers
- From: Zack Weinberg <zack@bitmover.com>
- Date: Sun, 25 Jul 1999 23:15:42 -0700
- cc: gcc-patches@gcc.gnu.org
Some minor comments:
* Can we have something along the lines of
#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199909L
#define va_copy(dest, src) __va_copy(dest, src)
#endif
please? That'll eliminate a deviation from C9x.
* I'd like to see the typedef name __gnuc_va_list be renamed
__va_list, with __gnuc_va_list a backward compatibility #define.
This is for aesthetic reasons, specifically I'm looking to remove an
unnecessary dependency of the glibc header files on gcc.
* Does any port use the second argument to stdarg.h va_start? If not,
why don't we use the same builtin for both versions of va_start, and
ignore the second argument to the stdarg.h version?
zw