Skip to content

Building 2027 with Apple Clang 21 fails #8751

@thatcomputerguy0101

Description

@thatcomputerguy0101

Describe the bug
When trying to build the WPILib 2027 branch or v2027.0.0-alpha-4 on MacOS 26, clang 21.0.0, both the gradle and cmake builds fail due to the following error:

error: unknown warning option '-Wno-fixed-enum-extension'; did you mean '-Wno-bit-int-extension'? [-Werror,-Wunknown-warning-option]

I have not tried the Bazel build.

To Reproduce
Steps to reproduce the behavior:

  1. ./gradlew build

Expected behavior
The build on an unmodified clone should be successful.

Desktop (please complete the following information):

  • OS: MacOS 26
  • Compiler: clang 21.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions