Boost C++ Libraries: Ticket #11223: Context does not properly check support for std::integer_sequence https://svn.boost.org/trac10/ticket/11223 <p> 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: </p> <pre class="wiki">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 </pre><p> std::index_sequence is a feature only available in C++14. </p> <p> A workaround would be: </p> <ol><li>First build a C++11-enabled Boost using the --without-context option </li><li>Build the missing context library using --with-context, making sure that -std=c++11 is NOT added to the cxxflags </li></ol><p> My platform is GCC 4.8.2, x86_64-linux-gnu, Linux Mint 17 (based on Ubuntu 14.04) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11223 Trac 1.4.3 anonymous Wed, 22 Apr 2015 01:25:54 GMT attachment set https://svn.boost.org/trac10/ticket/11223 https://svn.boost.org/trac10/ticket/11223 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">log.txt</span> </li> </ul> Ticket olli Wed, 22 Apr 2015 06:40:23 GMT <link>https://svn.boost.org/trac10/ticket/11223#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11223#comment:1</guid> <description> <p> Class execution_context can only be compiled with C++-14 - the code uses test macros for several C++11/C++14 features in order to enable building class execution_context. Unfortunately, boost is missing a test macro for 'std::index_sequence'. I already requested for supporting the required macro. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>olli</dc:creator> <pubDate>Wed, 22 Apr 2015 06:46:26 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/11223#comment:2 https://svn.boost.org/trac10/ticket/11223#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">olli</span> to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">context</span> → <span class="trac-field-new">config</span> </li> </ul> <p> see - <a class="ext-link" href="http://lists.boost.org/Archives/boost/2015/02/220151.php"><span class="icon">​</span>http://lists.boost.org/Archives/boost/2015/02/220151.php</a> </p> Ticket olli Wed, 22 Apr 2015 06:47:28 GMT <link>https://svn.boost.org/trac10/ticket/11223#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11223#comment:3</guid> <description> <p> please re-assign if macro is available </p> </description> <category>Ticket</category> </item> <item> <dc:creator>olli</dc:creator> <pubDate>Wed, 22 Apr 2015 12:21:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11223#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11223#comment:4</guid> <description> <p> I've added a pull-request for boost.config (<a class="ext-link" href="https://github.com/boostorg/config/pull/57"><span class="icon">​</span>https://github.com/boostorg/config/pull/57</a>) - which solves the problem for GCC and CLANG. Unfortunately I'm not familiar with the other compiler (maybe defining BOOST_NO_CXX14_INTEGER_SEQUENCE per default at first). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>olli</dc:creator> <pubDate>Thu, 23 Apr 2015 07:02:59 GMT</pubDate> <title>component changed https://svn.boost.org/trac10/ticket/11223#comment:5 https://svn.boost.org/trac10/ticket/11223#comment:5 <ul> <li><strong>component</strong> <span class="trac-field-old">config</span> → <span class="trac-field-new">context</span> </li> </ul> Ticket olli Thu, 23 Apr 2015 07:03:19 GMT owner changed https://svn.boost.org/trac10/ticket/11223#comment:6 https://svn.boost.org/trac10/ticket/11223#comment:6 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Beman Dawes</span> to <span class="trac-author">olli</span> </li> </ul> Ticket olli Wed, 13 May 2015 07:07:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11223#comment:7 https://svn.boost.org/trac10/ticket/11223#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> test of </p> <pre class="wiki">defined(__cpp_lib_integer_sequence) &amp;&amp; (__cpp_lib_integer_sequence &lt; 201304) </pre> Ticket Emile Cormier Sat, 16 May 2015 17:05:02 GMT <link>https://svn.boost.org/trac10/ticket/11223#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11223#comment:8</guid> <description> <p> Has this fix been pushed to <a class="missing wiki">GitHub</a> yet? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Emile Cormier</dc:creator> <pubDate>Sat, 16 May 2015 17:31:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11223#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11223#comment:9</guid> <description> <p> Nevermind, I found your latest Boost.Config PR: <a class="ext-link" href="https://github.com/boostorg/config/pull/58"><span class="icon">​</span>https://github.com/boostorg/config/pull/58</a> </p> <p> Thank you for fixing this! :-) </p> <p> While I wait for the next Boost release, can I simply add -DBOOST_NO_CXX14_INTEGER_SEQUENCE while building Boost to avoid the compiler errors I originally reported? </p> </description> <category>Ticket</category> </item> </channel> </rss>