Re: [Boost-bugs] [Boost C++ Libraries] #6918: Boost Chrono compilation failure on HP uX due to undefined pthread_getcpuclockid

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6918: Boost Chrono compilation failure on HP uX due to undefined pthread_getcpuclockid
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-31 17:51:37


#6918: Boost Chrono compilation failure on HP uX due to undefined
pthread_getcpuclockid
----------------------------------------------------------+-----------------
  Reporter: Claudio Bantaloukas <rockdreamer@…> | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: Boost 1.51.0 | Component: chrono
   Version: Boost 1.49.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------------------------------+-----------------

Comment (by viboes):

 Replying to [comment:11 artem.goncharov@…]:
> I'm not able to compile boost 1.52 with gcc (tried 4.6.3, 4.7.2) with
 the same error
>
>
> {{{
> ./boost/chrono/detail/inlined/posix/thread_clock.hpp: In static member
 function ‘static boost::chrono::thread_clock::time_point
 boost::chrono::thread_clock::now()’:
> ./boost/chrono/detail/inlined/posix/thread_clock.hpp:34:45: error:
 â€˜pthread_getcpuclockid’ was not declared in this scope
> ./boost/chrono/detail/inlined/posix/thread_clock.hpp: In static member
 function ‘static boost::chrono::thread_clock::time_point
 boost::chrono::thread_clock::now(boost::system::error_code&)’:
> ./boost/chrono/detail/inlined/posix/thread_clock.hpp:60:45: error:
 â€˜pthread_getcpuclockid’ was not declared in this scope
> }}}
>

 With which platform are you getting these errors? Which defines could be
 checked to identify it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6918#comment:12>
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