Compile [2024-11-12 07:27:35 UTC]: fail
"clang++-17" -fvisibility-inlines-hidden -Wno-c99-extensions -std=gnu++11 -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -m64 --target=x86_64-pc-linux -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_TEST_DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_UBLAS_NO_EXCEPTIONS -I".." -c -o "/var/boost/run/results/boost/bin.v2/libs/numeric/ublas/test/tensor/test_tensor.test/clang-linux-17~gnu11/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/test_tensor_matrix_vector.o" "../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp"
In file included from ../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp:15:
In file included from ../boost/numeric/ublas/tensor.hpp:18:
In file included from ../boost/numeric/ublas/tensor/functions.hpp:23:
../boost/numeric/ublas/tensor/multiplication.hpp:652:17: error: no template named 'remove_pointer_t' in namespace 'std'; did you mean 'remove_pointer'?
auto v = std::remove_pointer_t<std::remove_cv_t<PointerOut>>{};
~~~~~^~~~~~~~~~~~~~~~
remove_pointer
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/type_traits:2033:12: note: 'remove_pointer' declared here
struct remove_pointer
^
In file included from ../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp:15:
In file included from ../boost/numeric/ublas/tensor.hpp:18:
In file included from ../boost/numeric/ublas/tensor/functions.hpp:23:
../boost/numeric/ublas/tensor/multiplication.hpp:652:51: error: 'PointerOut' does not refer to a value
auto v = std::remove_pointer_t<std::remove_cv_t<PointerOut>>{};
^
../boost/numeric/ublas/tensor/multiplication.hpp:611:17: note: declared here
template <class PointerOut, class PointerIn1, class PointerIn2, class SizeType>
^
../boost/numeric/ublas/tensor/multiplication.hpp:652:39: error: no member named 'remove_cv_t' in namespace 'std'; did you mean 'remove_if'?
auto v = std::remove_pointer_t<std::remove_cv_t<PointerOut>>{};
~~~~~^~~~~~~~~~~
remove_if
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:884:5: note: 'remove_if' declared here
remove_if(_ForwardIterator __first, _ForwardIterator __last,
^
In file included from ../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp:15:
In file included from ../boost/numeric/ublas/tensor.hpp:18:
In file included from ../boost/numeric/ublas/tensor/functions.hpp:23:
../boost/numeric/ublas/tensor/multiplication.hpp:652:62: error: expected '(' for function-style cast or type construction
auto v = std::remove_pointer_t<std::remove_cv_t<PointerOut>>{};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
../boost/numeric/ublas/tensor/multiplication.hpp:652:62: error: initializer list cannot be used on the right hand side of operator '>'
auto v = std::remove_pointer_t<std::remove_cv_t<PointerOut>>{};
^~~
../boost/numeric/ublas/tensor/multiplication.hpp:854:26: error: no template named 'decay_t' in namespace 'std'
using value_type = std::decay_t<decltype(*c)>;
~~~~~^
../boost/numeric/ublas/tensor/multiplication.hpp:861:55: error: use of undeclared identifier 'value_type'; did you mean 'std::_Bit_const_iterator::value_type'?
*c = detail::recursive::inner(q-1, na, a,wa, b,wb, value_type(0) );
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator_base_types.h:132:26: note: 'std::_Bit_const_iterator::value_type' declared here
typedef _Tp value_type;
^
In file included from ../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp:15:
In file included from ../boost/numeric/ublas/tensor.hpp:18:
In file included from ../boost/numeric/ublas/tensor/functions.hpp:23:
../boost/numeric/ublas/tensor/multiplication.hpp:884:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto inner(const SizeType p, SizeType const*const n,
^
In file included from ../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp:15:
In file included from ../boost/numeric/ublas/tensor.hpp:18:
In file included from ../boost/numeric/ublas/tensor/functions.hpp:25:
../boost/numeric/ublas/tensor/expression.hpp:61:2: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto const& operator()() const { return *static_cast<const expression_type*> (this); }
^
../boost/numeric/ublas/tensor/expression.hpp:91:11: warning: 'decltype(auto)' type specifier is a C++14 extension [-Wc++14-extensions]
decltype(auto) operator()(size_type i) const { return op(el(i), er(i)); }
^
../boost/numeric/ublas/tensor/expression.hpp:91:2: error: deduced return types are a C++14 extension
decltype(auto) operator()(size_type i) const { return op(el(i), er(i)); }
^
../boost/numeric/ublas/tensor/expression.hpp:100:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_binary_tensor_expression( tensor_expression<T,EL> const& el, tensor_expression<T,ER> const& er, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:106:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_binary_tensor_expression( matrix_expression<EL> const& el, tensor_expression<T,ER> const& er, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:112:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_binary_tensor_expression( tensor_expression<T,EL> const& el, matrix_expression<ER> const& er, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:118:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_binary_tensor_expression( vector_expression<EL> const& el, tensor_expression<T,ER> const& er, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:124:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_binary_tensor_expression( tensor_expression<T,EL> const& el, vector_expression<ER> const& er, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:151:11: warning: 'decltype(auto)' type specifier is a C++14 extension [-Wc++14-extensions]
decltype(auto) operator()(size_type i) const { return op(e(i)); }
^
../boost/numeric/ublas/tensor/expression.hpp:151:2: error: deduced return types are a C++14 extension
decltype(auto) operator()(size_type i) const { return op(e(i)); }
^
../boost/numeric/ublas/tensor/expression.hpp:159:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_unary_tensor_expression( tensor_expression<T,E> const& e, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:165:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_unary_tensor_expression( matrix_expression<E> const& e, OP op)
^
../boost/numeric/ublas/tensor/expression.hpp:171:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
auto make_unary_tensor_expression( vector_expression<E> const& e, OP op)
^
In file included from ../libs/numeric/ublas/test/tensor/test_tensor_matrix_vector.cpp:15:
In file included from ../boost/numeric/ublas/tensor.hpp:18:
In file included from ../boost/numeric/ublas/tensor/functions.hpp:26:
../boost/numeric/ublas/tensor/expression_evaluation.hpp:19:16: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]
namespace boost::numeric::ublas {
^~~~~~~~~~~~~~~~
{ namespace numeric { namespace ublas
../boost/numeric/ublas/tensor/expression_evaluation.hpp:29:16: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]
namespace boost::numeric::ublas::detail {
^~~~~~~~~~~~~~~~~~~~~~~~
{ namespace numeric { namespace ublas { namespace detail
../boost/numeric/ublas/tensor/expression_evaluation.hpp:42:16: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]
namespace boost::numeric::ublas::detail {
^~~~~~~~~~~~~~~~~~~~~~~~
{ namespace numeric { namespace ublas { namespace detail
../boost/numeric/ublas/tensor/expression_evaluation.hpp:68:16: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions]
namespace boost::numeric::ublas::detail {
^~~~~~~~~~~~~~~~~~~~~~~~
{ namespace numeric { namespace ublas { namespace detail
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.