Re: [Boost-bugs] [Boost C++ Libraries] #6175: Compile error with SunStudio

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6175: Compile error with SunStudio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-06 08:27:40


#6175: Compile error with SunStudio
---------------------------+------------------------------------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.49.0 | Component: thread
   Version: Boost 1.48.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment (by anonymous):

 Yeah, it compiles with this workaround.

 Is this a good workaround?

 You could also change the visibility of unique_lock&
 operator=(unique_lock&) in boost/thread/locks.hpp to public.

 I think the root of problem has something to do that the sun compiler does
 not support rvalue references. The define BOOST_NO_RVALUE_REFERENCES is
 set in boost/config/compiler/sunpro_cc.hpp.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6175#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC