http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48313

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-31 
12:40:24 UTC ---
Thanks for the fix, Jason, I've just encountered the bug myself using
boost::thread

I expect others will to, so for the benefit of search engines, the error is

post_event_test.cc:130:47: error: cannot bind 'void()' lvalue to 'void (&&)()'
/home/jwakely/src/boost/boost_1_45_0/boost/thread/detail/thread.hpp:167:9:
error:   initializing argument 1 of 'boost::thread::thread(F&&) [with F =
void()]'

Reply via email to