Boost logo

Boost Users :

Subject: Re: [Boost-users] compiling error after upgrading from boost 1.33.1 to boost 1.36.0
From: Igor R (boost.lists_at_[hidden])
Date: 2013-08-15 14:34:54


I upgraded the boost library in my workstation from boost 1.33.1 to boost
1.36.0. When I compiled my program, I got following errors,

> **
>
> /usr/include/boost/detail/sp_counted_impl.hpp:192: error: template
> argument 3 is invalid****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:198: error: 'a' has not been
> declared****
>
> /usr/include/boost/detail/sp_counted_impl.hpp: In constructor
> 'boost::detail::sp_counted_impl_pda<P, D, <template-parameter-1-3>
> >::sp_counted_impl_pda(P, D, int)':****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:198: error: 'a' was not
> declared in this scope****
>
> /usr/include/boost/detail/sp_counted_impl.hpp: In member function 'virtual
> void boost::detail::sp_counted_impl_pda<P, D, <template-parameter-1-3>
> >::destroy()':****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:209: error: expected
> nested-name-specifier before 'template'****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:209: error: expected
> unqualified-id before 'template'****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:211: error: 'A2' was not
> declared in this scope****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:211: error: expected `;'
> before 'a2'****
>
> /usr/include/boost/detail/sp_counted_impl.hpp:214: error: 'a2' was not
> declared in this scope****
>
> ** **
>
> I’m using gcc 4.1.2.
>

What allocator do you pass to shared_ptr?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net