Hi, VLAs (variable-lenght-arrays) in C language are evil, their size is computed at run-time (and they are most likely allocated by using alloca). In many cases we know the worst possible size the array will ever have at compile-time. It is better to compute size of such array at compile-time rather than at run-time. This is also step forward to be able to compile pcem by MSVC as it does not support VLAs.
Hi, VLAs (variable-lenght-arrays) in C language are evil, their size is computed at run-time (and they are most likely allocated by using alloca). In many cases we know the worst possible size the array will ever have at compile-time. It is better to compute size of such array at compile-time rather than at run-time. This is also step forward to be able to compile pcem by MSVC as it does not support VLAs.