Re: [Boost-bugs] [Boost C++ Libraries] #9472: Undocumented define causes header-only libraries to have link dependency on system (was: ASIO library has link dependency, even though it claims to be header only)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9472: Undocumented define causes header-only libraries to have link dependency on system (was: ASIO library has link dependency, even though it claims to be header only)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-05 21:29:27


#9472: Undocumented define causes header-only libraries to have link dependency on
system
-------------------------------+---------------------------
  Reporter: soda@… | Owner: matias
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Documentation
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: header-only
-------------------------------+---------------------------
Changes (by soda@…):

 * cc: soda@… (added)
 * owner: chris_kohlhoff => matias
 * component: asio => Documentation

Comment:

 Fixed by adding:

 #define BOOST_ERROR_CODE_HEADER_ONLY

 before including boost headers.

 Given that this undocumented feature appears to work properly now
 (outstanding bug seems to have been recently fixed), said feature should
 probably be documented.

 Not the problem of ASIO module owner. Changing to documentation.

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