Boost C++ Libraries: Ticket #12434: Compiling 1_62_0_b1 gives errors in Fiber about requiring C++1 https://svn.boost.org/trac10/ticket/12434 <p> I tried to compile Boost 1_62_0_b1 but got lots of errors in the new Fiber library like this: </p> <pre class="wiki">gcc.compile.c++ bin.v2/libs/fiber/build/gcc-5.2.1/release/link-static/threading-multi/algo/algorithm.o In file included from /usr/include/c++/5/chrono:35:0, from ./boost/fiber/algo/algorithm.hpp:10, from libs/fiber/src/algo/algorithm.cpp:7: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental , and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ In file included from ./boost/fiber/algo/algorithm.hpp:15:0, from libs/fiber/src/algo/algorithm.cpp:7: ./boost/fiber/properties.hpp:40:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] algo::algorithm * algo_{ nullptr }; ^ ./boost/fiber/properties.hpp:45:5: warning: identifier ‘noexcept’ is a keyword in C++11 [-Wc++0x-compat] void notify() noexcept; ^ In file included from ./boost/context/detail/apply.hpp:19:0, from ./boost/fiber/context.hpp:20, from libs/fiber/src/algo/algorithm.cpp:9: ./boost/context/detail/index_sequence.hpp:38:5: warning: identifier ‘constexpr’ is a keyword in C++11 [-Wc++0x-compat] static constexpr std::size_t size() { ^ In file included from ./boost/fiber/context.hpp:20:0, from libs/fiber/src/algo/algorithm.cpp:9: ./boost/context/detail/apply.hpp:32:5: warning: identifier ‘decltype’ is a keyword in C++11 [-Wc++0x-compat] -&gt; decltype( invoke( std::forward&lt; Fn &gt;( fn), std::get&lt; I &gt;( std::forward&lt; Tpl &gt;( tpl) ) ... ) ) ^ </pre><p> I was using commands like: </p> <pre class="wiki">./bootstrap.sh --prefix=/my/dest/dir ./b2 --layout=tagged variant=release </pre><p> ...and I saw these problems under both GCC 5.2.1 and Clang 3.6.2 (on Ubuntu 15.10, Linux 4.2.0-42-generic, x86_64). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12434 Trac 1.4.3 olli Thu, 08 Sep 2016 08:44:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12434#comment:1 https://svn.boost.org/trac10/ticket/12434#comment:1 <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> CXX11-Fetaure checks applied to fiber/build/Jamfile.v2 - should prevent building boost.fiber if feature check fails </p> Ticket Tony Lewis <tonyelewis@…> Tue, 13 Sep 2016 20:59:06 GMT <link>https://svn.boost.org/trac10/ticket/12434#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12434#comment:2</guid> <description> <p> Thanks for this. </p> <p> Is there some way that a new Boost beta <code>.tar.gz</code> can be packaged so that we can confirm that this problem definitely won't slip into the full 1.62.0 release? </p> </description> <category>Ticket</category> </item> </channel> </rss>