|
Boost : |
Subject: Re: [boost] [test] va_copy
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-01-03 19:36:45
Bjørn Roald wrote:
> On Friday 01 January 2010 10:15:29 pm Steven Watanabe wrote:
>> AMDG
>>
>> Boost.Test is still failing on some compilers that don't support
>> va_copy. Is va_copy always a macro? Would it be possible
>> to use #ifdef va_copy?
>
> If it helps, that is what is done here:
> http://svn.apache.org/repos/asf/stdcxx/branches/4.1.3/src/exception.cpp
I'd rather stay away from ifdef va_copy. Does it required by standard
for the va_copy to be a macro? Which compiler are still failing?
> The commit in trunk adding va_copy is also missing the va_end call and
> possibly one more call of va_copy to be correct according to the manpage.
You mean I need va_end after va_copy? Where is another va_copy?
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk