Faced a problem. It took the project boost.log . The thing seems to be good, the documentation is also good. My project (large, with a bunch of modules, etc.) uses boost_1.40 , there is no log in it yet.

I decided to try to upgrade, anyway, sooner or later it will have to be done, and keeping libraries up to date is useful. But here I was straight disappointed. At first warnings of a type

Boost.Signals is not deprecated anymore ...

then it turned out that the boost::path also completely changed (the directory_string and file_string methods are file_string , for example). To rule and deal with each such discrepancy - I will not have enough life.

Advise, maybe I'm doing something wrong? Is there no boost for compatibility with code written for older versions?

Or, maybe, I should somehow think of a way to screw the log separately, despite the fact that the whole boost is still used and installed during assembly. Work in Debian.

  • there is backward compatibility, but you need to compile with certain defines, and use the namespaces with a particular version of the library. - Abyx
  • Still, there is a difference between 1.40 and 1.58 - 5.5 years, during this time there the EU has clearly replaced / a lot of things, for the sake of it a boost was started, as opposed to inertness with ++ / stl. Imh should not be expected from this hodgepodge or such support. - kroder
  • @Abyx, so it is, only this miracle will no longer work (# if defined (BOOST_FILESYSTEM_DEPRECATED) // // const std :: string {return string ();} ...} ` - chuchuchu

0