Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.58.0 rc3 is now available
From: Deniz Bahadir (dbahadir_at_[hidden])
Date: 2015-04-09 11:15:44


Am 09.04.2015 um 16:39 schrieb Marshall Clow:
> On Thu, Apr 9, 2015 at 4:11 AM, Deniz Bahadir <dbahadir_at_[hidden]
> <mailto:dbahadir_at_[hidden]>> wrote:
>
> Building Boost 1.58.0-rc3 succeeded only partially.
>
>
> Success:
>
> Debian 7 with GCC 4.8.2 (in C++03 mode) with build-command:
> b2 -j4 --build-dir=/opt/build/test --build-type=complete
> --layout=versioned address-model=64 architecture=x86 install
> --prefix="/opt/install/test" toolset=gcc-4.8 cflags="-fPIC"
> cxxflags="-fPIC" dll-path="/opt/test/lib/x86___64-linux-gnu"
>
>
> Failure:
>
> Debian 7 with GCC 4.8.2 (in C++11 mode) with build-command:
> b2 -j4 --build-dir=/opt/build/test --build-type=complete
> --layout=versioned address-model=64 architecture=x86 install
> --prefix="/opt/install/test" toolset=gcc-4.8 cflags="-fPIC"
> cxxflags="-fPIC -std=c++11" dll-path="/opt/test/lib/x86___64-linux-gnu"
>
>
> The main-error seems to come from "Boost.Context" and the use of
> unknown "std::index_sequence":
>
>
> std::index_sequence is a C++14 feature.
>

The question is then: Why is it used when I only enable C++11 features?

I suppose, GCC 4.8(.2) is too old to support std::index_sequence. (Or is
it the bundled stdlibc++?)
When using C++14 mode ("cxxflags=-fPIC -std=c++1y") the same errors occur.

Deniz


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