Subject: [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 19:01:58
#7982: pthread_delay_np() parm compile error on AIX
------------------------------------------------------+---------------------
Reporter: Kevin Burge <kevin.burge@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.53.0 | Severity: Regression
Keywords: aix xlc |
------------------------------------------------------+---------------------
On AIX 7, pthread_delay_np is declared as:
extern int
pthread_delay_np __((struct timespec *));
Compilation fails with:
===
vacpp.compile.c++ bin.v2/libs/thread/build/vacpp/release/address-model-32
/threading-multi/pthread/thread.o
"libs/thread/src/pthread/thread.cpp", line 439.48: 1540-0256 (S) A
parameter of type "timespec *" cannot be initialized with an expression of
type "const timespec *".
"libs/thread/src/pthread/thread.cpp", line 439.48: 1540-1205 (I) The error
occurred while converting to parameter 1 of "pthread_delay_np(timespec
*)".
===
It appears that there is a bug related to this, #78.
Compiled fine with 1.52.0.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7982> 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