Subject: [Boost-bugs] [Boost C++ Libraries] #12434: Compiling 1_62_0_b1 gives errors in Fiber about requiring C++1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-03 18:12:25
#12434: Compiling 1_62_0_b1 gives errors in Fiber about requiring C++1
-------------------------------------+-------------------------------------
Reporter: Tony Lewis | Type: Bugs
<tonyelewis@â¦> | Milestone: To Be Determined
Status: new | Version: Boost 1.62.0
Component: Building Boost | Keywords:
Severity: Showstopper | fiber,c++11,bootstrap,b2,build
-------------------------------------+-------------------------------------
I tried to compile Boost 1_62_0_b1 but got lots of errors in the new Fiber
library like this:
{{{
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]
-> decltype( invoke( std::forward< Fn >( fn), std::get< I >(
std::forward< Tpl >( tpl) ) ... ) )
^
}}}
I was using commands like:
{{{
./bootstrap.sh --prefix=/my/dest/dir
./b2 --layout=tagged variant=release
}}}
...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).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12434> 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:20 UTC