Boost logo

Boost Users :

Subject: [Boost-users] [thread] clock_gettime warning on OS X
From: James Walker (jamesw_at_[hidden])
Date: 2017-12-13 02:02:46


I'm getting a warning in the file boost/thread/pthread/timespec.hpp
pointing out that clock_gettime is only available on macOS 10.12 and
later. This code is being compiled on macOS 10.13, but should be
compatible with macOS versions back to 10.7. How can I fix it? Maybe
change the setting of BOOST_THREAD_USEFIXES_TIMESPEC, which I don't see
any documentation for?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net