Subject: [Boost-bugs] [Boost C++ Libraries] #10386: MSVC link error in asymmetric_coroutine.hpp: symbol already defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-20 18:30:02
#10386: MSVC link error in asymmetric_coroutine.hpp: symbol already defined
-------------------------------------------------+-------------------------
Reporter: Christian Maaser | Owner: olli
<runningwithscythes@â¦> | Status: new
Type: Bugs | Component: coroutine
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.56.0 |
Keywords: |
-------------------------------------------------+-------------------------
Using MSVC2013 I get a link error when using coroutines through ASIO from
multiple compilation units, saying that the constructor "push_coroutine<
void >::push_coroutine( coroutine_fn fn, attributes const& attrs)" is
already defined in another .obj file.
In fact this method (among several others in the same file) are
implementations of fully specialized template methods, which are no longer
templates, and thus either need to be defined as inline, or moved into a
.cpp file.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10386> 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:16 UTC