Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save floatdrop/37437071975bee51e02dfb9fca73608a to your computer and use it in GitHub Desktop.
Save floatdrop/37437071975bee51e02dfb9fca73608a to your computer and use it in GitHub Desktop.
cmake.output
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
/Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:61:46: error: no member named 'raw_data' in 'xt::xtensor_container<xt::uvector<double,
xsimd::aligned_allocator<double, 32> >, 1, xt::layout_type::row_major, xt::xtensor_expression_tag>'
benchmark::DoNotOptimize(res.raw_data());
~~~ ^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:14:
/Users/floatdrop/xtensor-benchmark/src/benchmark_2D.hpp:56:42: error: no member named 'raw_data' in 'xt::xtensor_container<xt::uvector<double,
xsimd::aligned_allocator<double, 32> >, 2, xt::layout_type::row_major, xt::xtensor_expression_tag>'
benchmark::DoNotOptimize(res.raw_data());
~~~ ^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:15:
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:53:33: error: no member named 'raw_data' in 'xt::xtensor_container<xt::uvector<double,
xsimd::aligned_allocator<double, 32> >, 2, xt::layout_type::row_major, xt::xtensor_expression_tag>'
benchmark::DoNotOptimize(res.raw_data());
~~~ ^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:67:19: error: no matching constructor for initialization of 'xt::slice_vector' (aka
'vector<mpark::variant<long, xt::xrange_adaptor<xt::placeholders::xtuph, long, long>, xt::xrange_adaptor<long, xt::placeholders::xtuph, long>,
xt::xrange_adaptor<long, long, xt::placeholders::xtuph>, xt::xrange_adaptor<long, xt::placeholders::xtuph, xt::placeholders::xtuph>,
xt::xrange_adaptor<xt::placeholders::xtuph, long, xt::placeholders::xtuph>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph, long>,
xt::xrange_adaptor<long, long, long>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph, xt::placeholders::xtuph>, xt::xall_tag,
xt::xellipsis_tag, xt::xnewaxis_tag> >')
auto sv = xt::slice_vector(a, range(0, 5), range(0, 5));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: no known
conversion from 'tensor' (aka 'xtensor_container<uvector<double, aligned_allocator<double, 32> >, 2, layout_type::row_major>') to
'std::__1::vector<mpark::variant<long, xt::xrange_adaptor<xt::placeholders::xtuph, long, long>, xt::xrange_adaptor<long, xt::placeholders::xtuph, long>,
xt::xrange_adaptor<long, long, xt::placeholders::xtuph>, xt::xrange_adaptor<long, xt::placeholders::xtuph, xt::placeholders::xtuph>,
xt::xrange_adaptor<xt::placeholders::xtuph, long, xt::placeholders::xtuph>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph, long>,
xt::xrange_adaptor<long, long, long>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph, xt::placeholders::xtuph>, xt::xall_tag,
xt::xellipsis_tag, xt::xnewaxis_tag>, std::__1::allocator<mpark::variant<long, xt::xrange_adaptor<xt::placeholders::xtuph, long, long>, xt::xrange_adaptor<long,
xt::placeholders::xtuph, long>, xt::xrange_adaptor<long, long, xt::placeholders::xtuph>, xt::xrange_adaptor<long, xt::placeholders::xtuph,
xt::placeholders::xtuph>, xt::xrange_adaptor<xt::placeholders::xtuph, long, xt::placeholders::xtuph>, xt::xrange_adaptor<xt::placeholders::xtuph,
xt::placeholders::xtuph, long>, xt::xrange_adaptor<long, long, long>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph,
xt::placeholders::xtuph>, xt::xall_tag, xt::xellipsis_tag, xt::xnewaxis_tag> > >::size_type' (aka 'unsigned long') for 1st argument
vector(size_type __n, const_reference __x, const allocator_type& __a);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:506:9: note: candidate template ignored: deduced conflicting
types for parameter '_InputIterator' ('xt::xtensor_container<xt::uvector<double, xsimd::aligned_allocator<double, 32> >, 2, xt::layout_type::row_major,
xt::xtensor_expression_tag>' vs. 'xt::xrange_adaptor<long, long, xt::placeholders::xtuph>')
vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:520:9: note: candidate template ignored: deduced conflicting
types for parameter '_ForwardIterator' ('xt::xtensor_container<xt::uvector<double, xsimd::aligned_allocator<double, 32> >, 2, xt::layout_type::row_major,
xt::xtensor_expression_tag>' vs. 'xt::xrange_adaptor<long, long, xt::placeholders::xtuph>')
vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable:
requires 2 arguments, but 3 were provided
vector(_InputIterator __first,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable:
requires 2 arguments, but 3 were provided
vector(_ForwardIterator __first,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2
arguments, but 3 were provided
explicit vector(size_type __n, const allocator_type& __a);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2
arguments, but 3 were provided
vector(size_type __n, const_reference __x);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2
arguments, but 3 were provided
vector(const vector& __x, const allocator_type& __a);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2
arguments, but 3 were provided
vector(initializer_list<value_type> __il, const allocator_type& __a);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2
arguments, but 3 were provided
vector(vector&& __x, const allocator_type& __a);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: requires
single argument '__a', but 3 arguments were provided
_LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: requires
single argument '__n', but 3 arguments were provided
explicit vector(size_type __n);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: requires single
argument '__x', but 3 arguments were provided
vector(const vector& __x);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: requires single
argument '__il', but 3 arguments were provided
vector(initializer_list<value_type> __il);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: requires single
argument '__x', but 3 arguments were provided
vector(vector&& __x)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0
arguments, but 3 were provided
vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:15:
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:69:23: error: no member named 'dynamic_view' in namespace 'xt'
auto av = xt::dynamic_view(a, sv);
~~~~^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:70:23: error: no member named 'dynamic_view' in namespace 'xt'
auto bv = xt::dynamic_view(b, sv);
~~~~^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:75:33: error: no member named 'raw_data' in 'xt::xtensor_container<xt::uvector<double,
xsimd::aligned_allocator<double, 32> >, 2, xt::layout_type::row_major, xt::xtensor_expression_tag>'
benchmark::DoNotOptimize(res.raw_data());
~~~ ^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:126:19: error: no matching constructor for initialization of 'xt::slice_vector' (aka
'vector<mpark::variant<long, xt::xrange_adaptor<xt::placeholders::xtuph, long, long>, xt::xrange_adaptor<long, xt::placeholders::xtuph, long>,
xt::xrange_adaptor<long, long, xt::placeholders::xtuph>, xt::xrange_adaptor<long, xt::placeholders::xtuph, xt::placeholders::xtuph>,
xt::xrange_adaptor<xt::placeholders::xtuph, long, xt::placeholders::xtuph>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph, long>,
xt::xrange_adaptor<long, long, long>, xt::xrange_adaptor<xt::placeholders::xtuph, xt::placeholders::xtuph, xt::placeholders::xtuph>, xt::xall_tag,
xt::xellipsis_tag, xt::xnewaxis_tag> >')
auto sv = xt::slice_vector(a, range(0, state.range(0), 2));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:128:23: error: no member named 'dynamic_view' in namespace 'xt'
auto av = xt::dynamic_view(a, sv);
~~~~^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:129:23: error: no member named 'dynamic_view' in namespace 'xt'
auto bv = xt::dynamic_view(b, sv);
~~~~^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
In file included from /Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:13:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xrandom.hpp:22:
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:130:48: error: type 'xt::xcontainer_inner_types<xt::xtensor_adaptor<double *, 1,
xt::layout_type::dynamic, xt::xtensor_expression_tag> >::storage_type' (aka 'double *') cannot be used prior to '::' because it has no members
using shape_type = std::array<typename storage_type::size_type, N>;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:33:43: note: in instantiation of template class
'xt::xcontainer_inner_types<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
using inner_shape_type = typename xcontainer_inner_types<D>::inner_shape_type;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:142:11: note: in instantiation of template class
'xt::xcontainer_iterable_types<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
: xcontainer_iterable_types<xtensor_adaptor<EC, N, L>>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xiterable.hpp:44:43: note: in instantiation of template class
'xt::xiterable_inner_types<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
using inner_shape_type = typename iterable_types::inner_shape_type;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xiterable.hpp:170:30: note: in instantiation of template class
'xt::xconst_iterable<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xiterable : public xconst_iterable<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:72:32: note: in instantiation of template class
'xt::xiterable<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xcontainer : private xiterable<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:375:39: note: in instantiation of template class
'xt::xcontainer<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xstrided_container : public xcontainer<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:162:36: note: in instantiation of template class
'xt::xstrided_container<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xtensor_adaptor : public xstrided_container<xtensor_adaptor<EC, N, L, Tag>>,
^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:167:13: note: in instantiation of template class 'xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic,
xt::xtensor_expression_tag>' requested here
auto av = xt::adapt(std::move(a.data()), shape, stride);
^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
In file included from /Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:12:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xio.hpp:21:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xmath.hpp:24:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xoperation.hpp:19:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xfunction.hpp:24:
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xiterable.hpp:46:50: error: no type named 'stepper' in
'xt::xiterable_inner_types<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >'
using stepper = typename iterable_types::stepper;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xiterable.hpp:170:30: note: in instantiation of template class
'xt::xconst_iterable<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xiterable : public xconst_iterable<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:72:32: note: in instantiation of template class
'xt::xiterable<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xcontainer : private xiterable<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:375:39: note: in instantiation of template class
'xt::xcontainer<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xstrided_container : public xcontainer<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:162:36: note: in instantiation of template class
'xt::xstrided_container<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xtensor_adaptor : public xstrided_container<xtensor_adaptor<EC, N, L, Tag>>,
^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:167:13: note: in instantiation of template class 'xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic,
xt::xtensor_expression_tag>' requested here
auto av = xt::adapt(std::move(a.data()), shape, stride);
^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
In file included from /Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:12:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xio.hpp:21:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xmath.hpp:24:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xoperation.hpp:19:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xfunction.hpp:24:
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xiterable.hpp:47:56: error: no type named 'const_stepper' in
'xt::xiterable_inner_types<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >'
using const_stepper = typename iterable_types::const_stepper;
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
In file included from /Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:13:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xrandom.hpp:22:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:19:
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:46:35: error: type 'double *' cannot be used prior to '::' because it has no members
using type = typename T::allocator_type;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:57:5: note: in instantiation of template class
'xt::detail::allocator_type_impl<double *>' requested here
using allocator_type_t = typename detail::allocator_type_impl<T>::type;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:80:32: note: in instantiation of template type alias 'allocator_type_t' requested
here
using allocator_type = allocator_type_t<std::decay_t<storage_type>>;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:375:39: note: in instantiation of template class
'xt::xcontainer<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xstrided_container : public xcontainer<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:162:36: note: in instantiation of template class
'xt::xstrided_container<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xtensor_adaptor : public xstrided_container<xtensor_adaptor<EC, N, L, Tag>>,
^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:167:13: note: in instantiation of template class 'xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic,
xt::xtensor_expression_tag>' requested here
auto av = xt::adapt(std::move(a.data()), shape, stride);
^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
In file included from /Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:13:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xrandom.hpp:22:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:19:
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:81:37: error: type 'xt::xcontainer<xt::xtensor_adaptor<double *, 1,
xt::layout_type::dynamic, xt::xtensor_expression_tag> >::storage_type' (aka 'double *') cannot be used prior to '::' because it has no members
using value_type = typename storage_type::value_type;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:375:39: note: in instantiation of template class
'xt::xcontainer<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xstrided_container : public xcontainer<D>
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:162:36: note: in instantiation of template class
'xt::xstrided_container<xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic, xt::xtensor_expression_tag> >' requested here
class xtensor_adaptor : public xstrided_container<xtensor_adaptor<EC, N, L, Tag>>,
^
/Users/floatdrop/xtensor-benchmark/src/benchmark_views.hpp:167:13: note: in instantiation of template class 'xt::xtensor_adaptor<double *, 1, xt::layout_type::dynamic,
xt::xtensor_expression_tag>' requested here
auto av = xt::adapt(std::move(a.data()), shape, stride);
^
In file included from /Users/floatdrop/xtensor-benchmark/src/main.cpp:13:
In file included from /Users/floatdrop/xtensor-benchmark/src/benchmark_1D.hpp:13:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xrandom.hpp:22:
In file included from /Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xtensor.hpp:19:
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:83:55: error: type 'xt::xcontainer<xt::xtensor_adaptor<double *, 1,
xt::layout_type::dynamic, xt::xtensor_expression_tag> >::storage_type' (aka 'double *') cannot be used prior to '::' because it has no members
typename storage_type::const_reference,
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:85:42: error: type 'xt::xcontainer<xt::xtensor_adaptor<double *, 1,
xt::layout_type::dynamic, xt::xtensor_expression_tag> >::storage_type' (aka 'double *') cannot be used prior to '::' because it has no members
using const_reference = typename storage_type::const_reference;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:86:34: error: type 'xt::xcontainer<xt::xtensor_adaptor<double *, 1,
xt::layout_type::dynamic, xt::xtensor_expression_tag> >::storage_type' (aka 'double *') cannot be used prior to '::' because it has no members
using pointer = typename storage_type::pointer;
^
/Users/floatdrop/miniconda3/envs/xtensor-benchmark/include/xtensor/xcontainer.hpp:87:40: error: type 'xt::xcontainer<xt::xtensor_adaptor<double *, 1,
xt::layout_type::dynamic, xt::xtensor_expression_tag> >::storage_type' (aka 'double *') cannot be used prior to '::' because it has no members
using const_pointer = typename storage_type::const_pointer;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [CMakeFiles/xtensor_benchmark.dir/src/main.cpp.o] Error 1
make[2]: *** [CMakeFiles/xtensor_benchmark.dir/all] Error 2
make[1]: *** [CMakeFiles/xbenchmark.dir/rule] Error 2
make: *** [xbenchmark] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment