Boost logo

Boost :

Subject: Re: [boost] [serialization][release][teeks99] All MSVC tests for Boost.Serialization failing?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-31 15:59:19


AMDG

On 03/31/2015 01:39 PM, Joaquín M Lopez Munoz wrote:
>
> Must we then assume Boost.Serialization is indeed
> failing to build for Microsoft compilers? This is a critical
> issue being as we are on the verge of releasing Boost
> 1.58
>

That seems to be the case. Here's the
actual error that I'm seeing:

>git checkout master
>git submodule update --init
>b2 --abbreviate-paths --with-serialization link=shared debug
threading=multi -q
...
compile-c-c++
bin.v2\libs\serialization\build\msvc-12.0\dbg\thrd-mlt\archive_exception.obj
archive_exception.cpp
libs\serialization\src\archive_exception.cpp(42) : error C2375:
'boost::archive::archive_exception::archive_exception' : redefinition;
different linkage

C:\Users\Steven\Documents\boost\boost-git\boost/archive/archive_exception.hpp(81)
: see declaration of 'boost::archive::archive_exception::archive_exception'
libs\serialization\src\archive_exception.cpp(114) : error C2375:
'boost::archive::archive_exception::~archive_exception' : redefinition;
different linkage

C:\Users\Steven\Documents\boost\boost-git\boost/archive/archive_exception.hpp(86)
: see declaration of 'boost::archive::archive_exception::~archive_exception'
libs\serialization\src\archive_exception.cpp(117) : error C2375:
'boost::archive::archive_exception::what' : redefinition; different linkage

C:\Users\Steven\Documents\boost\boost-git\boost/archive/archive_exception.hpp(87)
: see declaration of 'boost::archive::archive_exception::what'
libs\serialization\src\archive_exception.cpp(121) : error C2375:
'boost::archive::archive_exception::archive_exception' : redefinition;
different linkage

C:\Users\Steven\Documents\boost\boost-git\boost/archive/archive_exception.hpp(91)
: see declaration of 'boost::archive::archive_exception::archive_exception'

    call
"C:\Users\Steven\AppData\Loca\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul
cl /Zm800 -nologo
@"bin.v2\libs\serialization\build\msvc-12.0\dbg\thrd-mlt\archive_exception.obj.rsp"

...failed compile-c-c++
bin.v2\libs\serialization\build\msvc-12.0\dbg\thrd-mlt\archive_exception.obj...
...failed updating 1 target...

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