Modify

Opened 7 years ago

Closed 7 years ago

#4560 closed Bugs (fixed)

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:

Description

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

Attachments (0)

Change History (2)

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

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain chris_kohlhoff.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.