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

Avoid multiple same warnings/errors during poac build #995

Open
ken-matsui opened this issue Oct 2, 2024 · 1 comment
Open

Avoid multiple same warnings/errors during poac build #995

ken-matsui opened this issue Oct 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ken-matsui
Copy link
Member

Especially when a header file is included by multiple source files, multithreaded compilations emit the same warnings/errors for the same header file. If there's a way to avoid this (terminate other compilations as soon as one emits errors?), it would be great. We can have alternative solutions for warnings and errors, respectively.

@ken-matsui ken-matsui added the bug Something isn't working label Oct 2, 2024
@ken-matsui ken-matsui added enhancement New feature or request and removed bug Something isn't working labels Oct 10, 2024
@ken-matsui
Copy link
Member Author

GCC supports -fdiagnostics-format=sarif-stderr, which can be used to merge diagnostics across threads. One possible problem is that we cannot get diagnostics until we finish merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant