Stefan Teleman writes:
> static const int len = 8;
> 
> int
> main(int argc, char* argv[])
> {
>     char *acp[len];
>     return 0;
> }
> 
> This compiles with Studio 11 and -xlang=c99.

Sure.  But that's clearly not a variable-length array, which was the
original question.

-- 
James Carlson, KISS Network                    <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to