Boost logo

Boost Users :

Subject: Re: [Boost-users] [release] Boost 1.62.0 Beta 1
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2016-09-04 11:24:08


On Sun, Sep 4, 2016 at 4:22 AM, Ion Gaztañaga <igaztanaga_at_[hidden]> wrote:

> El 04/09/2016 a las 10:02, Oliver Kowalke escribió:
>
>> 2016-09-03 22:11 GMT+02:00 Tom Kent <lists_at_[hidden]
>> <mailto:lists_at_[hidden]>>:
>>
>> They seem to all be around the fiber library, for example:
>>
>> compile-c-c++ bin.v2\libs\fiber\build\msvc-8
>> .0\release\address-model-64\link-static\threading-multi\algo
>> \algorithm.obj
>> algorithm.cpp
>> .\boost/fiber/algo/algorithm.hpp(10) : fatal error C1083: Cannot
>> open include file: 'chrono': No such file or directory
>>
>>
>> algortihm.hpp(10) == #include <chrono>
>>
>> header chrono is part of C++11 and should be found by MSVC
>> maybe a broken MSVC installation?
>>
>
> MSVC-8.0 (Visual 2005) does not support C++11. Header <chrono> is
> introduced by Visual 2012, aka MSVC-11.0.
>

At minimum the Fiber build file should avoid building on platforms it
doesn't support. It does that for the tests with the following:

    [ requires cxx11_auto_declarations
               cxx11_constexpr
               cxx11_defaulted_functions
               cxx11_final
               cxx11_hdr_tuple
               cxx11_lambdas
               cxx11_noexcept
               cxx11_nullptr
               cxx11_rvalue_references
               cxx11_template_aliases
               cxx11_variadic_templates ]

But doesn't do the same for the libs/fiber/build/jamfile.v2. Oliver you
should add that requires to the "boost_fiber" lib target.

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net