https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97549

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There are also errors when compiling with the Intel compiler and tbb from
oneAPI (aka tbb 2021.1.1):

In file included from /usr/include/c++/10/pstl/parallel_backend.h(16),
                 from /usr/include/c++/10/pstl/algorithm_impl.h(22),
                 from /usr/include/c++/10/pstl/glue_execution_defs.h(50),
                 from /usr/include/c++/10/execution(32),
                 from pstl.C(1):
/usr/include/c++/10/pstl/parallel_backend_tbb.h(70): error: name followed by
"::" must be a class or namespace name
      tbb::task::self().group()->cancel_group_execution();
           ^

In file included from /usr/include/c++/10/pstl/parallel_backend.h(16),
                 from /usr/include/c++/10/pstl/algorithm_impl.h(22),
                 from /usr/include/c++/10/pstl/glue_execution_defs.h(50),
                 from /usr/include/c++/10/execution(32),
                 from pstl.C(1):
/usr/include/c++/10/pstl/parallel_backend_tbb.h(413): error: namespace "tbb"
has no member class "task"
  class __merge_task : public tbb::task
                                   ^

Reply via email to