[Boost-bugs] [Boost C++ Libraries] #11223: Context does not properly check support for std::integer_sequence

Subject: [Boost-bugs] [Boost C++ Libraries] #11223: Context does not properly check support for std::integer_sequence
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-22 01:22:56


#11223: Context does not properly check support for std::integer_sequence
------------------------------+---------------------
 Reporter: Emile Cormier | Owner: olli
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: context
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 When I build Boost 1.58 with C++11 support on GCC 4.8.2, it fails to build
 the context library. This is due to the library attempting to use
 std::index_sequence:

 {{{
 In file included from libs/context/src/execution_context.cpp:11:0:
 ./boost/context/execution_context.hpp:202:52: error: ‘std::index_sequence’
 has not been declared
 }}}

 std::index_sequence is a feature only available in C++14.

 A workaround would be:
 1. First build a C++11-enabled Boost using the --without-context option
 2. Build the missing context library using --with-context, making sure
 that -std=c++11 is NOT added to the cxxflags

 My platform is GCC 4.8.2, x86_64-linux-gnu, Linux Mint 17 (based on Ubuntu
 14.04)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11223>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC