[Bug c++/43915] New: Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-27 Thread mlrus at mac dot com
7; from expression of type 'boost::thread' Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mlrus at mac dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43915

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-27 Thread mlrus at mac dot com
--- Comment #1 from mlrus at mac dot com 2010-04-28 01:01 --- bash-3.2# cat build.2.log Building the Boost C++ Libraries. After the build, the headers will be located at /usr/local/boost_1_42_0 The libraries will be located at /usr/local/boost_1_42_0/stage/lib Use '

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-27 Thread mlrus at mac dot com
--- Comment #3 from mlrus at mac dot com 2010-04-28 06:23 --- Subject: Re: Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread' Its attached. /Michah > > > --- C

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-27 Thread mlrus at mac dot com
--- Comment #4 from mlrus at mac dot com 2010-04-28 06:24 --- Created an attachment (id=20502) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20502&action=view) Bzip'ed preprocessor output for "libs/thread/src/pthread/thread.cpp" with "g++&

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread mlrus at mac dot com
--- Comment #9 from mlrus at mac dot com 2010-04-28 18:20 --- Appended status to booost bug 3944 http://svn.boost.org/trac/boost/ticket/3844 -- mlrus at mac dot com changed: What|Removed |Added

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-05-14 Thread mlrus at mac dot com
--- Comment #11 from mlrus at mac dot com 2010-05-14 13:25 --- The following shows how to patch, compile and use boost 1.43.0 with g++ -std=c++0x.  At issue are the rvalue references and typecasts in the boost threading libraries.  Simply tell Boost not to use its rvalue reference code