-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
In file included from /build/tbb/src/old/concurrent_vector_v2.cpp:20:
/build/tbb/include/tbb/task.h:300:20: error: declaration of ‘tbb::task& tbb::internal::task_prefix::task()’ changes meaning of ‘task’ [-Wchanges-meaning]
300 | tbb::task& task() {return *reinterpret_cast<tbb::task*>(this+1);}
| ^~~~
/build/tbb/include/tbb/task.h:252:9: note: used here to mean ‘class tbb::task’
252 | task* next_offloaded;
| ^~~~
/build/tbb/include/tbb/task.h:43:7: note: declared here
43 | class task;
| ^~~~
make[2]: *** [CMakeFiles/tbb_static.dir/build.make:90: CMakeFiles/tbb_static.dir/src/old/concurrent_vector_v2.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:276: CMakeFiles/tbb_static.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
System: x86_64, Ubuntu 24.04, g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
git clone https://github.com/wjakob/tbb.git
cd tbb/build
cmake ..
make -j
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels