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: 2012-06-04 13:19:38


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

Comment (by Claudio Bantaloukas <rockdreamer@…>):

 Replying to [comment:2 viboes]:
> Could you tell me which defines to use to check for HP compiler/pthread
 library used?

 sure, the compiler macro according to
 [http://sourceforge.net/apps/mediawiki/predef/index.php?title=Compilers#HP_aC.2B.2B
 predef] is {{{ __HP_aCC }}} and the OS macro is {{{ __hpux }}}

 Testing for this combination should be equivalent for testing for HP-UX
 phtread implementation presence

 Do note that I am currently compiling in gcc emulation mode so {{{
 __GNUC__ }}} is also defined. I know there's gcc for hp.ux but I'm unsure
 if it uses hp-ux pthread implementation or something else.

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