[Boost-bugs] [Boost C++ Libraries] #13241: thread/pthread/timespec.hpp compilation failure on OSX El Capitan (1.65.1)

Subject: [Boost-bugs] [Boost C++ Libraries] #13241: thread/pthread/timespec.hpp compilation failure on OSX El Capitan (1.65.1)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-02 21:42:36


#13241: thread/pthread/timespec.hpp compilation failure on OSX El Capitan (1.65.1)
-------------------------------------------------+-------------------------
 Reporter: Kris Thielemans | Owner: Anthony
  <kris.f.thielemans@…> | Williams
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.65.0 | Severity: Showstopper
 Keywords: osx |
-------------------------------------------------+-------------------------
 We are getting compilation failures on Travis with osx, default compilers,
 using brew to install boost. full log is here https://api.travis-
 ci.org/jobs/282405991/log.txt?deansi=true but the error is
 {{{
 In file included from /Users/travis/build/CCPPETMR/SIRF-
 SuperBuild/Gadgetron/toolboxes/python/python_toolbox.cpp:11:
 In file included from /usr/local/include/boost/thread/mutex.hpp:16:
 In file included from
 /usr/local/include/boost/thread/pthread/mutex.hpp:22:
 /usr/local/include/boost/thread/pthread/timespec.hpp:79:12: error: no
 member named 'clock_gettime' in the global namespace; did you mean
 'ACE_OS::clock_gettime'?
       if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) )
            ^~
 /usr/local/include/ace/OS_NS_time.inl:58:9: note: 'ACE_OS::clock_gettime'
 declared here
 ACE_OS::clock_gettime (clockid_t clockid, struct timespec *ts)
 }}}

 Everything was fine with boost 1.63.0. timespec seems to have been changed
 in 1.64.0. Possibly the preprocessor logic in the config is wrong?

 sorry, I don't have a Mac so cannot test this fully.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13241>
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-10-02 21:48:19 UTC