[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-testing
Subject: Re: [Boost-testing] questions regarding serializaiton tests on the
From: "Farid Zaripov" <faridz () apache ! org>
Date: 2008-06-20 13:45:33
Message-ID: CBD2B4B10ABC4E01AACBE8EF1821581C () kyiv ! epam ! com
[Download RAW message or body]
> -----Original Message-----
> From: boost-testing-bounces@lists.boost.org
> [mailto:boost-testing-bounces@lists.boost.org] On Behalf Of
> Robert Ramey
> Sent: Thursday, June 19, 2008 9:09 PM
> To: boost-testing@lists.boost.org
> 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.
_______________________________________________
Boost-Testing mailing list
Boost-Testing@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic