[thread] clock_gettime warning on OS X

13 Dec
2017
13 Dec
'17
2:02 a.m.
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?
2628
Age (days ago)
2628
Last active (days ago)
0 comments
1 participants
participants (1)
-
James Walker