Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include oneapi/tbb/spin_mutex.h #7057

Closed
wants to merge 1 commit into from

Conversation

schiele
Copy link
Contributor

@schiele schiele commented Oct 9, 2024

We need to include oneapi/tbb/spin_mutex.h to use tbb::spin_mutex.

We need to include oneapi/tbb/spin_mutex.h to use tbb::spin_mutex.
@anarsoul
Copy link
Contributor

Otherwise compilation fails with:

error: ‘spin_mutex’ is not a member of ‘tbb’

anarsoul added a commit to anarsoul/OrcaSlicer that referenced this pull request Nov 16, 2024
PrintObject.cpp references tbb::spin_mutex, thus it needs to include
tbb/spin_mutex. Otherwise compilation fails with:

error: ‘spin_mutex’ is not a member of ‘tbb’

Supersedes SoftFever#7057
SoftFever pushed a commit that referenced this pull request Nov 28, 2024
PrintObject.cpp references tbb::spin_mutex, thus it needs to include
tbb/spin_mutex. Otherwise compilation fails with:

error: ‘spin_mutex’ is not a member of ‘tbb’

Supersedes #7057
@SoftFever
Copy link
Owner

ref to #7505
Thank you for your contribution!

@SoftFever SoftFever closed this Nov 28, 2024
@schiele schiele deleted the missing_includes branch November 29, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants