|
Boost : |
From: Edward Diener (eddielee_at_[hidden])
Date: 2005-04-28 11:22:31
JOAQUIN LOPEZ MU?Z wrote:
>
> ----- Mensaje original -----
> De: Edward Diener <eddielee_at_[hidden]>
> Fecha: Miércoles, Abril 27, 2005 10:25 pm
> Asunto: [boost] Re: [test][comeau] problem with va_list
>
>
>>JOAQUIN LOPEZ MU?Z wrote:
>>
>>>Current tests for Comeau 4.3 show this problem:
>>>
>>>"G:\boost\boost/test/impl/test_tools.ipp", line 136: error #135:
>>>namespace
>>> "std" has no member "va_list"
>>> std::va_list args;
>>>
>>>Looks like va_list is not properly injected into std::
>>>(yet BOOST_NO_STDC_NAMESPACE is *not* defined
>>>for this platform, and I guess for a good reason.)
>>>I've googled for this and found some discussions at the
>>>Boost list on the very same problem, with no definitive
>>>answer :(
>>>
>>>1. Could anyone take a look at Comeau stdlib <cstdargs>
>>>and see what's going on?
>>
>>It is <cstdarg>, and in libcomo for Comeau 4.3.3 I see:
>>
>>#include <stdarg.h>
>>
>>namespace std {
>>
>> using ::va_list;
>>
>>}
>>
>>Comeau uses the back end compiler for the C headers, such as
>>stdarg.h,
>>although it provides a few of its own for various compilers
>>evidently to
>>make up for some compiler deficiences. I do not see any stdarg.h
>>among
>>the latter. What is the back end compiler being used for the
>>failing test ?
>>
>
>
> VC 7.1.
>
> The offending file seems pretty straightfoward
> (http://tinyurl.com/e27be), so I don't really have a clue
> what's going on...
I tried compiling that source file manually against the latest Boost
from CVS and Comeau 4.3.3 pointing to the Boost directory but I get a
slew of wchar_t errors. In strict mode, --A --a, I get:
H:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\wchar.h(96):
error: the type "long long" is nonstandard
typedef __int64 __time64_t; /* 64-bit time value */
and many others along the same line.
In non-strict mode I get:
H:\Utilities\Comeau\libcomo\cnames\cstddef(14): error: the global scope
has no
"wchar_t"
using ::wchar_t;
and many others along the same line.
I have never tried to use Boost Testing and bjam is another planet to
me. If you have some Comeau command line options for me to use I will
try again. I am setup to use vc7.1 as the backend and have all my Comeau
environment variables and vc7.1 environment variables setup properly.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk