Re: [Boost-bugs] [Boost C++ Libraries] #7329: $BOOST_ROOT/boost/thread/future.hpp does not compile on HPUX

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7329: $BOOST_ROOT/boost/thread/future.hpp does not compile on HPUX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-08 06:37:29


#7329: $BOOST_ROOT/boost/thread/future.hpp does not compile on HPUX
----------------------------------+-----------------------------------------
  Reporter: avi.bahra@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.51.0 | Severity: Showstopper
Resolution: | Keywords: HPUX
----------------------------------+-----------------------------------------
Description changed by viboes:

Old description:

> Using compiler: aCC: HP C/aC++ B3910B A.06.20 [May 13 2008]
>
> $BOOST_ROOT/boost/thread/future.hpp
>
> CHANGE:: line:603
> FROM
> for(count_type i=0;i<count;++i)
> {
> #if defined __DECCXX || defined __SUNPRO_CC
> locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex).move();
> #else
> locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex);
> #endif
> }
>
> T0:
>
> for(count_type i=0;i<count;++i)
> {
> #if defined __DECCXX || defined __SUNPRO_CC || defined __hpux
> locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex).move();
> #else
> locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex);
> #endif
> }

New description:

 Using compiler: aCC: HP C/aC++ B3910B A.06.20 [May 13 2008]

    $BOOST_ROOT/boost/thread/future.hpp

 CHANGE:: line:603
 FROM

 {{{
      for(count_type i=0;i<count;++i)
       {
 #if defined __DECCXX || defined __SUNPRO_CC
 locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex).move();
 #else
 locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex);
 #endif
         }
 }}}


 T0:


 {{{
      for(count_type i=0;i<count;++i)
       {
 #if defined __DECCXX || defined __SUNPRO_CC || defined __hpux
 locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex).move();
 #else
 locks[i]=boost::unique_lock<boost::mutex>(futures[i].future_->mutex);
 #endif
         }
 }}}

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7329#comment:2>
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:10 UTC