Andreas Tille <andr...@fam-tille.de> writes:

> make[4]: *** [test/view/CMakeFiles/view.chunk.dir/build.make:66: 
> test/view/CMakeFiles/view.chunk.dir/chunk.cpp.o] Error 1

I can reproduce this error (below), which parallel make somewhat buries,
but don't have a suggested fix offhand, sorry.

In file included from /.../include/range/v3/range/concepts.hpp:37,
                 from /.../include/range/v3/action/concepts.hpp:23,
                 from /.../include/range/v3/range/conversion.hpp:23,
                 from /.../test/view/chunk.cpp:16:
/.../include/range/v3/iterator/concepts.hpp: In instantiation of ‘constexpr 
const bool 
ranges::forward_iterator<ranges::basic_iterator<ranges::chunk_view_<debug_input_view<const
 int>, false>::outer_cursor> >’:
[...]
/.../include/range/v3/range/concepts.hpp:88:21:   required from ‘constexpr 
const bool ranges::input_range<ranges::chunk_view<debug_input_view<const int> > 
>’
/.../test/view/chunk.cpp:41:9:   required from here
/.../include/range/v3/iterator/concepts.hpp:334:9: error: the value of 
‘ranges::input_iterator<ranges::basic_iterator<ranges::chunk_view_<debug_input_view<const
 int>, false>::outer_cursor> >’ is not usable in a constant expression
  334 |         input_iterator<I> &&
      |         ^~~~~~~~~~~~~~~~~
/.../include/range/v3/iterator/concepts.hpp:327:17: note: 
‘ranges::input_iterator<ranges::basic_iterator<ranges::chunk_view_<debug_input_view<const
 int>, false>::outer_cursor> >’ used in its own initializer
  327 |     CPP_concept input_iterator =
      |                 ^~~~~~~~~~~~~~

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to