This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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