Skip to content

lv2apply uses non-portable Variable Length Arrays (VLA) #64

@dg0yt

Description

@dg0yt

lilv/tools/lv2apply.c

Lines 324 to 325 in b6496d8

float in_buf[self.n_audio_in > 0 ? self.n_audio_in : 1];
float out_buf[self.n_audio_out > 0 ? self.n_audio_out : 1];

These lines fail to compile with MSVC.

This was noticed while reviewing a regression of the vcpkg port. The issue occurs only for a particular configuration.

  • Feature tools left to default. (Not forced to enabled or disabled.)
  • Dependency sndfile can be found.

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