Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost.tr1] compilation errors with VC 2013
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2014-02-12 17:04:11

On 13/02/2014 02:34, Quoth Olaf Krzikalla:
> Am 12.02.2014 14:26, schrieb John Maddock:
>> While it hasn't been officially deprecated yet, it probably should be.
>> I'll look into the VC13 failures and try to see if there's an easy way
>> to fix them.
> Thanks for looking at it. BTW, they happen with VC 2012 too. They are
> all similar to this one:
> error C2874: using-declaration causes a multiple declaration of
> 'boost::bad_weak_ptr'
> boost_1_55_0\boost/tr1/memory.hpp(23) : see declaration of
> 'boost::bad_weak_ptr'

Those are imports into the std::tr1 namespace, which haven't been valid
for MSVC at least as far back as VS2008 (probably longer) as the STL has
provided perfectly valid implementations of these for at least that long.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at