Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11862: timer.hpp, commented line 14 (// #include <boost/chrono/chrono.hpp>) causes link error in (at least) MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-27 05:35:45
#11862: timer.hpp, commented line 14 (// #include <boost/chrono/chrono.hpp>) causes
link error in (at least) MSVC
---------------------------------+-------------------------------------
Reporter: dmitry.kolomiets@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: Boost 1.60.0 | Component: timer
Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords: Timer unresolved symbol
---------------------------------+-------------------------------------
Comment (by aescande):
I confirm the problem: because this line is commented, the auto-link does
not include the chrono library.
In my case, the use of auto_cpu_timer gives an unresolved external symbol
for boost::chrono::time_point
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11862#comment:1> 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-02-16 18:50:20 UTC