|
Boost : |
Subject: Re: [boost] [chrono] Compatibility issues with 1.44
From: Lars Viklund (zao_at_[hidden])
Date: 2010-08-09 02:55:09
On Sat, Aug 07, 2010 at 04:09:07AM -0700, Vicente Botet Escriba wrote:
> I have made it compatible with older versions using the version to get rid
> of the Boost.System interface break.
>
> #if (BOOST_VERSION / 100 % 1000) < 44
> system::system_error( errno, system::system_category,
> "chrono::system_clock" ));
> #else
> system::system_error( errno, system::system_category(),
> "chrono::system_clock" ));
> #endif
What is the policy of Boost version numbering, will there ever be a
Boost 2.xx release?
If so, your test would fail as you do not test the major version.
-- Lars Viklund | zao_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk