Skip to content

Variable-length array compilation failure under -Werror #5528

Description

@MichaelChirico

These declarations trigger the vla warning:

double mins[nBatch], maxs[nBatch];

See also https://stackoverflow.com/questions/61825661/why-does-clang-complain-about-using-variable-length-arrays-with-std-c99-flag

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions