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

Silence compiler warnings in code we don't maintain #9732

Merged

Conversation

Al2Klimov
Copy link
Member

No description provided.

@Al2Klimov Al2Klimov added the core/quality Improve code, libraries, algorithms, inline docs label Mar 24, 2023
@cla-bot cla-bot bot added the cla/signed label Mar 24, 2023
@Al2Klimov Al2Klimov requested a review from oxzi November 11, 2024 16:25
@Al2Klimov
Copy link
Member Author

Copy link
Member

@oxzi oxzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rebase this on the current master to rerun the checks?

According to the include_directories docs, setting SYSTEM "might achieve effects such as the compiler skipping warnings, or these fixed-install system files not being considered in dependency calculations". This is written with a big maybe. Can we be sure that this will not result in build failures on some platforms after #10225 was merged?

@Al2Klimov
Copy link
Member Author

The W in -Wsuggest-override stands for warning, so it won't cause build failures unless someone uses -Werror. But yes, rebasing that PR after this one is merged is a good idea.

@Al2Klimov Al2Klimov force-pushed the silence-compiler-warnings-in-code-we-don-t-maintain branch from c6ee729 to 6195a45 Compare January 14, 2025 10:48
@julianbrost julianbrost merged commit 4ffe88e into master Jan 15, 2025
23 checks passed
@julianbrost julianbrost deleted the silence-compiler-warnings-in-code-we-don-t-maintain branch January 15, 2025 15:33
@Al2Klimov Al2Klimov added this to the 2.15.0 milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed core/quality Improve code, libraries, algorithms, inline docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants