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

Patch nfs_serv.c, and maybe other places, for Clang 16 support #1

Open
pgoodman opened this issue Apr 22, 2023 · 0 comments
Open

Patch nfs_serv.c, and maybe other places, for Clang 16 support #1

pgoodman opened this issue Apr 22, 2023 · 0 comments

Comments

@pgoodman
Copy link

Clang 16 now has a check that array element type size must be a multiple of array element type alignment. This is problematic when building XNU with Clang 16. For example:

image
image
image

On clang 15 this compiles: https://godbolt.org/z/vTfh1jdzY
On clang 16 this doesn't compile: https://godbolt.org/z/8eMdznce1

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

No branches or pull requests

1 participant