AMDG On 06/28/2018 12:39 PM, Stephan T. Lavavej via Boost wrote:
Hi Boost.Chrono devs,
I have some additional information about https://svn.boost.org/trac10/ticket/13557 . (Also tracked at https://github.com/StephanTLavavej/mingw-distro/issues/58 , it affects both MSVC and MinGW.)
As Joshua Morrison discovered, copying libs/chrono/stopwatches/include/boost/chrono/. to boost/chrono before building is a workaround that prevents the junction and hardlink from being created.
Also, I mentioned this on Twitter and René Rivera said: "Those links are supposed to appear only for the git checkout of @Boost_Libraries and are created on demand when headers are reference during the header scanning. Creating those for a release is a bug in the release process." (https://twitter.com/grafikrobot/status/1011077139511369728 )
I agree with René. The files are supposed to be moved as part of building the release. The script that creates the combined boost/ directory is here: https://github.com/boostorg/release-tools/blob/develop/MakeBoostDistro.py
I'm still not sure what the correct fix is, but it seems that boost/chrono should contain the stopwatches files, if they're being referenced by other headers.
In Christ, Steven Watanabe