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

Move -Werror to our test/dev bazelrc files. #17939

Merged
merged 6 commits into from
Aug 23, 2024
Merged

Move -Werror to our test/dev bazelrc files. #17939

merged 6 commits into from
Aug 23, 2024

Conversation

mkruskal-google
Copy link
Member

Putting it into BUILD files unintentionally forces it on all our downstream users. Instead, we just want to enable this during testing and let them choose for themselves in their builds.

Note, that this expands the scope of -Werror to our entire repo for CI, so a bunch of fixes and opt-outs had to be applied to get this change passing.

Closed #14714

PiperOrigin-RevId: 666903224

Putting it into BUILD files unintentionally forces it on all our downstream users.  Instead, we just want to enable this during testing and let them choose for themselves in their builds.

Note, that this expands the scope of -Werror to our entire repo for CI, so a bunch of fixes and opt-outs had to be applied to get this change passing.

Closed #14714

PiperOrigin-RevId: 666903224
@mkruskal-google mkruskal-google added the back-port Cherrypick PRs to release branches label Aug 23, 2024
@mkruskal-google mkruskal-google requested review from a team as code owners August 23, 2024 22:08
@mkruskal-google mkruskal-google requested review from haberman and ericsalo and removed request for a team August 23, 2024 22:08
@mkruskal-google mkruskal-google requested a review from a team as a code owner August 23, 2024 22:43
@mkruskal-google mkruskal-google merged commit 99fd54a into 27.x Aug 23, 2024
175 checks passed
@mkruskal-google mkruskal-google deleted the werror-27 branch August 23, 2024 23:14
acozzette added a commit to acozzette/protobuf that referenced this pull request Aug 27, 2024
…17939)"

This reverts commit 99fd54a.

The addition of `-Werror` in `.bazelrc` appears to cause errors in our
release process, so let's roll this back for now.
acozzette added a commit that referenced this pull request Aug 27, 2024
This reverts commit 99fd54a.

The addition of `-Werror` in `.bazelrc` appears to cause errors in our
release process, so let's roll this back for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-port Cherrypick PRs to release branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants