Enabling VLAs (variable length arrays) in MS Visual C++?

MSVC is not a C99 compiler, and does not support variable length arrays.

At https://docs.microsoft.com/en-us/cpp/c-language/ansi-conformance MSVC is documented as conforming to C90.

Leave a Comment