This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Standards question: va_list vs. va_list *
- From: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: geoffk at geoffk dot org (Geoff Keating)
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 20 Jan 2002 20:35:55 +0100 (MET)
- Subject: Re: Standards question: va_list vs. va_list *
Geoff Keating wrote:
> This is not quite right. What the standard actually says, in a
> footnote, is that:
>
> 212) It is permitted to create a pointer to a va_list and pass that
> pointer to another function, ...
>
> Now, it says you're allowed to do this, but you will note that it
> doesn't say _how_ to do it.
Indeed, I didn't get that nuance ...
> In particular, I think it's impossible to
> do portably if the va_list was a function parameter.
I see. Thanks for the analysis.
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de