1 | rainer@rainer10:~/work/cpp_test$ schroot -c steamrt_scout_amd64 -- clang-3.6 -std=gnu++14 -c test.cpp -I boost_1_68_0/
|
---|
2 | In file included from test.cpp:1:
|
---|
3 | boost_1_68_0/boost/system/error_code.hpp:226:41: error: constexpr constructor
|
---|
4 | never produces a constant expression [-Winvalid-constexpr]
|
---|
5 | BOOST_SYSTEM_CONSTEXPR explicit std_category( boost::system::err...
|
---|
6 | ^
|
---|
7 | boost_1_68_0/boost/system/error_code.hpp:226:41: note: non-constexpr constructor
|
---|
8 | 'error_category' cannot be used in a constant expression
|
---|
9 | /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/system_error:69:5: note:
|
---|
10 | declared here
|
---|
11 | error_category() noexcept;
|
---|
12 | ^
|
---|
13 | 1 error generated.
|
---|
14 |
|
---|