Boost logo

Boost :

Subject: Re: [boost] [system] Header-only Boost.System by default ?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-10-15 21:55:35


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
BOOST_SYSTEM_NO_DEPRECATED` into `#ifdef BOOST_SYSTEM_ENABLE_DEPRECATED`?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk