[Aptitude-devel] Bug#710208: aptitude: FTBFS with Boost 1.53

Daniel Hartwig mandyke at gmail.com
Wed May 29 09:00:39 UTC 2013


Control: tags -1 - patch

Test suite requires further work:

In file included from ../../../../src/cmdline/mocks/teletype.cc:23:0:
../../../../src/cmdline/mocks/terminal.h:56:9: error: ambiguous template specialization ‘make_shared<aptitude::cmdline::mocks::terminal_output>’ for ‘boost::shared_ptr<aptitude::cmdline::mocks::terminal_output> boost::make_shared<aptitude::cmdline::mocks::terminal_output>()’
         boost::make_shared<terminal_output>();
         ^
In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0,
                 from /usr/include/boost/make_shared.hpp:15,
                 from ../../../../src/generic/util/mocks/mock_util.h:24,
                 from ../../../../src/cmdline/mocks/teletype.h:24,
                 from ../../../../src/cmdline/mocks/teletype.cc:21:
/usr/include/boost/smart_ptr/make_shared_object.hpp:134:72: note: candidates are:
 template<class T> typename boost::detail::sp_if_not_array<T>::type boost::make_shared()
 template< class T > typename boost::detail::sp_if_not_array< T >::type make_shared()
                                                                        ^
In file included from ../../../../src/cmdline/mocks/teletype.cc:23:0:
../../../../src/cmdline/mocks/terminal.h:35:45: note:                 template<class T> boost::shared_ptr<X> boost::make_shared()
   template<typename T> boost::shared_ptr<T> make_shared();



More information about the Aptitude-devel mailing list