[Boost-bugs] [Boost C++ Libraries] #7185: Header only chrono requires library

Subject: [Boost-bugs] [Boost C++ Libraries] #7185: Header only chrono requires library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-30 22:00:34


#7185: Header only chrono requires library
----------------------------------+-----------------------------------------
 Reporter: DanSearles@… | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
  Version: Boost 1.50.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 Documentation for including chrono.hpp:
 http://www.boost.org/doc/libs/1_50_0/doc/html/chrono/users_guide.html

 implies that chrono can be configured as a 'header only library',
 by defining BOOST_CHRONO_HEADER_ONLY, but on VC9, I get a link error:
 cannot open file 'libboost_system-vc90-mt-gd-1_50.lib

 Adding a define for BOOST_ALL_NO_LIB results in two undefined objects:
 class boost::system::error_category const & __cdecl
 boost::system::generic_category(void)
 class boost::system::error_category const & __cdecl
 boost::system::system_category(void)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7185>
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:10 UTC