|
Boost Testing : |
From: Farid Zaripov (faridz_at_[hidden])
Date: 2008-06-20 09:45:33
> -----Original Message-----
> From: boost-testing-bounces_at_[hidden]
> [mailto:boost-testing-bounces_at_[hidden]] On Behalf Of
> Robert Ramey
> Sent: Thursday, June 19, 2008 9:09 PM
> To: boost-testing_at_[hidden]
> Subject: [Boost-testing] questions regarding serializaiton
> tests on the Trunk
>
> a) Comeau compiler complains about NULL not being defined. I
> used the the previous version of comeau without problems in
> this area. I've NULL thoughout the code and never had a
> problem with it not being defined.
> I realise that views on NULL and what it means - or should
> mean - if anything have evolved over the years - and I don't
> want to go into that here. I doubt the serialization library
> is unique in this aspect. Is there anything that can be done
> in the testing setup/ configuration to address this?
>
[...]
>
> c) msvc-9.0-x64-stdcxx-4.2.1 and msvc-7.1-stdcxx-4.2.1 show
> test failure but when I follow the link - I get "file not found".
> This is not helpful to me.
> I made changes to fix previous failures on this combination
> and I think they are correct - but these tests aren't
> confirming or disproving this.
The boost_serialization-vc71-mt-gdx-1_35 library fails to compile
due to error in basic_pointer_iserializer.cpp:
---------------
compile-c-c++
D:\boostsvn\results\boost\bin.v2\libs\serialization\build\msvc-7.1_stdcxx_42
1\debug\stdlib-stdcxx-4.2.1\threading-multi\basic_pointer_iserializer.obj
call "C:/Program Files (x86)/Microsoft Visual Studio .NET
2003/Vc7/bin/vcvars32.bat" x86 >nul
cl /Zm800 -nologo
@"D:\boostsvn\results\boost\bin.v2\libs\serialization\build\msvc-7.1_stdcxx_
421\debug\stdlib-stdcxx-4.2.1\threading-multi\basic_pointer_iserializer.obj.
rsp"
basic_pointer_iserializer.cpp
..\boost\serialization\extended_type_info.hpp(80) : error C2065: 'NULL' :
undeclared identifier
...failed compile-c-c++
D:\boostsvn\results\boost\bin.v2\libs\serialization\build\msvc-7.1_stdcxx_42
1\debug\stdlib-stdcxx-4.2.1\threading-multi\basic_pointer_iserializer.obj...
---------------
The same errors are issued in basic_pointer_oserializer.cpp and
void_cast.cpp
You need to #include <cstddef> header in
boost/serialization/extended_type_info.hpp
file to define NULL or just replace NULL to 0.
I don't know why the text above is not present in
msvc-7.1-stdcxx-4.2.1.xml file, produced by process_jam_log utility.
Farid.