From: Thomas Markwalder Date: Tue, 18 Jul 2017 15:18:09 +0000 (-0400) Subject: [5215] Addressed review comments X-Git-Tag: trac5124a_base~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63780c75122c5591ba1e2147906f23579bf23c1;p=thirdparty%2Fkea.git [5215] Addressed review comments Added additional text to asio_wrapper.h --- diff --git a/src/lib/asiolink/asio_wrapper.h b/src/lib/asiolink/asio_wrapper.h index 5d2f5dd4ee..6786c13819 100644 --- a/src/lib/asiolink/asio_wrapper.h +++ b/src/lib/asiolink/asio_wrapper.h @@ -6,11 +6,19 @@ #ifndef ASIO_WRAPPER_H #define ASIO_WRAPPER_H 1 -// !!! IMPORTANT !!!! +// !!! IMPORTANT THIS IS A HACK FOR BOOST HEADERS ONLY BUILDING !!!! +// +// As of #5215 (Kea 1.3) The default build configuration is to link with +// Boost's system library (boost_system) rather than build with Boost's +// headers only. Linking with the boost_system elminiates the issue as +// detailed below. This file exists solely for the purpose of allowing +// people to attempt to build headers only. ISC DOES NOT RECOMMEND +// building Kea with Boost headers only. +// // This file must be included anywhere one would normally have included // boost/asio.hpp. Until the issue described below is resolved in some -// other fashion asio.hpp should not be included other than through -// this file. +// other fashion, (or we abandon support for headers only building) +// asio.hpp MUST NOT be included other than through this file. // // The optimizer as of gcc 5.2.0, may not reliably ensure a single value // returned by boost::system::system_category() within a translation unit