
On 01/07/2013 11:35 AM, Marshall Clow wrote:
Boost release 1.53.0 beta 1 is now available from SourceForge.
See https://sourceforge.net/projects/boost/files/boost/1.53.0.beta.1/
This release contains numerous enhancements and bug fixes for existing libraries.
For details of what's in the release, see http://www.boost.org/users/history/version_1_53_0.html.
Please download the beta, give it a try, and report any problems you encounter.
Thank you,
-- The Boost Release Team Beman Dawes, Eric Niebler, Rene Rivera, Daniel James, Vladimir Prus and Marshall Clow.
With the minimal test: #include <boost/tr1/memory.hpp> int main() { } I am getting the following using gcc 4.7.2 in C++11 mode: $ g++ -std=c++11 test.cc -I/usr/local/boost/boost_1_53_beta/include In file included from /usr/local/boost/boost_1_53_beta/include/boost/shared_ptr.hpp:17:0, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:56, from test.cc:1: /usr/local/boost/boost_1_53_beta/include/boost/smart_ptr/shared_ptr.hpp:782:74: error: declaration of ‘template<class T> void boost::swap(boost::shared_ptr<T>&, boost::shared_ptr<T>&) noexcept (true)’ has a different exception specifier In file included from test.cc:1:0: /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:27:24: error: from previous declaration ‘template<class T> void boost::swap(boost::shared_ptr<T>&, boost::shared_ptr<T>&)’ In file included from /usr/local/boost/boost_1_53_beta/include/boost/shared_ptr.hpp:17:0, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:56, from test.cc:1: /usr/local/boost/boost_1_53_beta/include/boost/smart_ptr/shared_ptr.hpp:787:89: error: declaration of ‘template<class T, class U> boost::shared_ptr<T> boost::static_pointer_cast(const boost::shared_ptr<U>&) noexcept (true)’ has a different exception specifier In file included from test.cc:1:0: /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:28:42: error: from previous declaration ‘template<class T, class U> boost::shared_ptr<T> boost::static_pointer_cast(const boost::shared_ptr<U>&)’ In file included from /usr/local/boost/boost_1_53_beta/include/boost/shared_ptr.hpp:17:0, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:56, from test.cc:1: /usr/local/boost/boost_1_53_beta/include/boost/smart_ptr/shared_ptr.hpp:797:88: error: declaration of ‘template<class T, class U> boost::shared_ptr<T> boost::const_pointer_cast(const boost::shared_ptr<U>&) noexcept (true)’ has a different exception specifier In file included from test.cc:1:0: /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:30:42: error: from previous declaration ‘template<class T, class U> boost::shared_ptr<T> boost::const_pointer_cast(const boost::shared_ptr<U>&)’ In file included from /usr/local/boost/boost_1_53_beta/include/boost/shared_ptr.hpp:17:0, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:56, from test.cc:1: /usr/local/boost/boost_1_53_beta/include/boost/smart_ptr/shared_ptr.hpp:807:90: error: declaration of ‘template<class T, class U> boost::shared_ptr<T> boost::dynamic_pointer_cast(const boost::shared_ptr<U>&) noexcept (true)’ has a different exception specifier In file included from test.cc:1:0: /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:29:42: error: from previous declaration ‘template<class T, class U> boost::shared_ptr<T> boost::dynamic_pointer_cast(const boost::shared_ptr<U>&)’ In file included from /usr/local/boost/boost_1_53_beta/include/boost/shared_ptr.hpp:17:0, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:56, from test.cc:1: /usr/local/boost/boost_1_53_beta/include/boost/smart_ptr/shared_ptr.hpp:927:71: error: declaration of ‘template<class D, class T> D* boost::get_deleter(const boost::shared_ptr<U>&) noexcept (true)’ has a different exception specifier In file included from test.cc:1:0: /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:31:32: error: from previous declaration ‘template<class D, class T> D* boost::get_deleter(const boost::shared_ptr<U>&)’ In file included from /usr/local/boost/boost_1_53_beta/include/boost/weak_ptr.hpp:16:0, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:57, from test.cc:1: /usr/local/boost/boost_1_53_beta/include/boost/smart_ptr/weak_ptr.hpp:246:63: error: declaration of ‘template<class T> void boost::swap(boost::weak_ptr<T>&, boost::weak_ptr<T>&) noexcept (true)’ has a different exception specifier In file included from test.cc:1:0: /usr/local/boost/boost_1_53_beta/include/boost/tr1/memory.hpp:26:24: error: from previous declaration ‘template<class T> void boost::swap(boost::weak_ptr<T>&, boost::weak_ptr<T>&)’ It either needs BOOST_NOEXCEPT in memory.hpp or removed in shared_ptr.hpp for the offending functions.