Skip to content

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

@pgoodman

Description

@pgoodman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions