Re: [Boost-bugs] [Boost C++ Libraries] #3501: Reusing concepts from different compile units yields multiple defined symbols

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3501: Reusing concepts from different compile units yields multiple defined symbols
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-09 18:00:56


#3501: Reusing concepts from different compile units yields multiple defined
symbols
-----------------------------------------+----------------------------------
  Reporter: christoph.heindl@… | Owner: guwi17
      Type: Bugs | Status: reopened
 Milestone: Boost 1.41.0 | Component: uBLAS
   Version: Boost 1.39.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+----------------------------------

Comment(by anonymous):

 In config.hpp you can find the lines
 {{{
 #ifdef NDEBUG

 #ifndef BOOST_UBLAS_INLINE
 #define BOOST_UBLAS_INLINE inline
 #endif
 ...
 }}}
 This means that inline is disabled in debug builds in order to be able to
 follow the execution path. Explicitely defining
 {{{
 #define BOOST_UBLAS_INLINE inline
 }}}
 before including any uBLAS header should solve the problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3501#comment:6>
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:01 UTC