Does 'D' language supports 'C' like VLA?

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 13 10:53:23 PDT 2015


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.


More information about the Digitalmars-d mailing list