
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.

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

On Jan 18, 2013, at 5:17 PM, Ioannis Papadopoulos
With the minimal test:
#include
int main() { }
I am getting the following using gcc 4.7.2 in C++11 mode:
I tried this with clang in C++11 mode, and got similar errors.
In file included from junk.cpp:1:
In file included from trunk/boost/tr1/memory.hpp:56:
In file included from trunk/boost/shared_ptr.hpp:17:
trunk/boost/smart_ptr/shared_ptr.hpp:783:31: error: exception specification in
declaration does not match previous declaration
template<class T> inline void swap(shared_ptr<T> & a, shared_ptr<T> & ...
^
trunk/boost/tr1/memory.hpp:27:24: note: previous declaration is here
template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b);
^
In file included from junk.cpp:1:
In file included from trunk/boost/tr1/memory.hpp:56:
In file included from trunk/boost/shared_ptr.hpp:17:
trunk/boost/smart_ptr/shared_ptr.hpp:788:42: error: exception specification in
declaration does not match previous declaration
template
It either needs BOOST_NOEXCEPT in memory.hpp or removed in shared_ptr.hpp for the offending functions.
That seems like a good idea to me. In fact, there are several prototypes in memory.h that need it.
here's a proposed patch:
Index: boost/tr1/memory.hpp
===================================================================
--- boost/tr1/memory.hpp (revision 82534)
+++ boost/tr1/memory.hpp (working copy)
@@ -23,12 +23,12 @@
class bad_weak_ptr;
template<class T> class weak_ptr;
template<class T> class shared_ptr;
-template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
-template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b);
-template

On Jan 19, 2013, at 7:59 AM, Marshall Clow
On Jan 18, 2013, at 5:17 PM, Ioannis Papadopoulos
wrote: With the minimal test:
#include
int main() { }
I am getting the following using gcc 4.7.2 in C++11 mode:
I tried this with clang in C++11 mode, and got similar errors.
I've created a ticket https://svn.boost.org/trac/boost/ticket/7907 to track this issue. -- Marshall Marshall Clow Idio Software mailto:mclow.lists@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki

On 01/19/2013 09:59 AM, Marshall Clow wrote:
On Jan 18, 2013, at 5:17 PM, Ioannis Papadopoulos
wrote: [...] It either needs BOOST_NOEXCEPT in memory.hpp or removed in shared_ptr.hpp for the offending functions.
That seems like a good idea to me. In fact, there are several prototypes in memory.h that need it.
here's a proposed patch:
Index: boost/tr1/memory.hpp =================================================================== --- boost/tr1/memory.hpp (revision 82534) +++ boost/tr1/memory.hpp (working copy) @@ -23,12 +23,12 @@ class bad_weak_ptr; template<class T> class weak_ptr; template<class T> class shared_ptr; -template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b); -template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b); -template
shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r); -template shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r); -template shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r); -template D * get_deleter(shared_ptr<T> const & p); +template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b) BOOST_NOEXCEPT; +template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b) BOOST_NOEXCEPT; +template shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT; +template shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT; +template shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r) BOOST_NOEXCEPT; +template D * get_deleter(shared_ptr<T> const & p) BOOST_NOEXCEPT; template<class T> class enable_shared_from_this; namespace detail{
With this patch, your test program compiles cleanly here. Can you test this patch on your system?
-- Marshall
Marshall Clow Idio Software mailto:mclow.lists@gmail.com
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki
With this patch, my test cases pass. Thanks

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.
OK, another problem in Boost.Fusion:
#include

On Jan 21, 2013, at 12:28 PM, Ioannis Papadopoulos
OK, another problem in Boost.Fusion:
#include
#include int a, b;
std::tr1::tuple
get() { return std::tr1::tuple (std::tr1::ref(a), std::tr1::ref(b)); } int main() { std::tr1::tuple
t = get(); return 0; } cannot compile with GCC 4.7.2 / C++11 when defining BOOST_FUSION_DONT_USE_PREPROCESSED_FILES:
$ g++ --std=c++11 -DBOOST_FUSION_DONT_USE_PREPROCESSED_FILES test.cc -I /usr/local/boost/boost_1_53_beta/include/ [ error message snipped ]
I can reproduce this here as well (with clang):
$ clang++ -std=c++11 -stdlib=libc++ -DBOOST_FUSION_DONT_USE_PREPROCESSED_FILES -I /Sources/boost/beta1 junk.cpp
In file included from junk.cpp:1:
In file included from /Sources/boost/trunk/boost/tr1/tuple.hpp:58:
In file included from /Sources/boost/trunk/boost/fusion/include/tuple.hpp:10:
In file included from /Sources/boost/trunk/boost/fusion/tuple.hpp:10:
In file included from /Sources/boost/trunk/boost/fusion/tuple/tuple.hpp:11:
In file included from /Sources/boost/trunk/boost/fusion/container/vector/vector.hpp:10:
In file included from /Sources/boost/trunk/boost/fusion/container/vector/vector_fwd.hpp:14:
In file included from /Sources/boost/trunk/boost/fusion/container/vector/vector10.hpp:87:
In file included from /Sources/boost/trunk/boost/preprocessor/iteration/detail/iter/forward1.hpp:57:
/Sources/boost/trunk/boost/fusion/container/vector/detail/vector_n.hpp:57:22: error:
constructor cannot be redeclared
BOOST_PP_CAT(vector_data, N)(
^
/Sources/boost/trunk/boost/preprocessor/cat.hpp:22:47: note: expanded from macro
'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^
/Sources/boost/trunk/boost/preprocessor/cat.hpp:29:34: note: expanded from macro
'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) a ## b
^
<scratch space>:170:1: note: expanded from macro 'vector_data'
vector_data2
^
/Sources/boost/trunk/boost/fusion/container/vector/detail/vector_n.hpp:104:22: note:
in instantiation of template class 'boost::fusion::vector_data2

On Jan 21, 2013, at 12:28 PM, Ioannis Papadopoulos
OK, another problem in Boost.Fusion:
#include
#include int a, b;
std::tr1::tuple
get() { return std::tr1::tuple (std::tr1::ref(a), std::tr1::ref(b)); } int main() { std::tr1::tuple
t = get(); return 0; } cannot compile with GCC 4.7.2 / C++11 when defining BOOST_FUSION_DONT_USE_PREPROCESSED_FILES:
$ g++ --std=c++11 -DBOOST_FUSION_DONT_USE_PREPROCESSED_FILES test.cc -I /usr/local/boost/boost_1_53_beta/include/ In file included from /usr/local/boost/boost_1_53_beta/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:57:0, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector10.hpp:87, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector_fwd.hpp:14, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector.hpp:10, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/tuple/tuple.hpp:11, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/tuple.hpp:10, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/include/tuple.hpp:10, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/tuple.hpp:58, from test.cc:1:
File a bug, please ;-) -- Marshall

On 01/21/2013 05:36 PM, Marshall Clow wrote:
On Jan 21, 2013, at 12:28 PM, Ioannis Papadopoulos
wrote: OK, another problem in Boost.Fusion:
#include
#include int a, b;
std::tr1::tuple
get() { return std::tr1::tuple (std::tr1::ref(a), std::tr1::ref(b)); } int main() { std::tr1::tuple
t = get(); return 0; } cannot compile with GCC 4.7.2 / C++11 when defining BOOST_FUSION_DONT_USE_PREPROCESSED_FILES:
$ g++ --std=c++11 -DBOOST_FUSION_DONT_USE_PREPROCESSED_FILES test.cc -I /usr/local/boost/boost_1_53_beta/include/ In file included from /usr/local/boost/boost_1_53_beta/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:57:0, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector10.hpp:87, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector_fwd.hpp:14, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/container/vector/vector.hpp:10, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/tuple/tuple.hpp:11, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/tuple.hpp:10, from /usr/local/boost/boost_1_53_beta/include/boost/fusion/include/tuple.hpp:10, from /usr/local/boost/boost_1_53_beta/include/boost/tr1/tuple.hpp:58, from test.cc:1:
File a bug, please ;-)
-- Marshall

On 07/01/2013 1:35 PM, 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. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users There are a couple of warnings that have been bugging me that have been around for ages. Patches are already included in Trac. Any chance the fixes could be squeezed into 1.53.0?
https://svn.boost.org/trac/boost/ticket/5598: boost/property_tree/detail/json_parser_write.hpp:35: warning: comparison is always true due to limited range of data type https://svn.boost.org/trac/boost/ticket/6582: Remove unused parameter warning in property tree json parser Also, another one is one that was introduced in 1.52.0. https://svn.boost.org/trac/boost/ticket/7803: [program_options] boost/program_options/errors.hpp:253: warning: unused parameter 'option_name' Sincerely, Shane Turner -- Shane Turner Senior Software Developer phone +1 (902) 406--8375 x1008 email Shane.Turner@NewPace.ca mailto:Shane.Turner@newpace.ca aim aim:GoIm?screenname=Shane.Turner@newpace.ca/msn msnim:chat?contact=Shane.Turner@newpace.ca Shane.Turner@NewPace.ca aim:GoIm?screenname=Shane.Turner@newpace.ca skype saturnjct skype:saturnjct
participants (3)
-
Ioannis Papadopoulos
-
Marshall Clow
-
Shane Turner