On Monday, 13 April 2015 at 17:53:24 UTC, John Colvin wrote:
On Monday, 13 April 2015 at 17:51:27 UTC, Ola Fosheim Grøstad
wrote:
On Monday, 13 April 2015 at 17:24:38 UTC, Steven Schveighoffer
wrote:
Note, it's best to show when comparing C/C++ to D the C++
code and how you expect it to work too.
Did you compile C++ with strict/pedantic options?
( I don't think it should work in compliant C++ )
Dunno about C++, but IIRC VLAs are part of the C99 standard.
They were made optional in C11 due to the security risks and the
emphasis in C11 to improve C's security.
--
Paulo