Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6420 closed Bugs (fixed)

Call to forward ambiguous

Reported by: viboes Owned by: viboes
Milestone: To Be Determined Component: thread
Version: Boost Development Trunk Severity: Problem
Keywords: 1.49 Cc:

Description

Test output: Sandia-darwin-4.4_0x - thread - test_thread_launching / darwin-4.4_0x
Rev 76549 / Tue, 17 Jan 2012 11:21:19 +0000
Report Time: Tue, 17 Jan 2012 15:54:48 +0000

Compile [2012-01-17 12:21:24 UTC]: fail

    "/opt/local/bin/g++-mp-4.4"  -ftemplate-depth-128 -std=gnu++0x -O0 -fno-inline -Wall -g -dynamic -gdwarf-2 -fexceptions -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1  -I".." -c -o "/Volumes/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_thread_launching.test/darwin-4.4_0x/debug/threading-multi/test_thread_launching.o" "../libs/thread/test/test_thread_launching.cpp"

In file included from ../boost/thread/thread.hpp:22,
                 from ../libs/thread/test/test_thread_launching.cpp:5:
../boost/thread/detail/thread.hpp: In static member function 'static boost::detail::thread_data_ptr boost::thread::make_thread_info(F&&) [with F = boost::_bi::bind_t<void, callable_multiple_arg, boost::_bi::list3<boost::_bi::value<const char*>, boost::_bi::value<std::vector<int, std::allocator<int> > >, boost::_bi::value<double> > >]':
../boost/thread/detail/thread.hpp:439:   instantiated from 'boost::thread::thread(F, A1, A2, A3) [with F = callable_multiple_arg, A1 = const char*, A2 = std::vector<int, std::allocator<int> >, A3 = double]'
../libs/thread/test/test_thread_launching.cpp:149:   instantiated from here
../boost/thread/detail/thread.hpp:187: error: call of overloaded 'forward(boost::_bi::bind_t<void, callable_multiple_arg, boost::_bi::list3<boost::_bi::value<const char*>, boost::_bi::value<std::vector<int, std::allocator<int> > >, boost::_bi::value<double> > >&)' is ambiguous
../boost/move/move.hpp:523: note: candidates are: T&& boost::forward(typename boost::move_detail::identity<T>::type&&) [with T = boost::_bi::bind_t<void, callable_multiple_arg, boost::_bi::list3<boost::_bi::value<const char*>, boost::_bi::value<std::vector<int, std::allocator<int> > >, boost::_bi::value<double> > >]
/opt/local/include/gcc44/c++/bits/move.h:51: note:                 _Tp&& std::forward(typename std::identity<_Tp>::type&&) [with _Tp = boost::_bi::bind_t<void, callable_multiple_arg, boost::_bi::list3<boost::_bi::value<const char*>, boost::_bi::value<std::vector<int, std::allocator<int> > >, boost::_bi::value<double> > >]

Change History (2)

comment:1 by viboes, 11 years ago

Resolution: fixed
Status: newclosed

(In [76561]) Thread: try to fix #6420 - Call to forward ambiguous

comment:2 by viboes, 11 years ago

Component: Nonethread
Note: See TracTickets for help on using tickets.