Skip to content

clang does not like rust_box's flexible array #368

Description

@erickt

Compiling rust_builtin.cpp errors out with this message:

compile: rt/rust_builtin.o
../rust/src/rt/rust_builtin.cpp:388:13: error: flexible array 'data' not allowed in otherwise empty struct
    uint8_t data[];
            ^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions