
AMDG On 04/09/2011 09:10 AM, Dean Michael Berris wrote:
On Sat, Apr 9, 2011 at 6:04 PM, Steven Watanabe<watanabesj@gmail.com> wrote:
On 04/09/2011 02:25 AM, Dean Michael Berris wrote:
What's New in 0.9 (taken from the documentation): - IMPORTANT BREAKING CHANGE: By default all compile-time heavy parser implementations are now compiled to external static libraries. In order to use cpp-netlib in header-only mode, users must define the preprocessor macro BOOST_NETWORK_NO_LIB before including any cpp-netlib header. This breaks code that relied on the version 0.8.x line where the library is strictly header-only.
This is inconsistent with the existing meaning of BOOST_XXX_NO_LIB, which is used to disable auto-linking.
Oh, okay. Thanks for pointing that out Steven. So what is the recommended macro for disabling the requirement for external linking?
I don't think there's a convention. The only library which is optionally header only is Boost.Test, and it has a separate set of headers. In Christ, Steven Watanabe