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

Enable --config=clang only on newer Clang versions #25543

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Dec 17, 2024

Enable --config=clang only on newer Clang versions

These flags disable Clang extensions that do things such as reject type definitions within offsetof or reject unknown arguments which does not seem to be needed on versions older than Clang 16

Also, fix a syntax error

Fixes #25530

These flags disable Clang extensions that do things such as reject type definitions within offsetof or reject unknown arguments which does not seem to be needed on versions older than Clang 16

Also, fix a syntax error

Fixes #25530

PiperOrigin-RevId: 707555651
@copybara-service copybara-service bot merged commit bcca77c into main Dec 18, 2024
@copybara-service copybara-service bot deleted the test_707118731 branch December 18, 2024 16:12
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.

Building jax > v0.4.35 on MacOS (arm64) gives error: defining a type within 'offsetof' is a Clang extension
1 participant