[Boost-bugs] [Boost C++ Libraries] #6113: duplicate symbol when BOOST_CHRONO_HEADER_ONLY is defined

Subject: [Boost-bugs] [Boost C++ Libraries] #6113: duplicate symbol when BOOST_CHRONO_HEADER_ONLY is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-10 17:32:10


#6113: duplicate symbol when BOOST_CHRONO_HEADER_ONLY is defined
------------------------------+---------------------------------------------
 Reporter: viboes | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 A lot of symbols that should be static to the implementation file when
 BOOST_CHRONO_HEADER_ONLY is not defined are now duplicated:

 ld: duplicate symbol boost::chrono::chrono_detail::init_steady_clock(int&)
 in ../../../bin.v2/libs/date/build/darwin-4.2.1/debug/days_date.o and
 ../../../bin.v2/libs/date/build/darwin-4.2.1/debug/rel_date.o

 The workaround is of course to let undefined BOOST_CHRONO_HEADER_ONLY

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