Boost logo

Boost :

Subject: Re: [boost] [test] trunk breakage
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-12-28 09:45:02

Eric Niebler <eric <at>> writes:

> On 12/28/2009 7:03 AM, Gennadiy Rozental wrote:
> > What is the proper (portable) way to copy va_list? Or at least what is the
> > workaround for this compiler?
> There isn't a portable way to copy a va_list. va_copy is not standard.
> On some systems it's __va_copy, and other systems (e.g. msvc) don't have
> it at all. Can the code in question be rewritten to not need it?

I essentially need to do double pas through va_list. I can't reinitialize it
cause I am doing this in a function which takes va_list as argument.

Can I use va_copy with gcc 4?


Boost list run by bdawes at, gregod at, cpdaniel at, john at