|
Boost : |
Subject: Re: [boost] [compute] Remove boost::chrono lib dependencie
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2016-11-30 17:24:36
On Wed, Nov 30, 2016 at 1:01 AM, Viktor Sehr <viktor.sehr_at_[hidden]> wrote:
> Hi,
>
> Would it be possible to remove the dependency for boost/chrono is
> boost/compute/detail/duration.hpp.
>
> As it already supports std::chrono via a macro, couldn't the inclusion of
> boost/chrono.hpp be excluded?
> As it is now, boost compute is dependent on having
> libboost_chrono-vc140-mt-gd-1_62.lib built.
>
>
std::chrono is only available when you're building against a C++11 standard
library.
If you're building for C++03, there's no std::chrono.
-- Marshall
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk