Subject: Re: [boost] [1.41][serialization] MSVC 9 crashes on compilation
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-11-15 07:58:37
Richard Webb wrote:
> Andrey Semashev-2 wrote:
>> I'm building the release branch on MSVC 9 + STLPort 5.1.5. The compiler
>> crashes when compiling Boost.Serialization (more precisely, the
>> xml_wgrammar.cpp file). The command line I use is as follows:
>> bjam.exe -j 2 --toolset=msvc variant=release link=shared threading=multi
>> runtime-link=shared optimization=speed inlining=full stdlib=stlport
>> --without-mpi --without-wave --without-python --without-graph stage
>> Does anyone else have these problems?
> Same here using VC9 with its own std lib.
> Looks like it might just have been broken - rolling
> boost/archive/iterators/xml_unescape.hpp back to the previous revision
> allows it to compile.
Confirmed. The fix is trivial: change line 53 from
typedef BOOST_DEDUCED_TYPENAME this_t::value_type value_type;
typedef BOOST_DEDUCED_TYPENAME super_t::value_type value_type;
Beman, Robert, can we apply this fix before the 1.41 release is out?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk