|
Boost : |
Subject: Re: [boost] [test] va_copy
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-01-03 20:15:00
AMDG
Gennadiy Rozental wrote:
> 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?
From the regression tests, msvc-10.0 and intel-vc9-win-11.1.
It also fails with como-win with a vc9 back end.
>> 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?
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk