Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10761: Multiple definition error during linking
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-11 20:27:16
#10761: Multiple definition error during linking
---------------------------------+---------------------------------
Reporter: variganji.suresh@⦠| Owner: igaztanaga
Type: Support Requests | Status: closed
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.54.0 | Severity: Problem
Resolution: invalid | Keywords: Multiple definition
---------------------------------+---------------------------------
Changes (by igaztanaga):
* status: new => closed
* resolution: => invalid
Comment:
You are defining a global variable in a header file, that's always a
multiple definition error if the file is included twice. You must declare
it in a header but define it in a cpp files.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10761#comment:2> 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:18 UTC