Farid Zaripov wrote:
>> -----Original Message-----
>> From: Martin Sebor [mailto:msebor@gmail.com]
>> Sent: Monday, April 16, 2007 4:06 PM
>> To: stdcxx-dev@incubator.apache.org
>> Subject: Re: Building stdcxx with EDG eccp
>>
>> Farid Zaripov wrote:
>>> I've tried to build stdcxx with EDG eccp in two
>> configurations: 15d
>>> and 15s. The both build was failed.
>>>
>> [...]
>>> The second command line: make BUILDTYPE=15s
>>> BUILDDIR=/usr/tmp/stdcxx-eccp-15s CONFIG=eccp.config
>>> eccp15s.log 2>&1
>>> The second build log is here:
>>> http://people.apache.org/~faridz/eccp15s.log
>> "/usr/src/stdcxx/include/string", line 1553: error #29:
>> expected an expression
>> #if _RWSTD_INSTANTIATE (_BASIC_STRING, _WCHAR_T)
>> ^
>>
>> This in an odd error, one I don't think I've seen before with
>> eccp. I suggests there's something wrong at the time the
>> header is preprocessed, which is unusual because most of the
>> preprocessor code paths are usually exercised on some platform(s).
>
> Yes. This error happens due to failed many of tests at configure step.
>
> The eccp in strict mode (with -A or --strict option specified) fails
> to compile
> the code which is use the GCC extensions, i.e. __builtin_xxx functions
> (__builtin_fabs() and other) are used in <cmath>.
Right, I've seen these. They are annoying but I don't think they
prevent the library from being built.
>
> Also eccp uses the name __is_pod as internal pseudo-function, but this
> name used in /usr/local/include/c++/4.0.2/bits/cpp_type_traits.h. As a
> result
> I got the error: error #40: expected an identifier.
That's not good. If you could produce a small isolated test case
I can pass it on to the EDG folks while we're all here attending
our meeting.
Martin
>
> Farid.
>
|