Boost logo

Boost :

Subject: Re: [boost] linker error in 1.66 rc1 (regression from 1.65.1)
From: Daniel James (dnljms_at_[hidden])
Date: 2017-12-13 09:26:58

On 13 December 2017 at 08:11, Mark Incley via Boost
<boost_at_[hidden]> wrote:
> Try again with a different browser!
> Minimal test case
> #include "boost\chrono.hpp"
> #include "boost\timer\timer.hpp"
> int main()
> {
> auto now = boost::chrono::steady_clock::now();
> boost::timer::cpu_timer cput;
> return 0;
> }

Thanks for the report. I might be wrong, but the problem seems to be
that some of the functions in
<boost/chrono/detail/inlined/win/chrono.hpp> are not inline, but that
shouldn't matter unless you're using BOOST_CHRONO_HEADER_ONLY. As you
appear to be auto-linking the library, I wouldn't expect that to be
the case.

I'll see if I can recreate the error. Are you using the prebuilt
binaries, or building the libraries yourself? And what build command
are you using for this example?

Boost list run by bdawes at, gregod at, cpdaniel at, john at