Subject: Re: [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:45:02
#6113: duplicate symbol when BOOST_CHRONO_HEADER_ONLY is defined
-------------------------------+--------------------------------------------
Reporter: viboes | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: chrono
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Changes (by viboes):
* status: new => assigned
Comment:
The solution is to inline the function that should be static.
{{{
#ifdef BOOST_CHRONO_HEADER_ONLY
#define BOOST_CHRONO_STATIC inline
#endif
}}}
Fixed in trunk. Committed revision 75436.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6113#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:07 UTC