Re: [Boost-bugs] [Boost C++ Libraries] #7982: pthread_delay_np() parm compile error on AIX

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7982: pthread_delay_np() parm compile error on AIX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-05 21:30:45


#7982: pthread_delay_np() parm compile error on AIX
-------------------------------------------------------+--------------------
  Reporter: Kevin Burge <kevin.burge@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.53.0 | Severity: Regression
Resolution: | Keywords: aix xlc
-------------------------------------------------------+--------------------

Comment (by viboes):

 Would the following patch solve the issue?


 {{{
 + # if defined(__IBMCPP__)
 +
 BOOST_VERIFY(!pthread_delay_np(const_cast<timespec*>(&ts)));
 + # else
                  BOOST_VERIFY(!pthread_delay_np(&ts));
 + # endif
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7982#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:11 UTC