
Gennadiy Rozental wrote:
I also checked that the version above for Boost 1.33 works well with Boost 1.34 (tested with VC++ 8.0). So, can I safely use older approach:
#define BOOST_AUTO_TEST_MAIN #include
and assume that it will work well with future releases of Boost?
No - old names are depricated. You still could use it. But it's going to be removed in some future release. Boost 1.34 should be out pretty soon. You may want to wait till it's out and rely purely on new names.
Thanks for your explanation. Unfortunately, using new names is a problem because users of library I'm working on will mostly use stable Boost release installed from packages available for Linux distributions they use e.g. Debian. And those distributions mostly provide 1.33 version. Second, those ditributions will not be updated very soon but I'd not like to force my users to install latest Boost themself. I have to think about it :-) Best regards -- Mateusz Łoskot http://mateusz.loskot.net