This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: va_list: headers



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]