Skip to content

Cannot compile OneTBB 2022.3.0 without RTTI #1912

@jdumas

Description

@jdumas

Hi,

Due to this line:

task_handle_task* curr_th_task = dynamic_cast<task_handle_task*>(curr_task);

OneTBB can no longer be compiled without RTTI enabled. This wasn't an issue in OneTBB 2022.2.0, but it is with 2022.3.0. Since __TBB_PREVIEW_TASK_GROUP_EXTENSIONS is enabled by __TBB_BUILD, there is no way to "opt-out" of this feature for now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions