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

disable TBB_STRICT on Linux #4541

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

Conversation

schiele
Copy link

@schiele schiele commented Feb 27, 2025

On systems with -ffat-lto-objects in CFLAGS/CXXFLAGS the build of TBB dependency causes diagnostics not relevant in the final build result. Due to TBB_STRICT being the default this causes build failures due to this false positive diagnostic. The easiest way around this is to disable this strict checking. After all there seems to be no point in erroring out on warnings of 3rd party dependencies anyway.

On systems with -ffat-lto-objects in CFLAGS/CXXFLAGS the build of TBB
dependency causes diagnostics not relevant in the final build result.
Due to TBB_STRICT being the default this causes build failures due to
this false positive diagnostic. The easiest way around this is to
disable this strict checking. After all there seems to be no point in
erroring out on warnings of 3rd party dependencies anyway.
@schiele schiele requested a review from supermerill as a code owner February 27, 2025 13:39
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