Skip to content

Instantly share code, notes, and snippets.

@gonidelis
Created September 21, 2022 15:08
Show Gist options
  • Save gonidelis/2444aecaa7b27fbea5f4e46da7d5b8d1 to your computer and use it in GitHub Desktop.
Save gonidelis/2444aecaa7b27fbea5f4e46da7d5b8d1 to your computer and use it in GitHub Desktop.
TBB - g++-10 compatibility
In file included from /home/giannis/nwgraph/NWGraph/test/compat_eg.cpp:21:
/home/giannis/nwgraph/NWGraph/include/nwgraph/compat.hpp:17:2: warning: #warning "compat.hpp is deprecated" [-Wcpp]
17 | #warning "compat.hpp is deprecated"
| ^~~~~~~
[ 32%] Linking CXX executable tag_invoke_eg.exe
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 /home/giannis/nwgraph/NWGraph/include/nwgraph/util/proxysort.hpp:25,
from /home/giannis/nwgraph/NWGraph/test/proxysort_eg.cpp:18:
/usr/include/c++/10/pstl/parallel_backend_tbb.h: In function ‘void __pstl::__par_backend::__cancel_execution()’:
/usr/include/c++/10/pstl/parallel_backend_tbb.h:70:10: error: ‘tbb::task’ has not been declared
70 | tbb::task::self().group()->cancel_group_execution();
| ^~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment