Ticket #4560 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

bjam install does not install boost/asio/impl/src.cpp as a header

Reported by: janm@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.44.0 Severity: Problem
Keywords: asio src.cpp installation Cc:


The 1.44 release page says about asio:

Added optional separate compilation. To enable, add #include <boost/asio/impl/src.cpp> to one source file in a program, then build the program with BOOST_ASIO_SEPARATE_COMPILATION defined in the project/compiler settings. Alternatively, BOOST_ASIO_DYN_LINK may be defined to build a separately-compiled Asio as part of a shared library.

The file is present in the right place when you untar the source distribution, but when you build and install using bjam, the boost/asio/impl/src.cpp is not installed in the right place.

Tested on Mac OS X 10.6.3 with gcc


Change History

comment:1 Changed 7 years ago by steven_watanabe

The glob in Jamroot would need to include .cpp files. Actually it would better match current Boost conventions if the file were src.hpp or src.ipp. It would be even better to build a compiled library as part of the normal build.

comment:2 Changed 7 years ago by chris_kohlhoff

  • Status changed from new to closed
  • Resolution set to fixed

(In [66175]) Merge from trunk: Rename separate compilation header. Fixes #4560.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.