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

define not_parallel_for non-debug builds and header fixes #4539

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

schiele
Copy link

@schiele schiele commented Feb 27, 2025

We need to move not_parallel_for out from the #ifdef statement since otherise it is only defined for debug builds but it is needed unconditionally in the code.

Besides that this fixes a lot of cases where functions or types were used but the corresponding header file was not included. Those were discovered by doing release builds with precompiled headers turned off. Most of those gaps likely were hidden by precompiled headers.

We need to move not_parallel_for out from the #ifdef statement since
otherise it is only defined for debug builds but it is needed
unconditionally in the code.

Besides that this fixes a lot of cases where functions or types were
used but the corresponding header file was not included. Those were
discovered by doing release builds with precompiled headers turned off.
Most of those gaps likely were hidden by precompiled headers.
@schiele schiele requested a review from supermerill as a code owner February 27, 2025 07:17
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.

1 participant