Boost logo

Boost :

Subject: Re: [boost] [system] Header-only Boost.System by default ?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2017-10-22 23:19:26


Le 16/10/2017 à 00:33, Peter Dimov via Boost a écrit :
> Marc Glisse wrote:
>
>> Otherwise:
>>
>> #ifndef BOOST_SYSTEM_ENABLE_DEPRECATED
>> #define BOOST_SYSTEM_NO_DEPRECATED
>> #endif
>
> No, that's not right. Headers included before this one will not see
> the macro, those after will. Bad things might happen. :-)
>
>> There is a file in chrono that uses BOOST_SYSTEM_NO_DEPRECATED...
>
> There is, although it doesn't need to. The non-deprecated path works
> in either case.
Chrono is using it on the build system and I guess that it shouldn't.

I'll remove it and see what happens.

Vicente


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