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

Fix upb build with Clang 16 #23667

Closed
wants to merge 1 commit into from
Closed

Fix upb build with Clang 16 #23667

wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 19, 2024

With Xcode 16, upb fails its own -Werror check due to using Clang extensions.

With Xcode 16, `upb` fails its own `-Werror` check due to using Clang extensions.
@fmeum
Copy link
Collaborator Author

fmeum commented Sep 19, 2024

FYI @keith

@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Sep 19, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Sep 19, 2024

@bazel-io fork 7.4.0

Copy link
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

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

Thanks!

@meteorcloudy meteorcloudy added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Sep 19, 2024
@meteorcloudy
Copy link
Member

@iancha1992 Please import this one using the normal process.

@fmeum
Copy link
Collaborator Author

fmeum commented Sep 19, 2024

@meteorcloudy I don't know who to talk to about this, but ideally upb and protobuf would only enable warnings for their own project (e.g. via REPO.bazel or --copt). The warning spam in the Bazel repo itself is already quite bad with recent compilers.

@meteorcloudy
Copy link
Member

@pzembrod currently owns the C++ rules, but I don't think that's his current priority to make repo based c++ options work well.

@iancha1992 iancha1992 added the team-Rules-CPP Issues for C++ rules label Sep 19, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Sep 20, 2024
@fmeum fmeum deleted the upb-fix branch September 21, 2024 07:27
fmeum added a commit to fmeum/bazel that referenced this pull request Sep 21, 2024
With Xcode 16, `upb` fails its own `-Werror` check due to using Clang extensions.

Closes bazelbuild#23667.

PiperOrigin-RevId: 676957876
Change-Id: I8e038b5f879077fefdb5811aff6ae5f56fb4f762
fmeum added a commit to fmeum/bazel that referenced this pull request Sep 21, 2024
With Xcode 16, `upb` fails its own `-Werror` check due to using Clang extensions.

Closes bazelbuild#23667.

PiperOrigin-RevId: 676957876
Change-Id: I8e038b5f879077fefdb5811aff6ae5f56fb4f762
fmeum added a commit to fmeum/bazel that referenced this pull request Sep 23, 2024
With Xcode 16, `upb` fails its own `-Werror` check due to using Clang extensions.

Closes bazelbuild#23667.

PiperOrigin-RevId: 676957876
Change-Id: I8e038b5f879077fefdb5811aff6ae5f56fb4f762
github-merge-queue bot pushed a commit that referenced this pull request Sep 23, 2024
With Xcode 16, `upb` fails its own `-Werror` check due to using Clang
extensions.

Closes #23667.

PiperOrigin-RevId: 676957876
Change-Id: I8e038b5f879077fefdb5811aff6ae5f56fb4f762

Closes #23668
iancha1992 pushed a commit that referenced this pull request Sep 24, 2024
With Xcode 16, `upb` fails its own `-Werror` check due to using Clang extensions.

Closes #23667.

PiperOrigin-RevId: 676957876
Change-Id: I8e038b5f879077fefdb5811aff6ae5f56fb4f762
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.4.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants