Skip to content

gn: Stop passing -Werror in non-hermetic builds#5916

Open
pcc wants to merge 1 commit into
google:mainfrom
pcc:fix-build2
Open

gn: Stop passing -Werror in non-hermetic builds#5916
pcc wants to merge 1 commit into
google:mainfrom
pcc:fix-build2

Conversation

@pcc
Copy link
Copy Markdown
Contributor

@pcc pcc commented May 16, 2026

Passing -Werror when the compiler version is not
controlled is considered a bad practice. See e.g.
https://blog.schmorp.de/2016-02-27-tidbits-for-the-love-of-god-dont-use-werror.html

Therefore, stop doing so in non-hermetic builds.

Passing -Werror when the compiler version is not
controlled is considered a bad practice. See e.g.
https://blog.schmorp.de/2016-02-27-tidbits-for-the-love-of-god-dont-use-werror.html

Therefore, stop doing so in non-hermetic builds.
@pcc pcc requested a review from a team as a code owner May 16, 2026 08:22
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.

2 participants