22 Oct
2017
22 Oct
'17
11:19 p.m.
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