id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5774,Boost Signals 1.48 gcc 4.6.1 error,ramon.casellas@…,Douglas Gregor,"Dear Boost Signals mantainer The component no longer compiles (See error below) Ubuntu oneiric Boost trunk gcc 4.6.1 - ./b2 address-model=64 cxxflags=-std=gnu++0x Apparently std::map expects either a map::const_iterator or a const ref to map::key, Thank you, R. {{{ gcc.compile.c++ bin.v2/libs/signals/build/gcc-4.6.1/release/address-model-64/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, _Compare = boost::function2, _Alloc = std::allocator > >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator > >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator > >] /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, _Compare = boost::function2, _Alloc = std::allocator > >, 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 > >::_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, _Compare = boost::function2, _Alloc = std::allocator > >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator > >, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator > >] /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, _Compare = boost::function2, _Alloc = std::allocator > >, 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 -m64 -std=gnu++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/address-model-64/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/address-model-64/threading-multi/named_slot_map.o... gcc.compile.c++ bin.v2/libs/signals/build/gcc-4.6.1/release/address-model-64/threading-multi/signal_base.o libs/signals/src/signal_base.cpp: In static member function ‘static void boost::signals::detail::signal_base_impl::slot_disconnected(void*, void*)’: libs/signals/src/signal_base.cpp:136:37: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations] gcc.compile.c++ bin.v2/libs/signals/build/gcc-4.6.1/release/address-model-64/threading-multi/slot.o ...skipped libboost_signals.so.1.48.0 for lack of named_slot_map.o... ...skipped

libboost_signals.so.1.48.0 for lack of libboost_signals.so.1.48.0... ...skipped

libboost_signals.so for lack of

libboost_signals.so.1.48.0... }}}",Bugs,closed,Boost 1.49.0,signals,Boost Development Trunk,Showstopper,fixed,boost signals trunk error 1.48.0,