Boost logo

Boost :

Subject: Re: [boost] [system] Header-only Boost.System by default ?
From: Marc Glisse (marc.glisse_at_[hidden])
Date: 2017-10-15 22:21:38

On Mon, 16 Oct 2017, Peter Dimov via Boost wrote:

> Marc Glisse wrote:
>> It would be great to avoid talking about the 2 macros at the same time,
>> since they do not do the same thing. BOOST_SYSTEM_NO_DEPRECATED mostly
>> removes some old synonyms, which otherwise cause
>> #include <boost/system/error_code.hpp>
>> int main(){}
>> to require linking with boost_system. This happens to a lot of users, where
>> the file is included indirectly through other boost packages.
> Perhaps someone could prepare a pull request that turns `#ifndef

Well, Niall seemed to imply that this would be wrong, so it needs to be
clarified first. Otherwise:


+ the doc change. There is a file in chrono that uses
BOOST_SYSTEM_NO_DEPRECATED, which restricts the ways to do it if we want
to avoid a second pull request in a different package.

Marc Glisse

Boost list run by bdawes at, gregod at, cpdaniel at, john at