Skip to content

Variable-length array compilation failure under -Werror #5528

@MichaelChirico

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

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