Boost logo

Boost :

Subject: Re: [boost] [1.48.0] Release candidates available
From: Ben Pope (benpope81_at_[hidden])
Date: 2011-11-14 22:18:33


On Monday, November 14, 2011 11:47 PM, Beman Dawes wrote:
> Release candidate files for 1.48.0 are available at http://boost.cowic.de/rc/
>
> md5sum on the originals:
>
> 7dd95e71c43ddd35997d9f2346e7f567 *boost_1_48_0.7z
> d1e9a7a7f532bb031a3c175d86688d95 *boost_1_48_0.tar.bz2
> 313a11e97eb56eb7efd18325354631be *boost_1_48_0.tar.gz
> b08fda829eec96b4f1071ce2ea6831f5 *boost_1_48_0.zip
>
> As always, the release managers would appreciate it if you download
> the candidate of your choice and give building it a try. Please report
> both success and failure, and anything else that is noteworthy.

There were a couple of errors in signals when building with gcc-4.6.1 on
ubuntu x64 with std=c++0x:

gcc.compile.c++
bin.v2/libs/signals/build/gcc-4.6.1/release/threading-multi/named_slot_map.o
libs/signals/src/named_slot_map.cpp: In member function ‘void
boost::signals::detail::named_slot_map::disconnect(const
boost::signals::detail::stored_group&)’:
libs/signals/src/named_slot_map.cpp:105:23: error: call of overloaded
‘erase(boost::signals::detail::named_slot_map::group_iterator&)’ is
ambiguous
libs/signals/src/named_slot_map.cpp:105:23: note: candidates are:
/usr/include/c++/4.6/bits/stl_map.h:613:7: note: std::map<_Key, _Tp,
_Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare,
_Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator)
[with _Key = boost::signals::detail::stored_group, _Tp =
std::list<boost::signals::detail::connection_slot_pair>, _Compare =
boost::function2<bool, boost::signals::detail::stored_group,
boost::signals::detail::stored_group>, _Alloc =
std::allocator<std::pair<const boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >,
std::map<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const
boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >,
std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator =
std::_Rb_tree_const_iterator<std::pair<const
boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >]
/usr/include/c++/4.6/bits/stl_map.h:643:7: note: std::map<_Key, _Tp,
_Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare,
_Alloc>::erase(const key_type&) [with _Key =
boost::signals::detail::stored_group, _Tp =
std::list<boost::signals::detail::connection_slot_pair>, _Compare =
boost::function2<bool, boost::signals::detail::stored_group,
boost::signals::detail::stored_group>, _Alloc =
std::allocator<std::pair<const boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >,
std::map<_Key, _Tp, _Compare, _Alloc>::size_type = long unsigned int,
std::map<_Key, _Tp, _Compare, _Alloc>::key_type =
boost::signals::detail::stored_group]
libs/signals/src/named_slot_map.cpp: In member function ‘void
boost::signals::detail::named_slot_map::remove_disconnected_slots()’:
libs/signals/src/named_slot_map.cpp:128:35: error: call of overloaded
‘erase(std::_Rb_tree_iterator<std::pair<const
boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >::_Self)’ is
ambiguous
libs/signals/src/named_slot_map.cpp:128:35: note: candidates are:
/usr/include/c++/4.6/bits/stl_map.h:613:7: note: std::map<_Key, _Tp,
_Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare,
_Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator)
[with _Key = boost::signals::detail::stored_group, _Tp =
std::list<boost::signals::detail::connection_slot_pair>, _Compare =
boost::function2<bool, boost::signals::detail::stored_group,
boost::signals::detail::stored_group>, _Alloc =
std::allocator<std::pair<const boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >,
std::map<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const
boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >,
std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator =
std::_Rb_tree_const_iterator<std::pair<const
boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >]
/usr/include/c++/4.6/bits/stl_map.h:643:7: note: std::map<_Key, _Tp,
_Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare,
_Alloc>::erase(const key_type&) [with _Key =
boost::signals::detail::stored_group, _Tp =
std::list<boost::signals::detail::connection_slot_pair>, _Compare =
boost::function2<bool, boost::signals::detail::stored_group,
boost::signals::detail::stored_group>, _Alloc =
std::allocator<std::pair<const boost::signals::detail::stored_group,
std::list<boost::signals::detail::connection_slot_pair> > >,
std::map<_Key, _Tp, _Compare, _Alloc>::size_type = long unsigned int,
std::map<_Key, _Tp, _Compare, _Alloc>::key_type =
boost::signals::detail::stored_group]

"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread -fPIC -std=c++0x -DBOOST_ALL_NO_LIB=1
-DBOOST_SIGNALS_DYN_LINK=1 -DBOOST_SIGNALS_NO_LIB=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/signals/build/gcc-4.6.1/release/threading-multi/named_slot_map.o"
"libs/signals/src/named_slot_map.cpp"

...failed gcc.compile.c++
bin.v2/libs/signals/build/gcc-4.6.1/release/threading-multi/named_slot_map.o...

Ben


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk