<br><br><div class="gmail_quote">On Wed, Feb 17, 2010 at 2:52 AM, Renato Golin <span dir="ltr"><<a href="mailto:rengolin@systemcall.org">rengolin@systemcall.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 16 February 2010 18:46, Douglas Gregor <<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>> wrote:<br>
> I would be perfectly happy to have Clang produce errors for all of these cases, so that VLAs in C++ are restricted to the places where they work in C. A patch that correctly restricts VLAs to that subset, and downgrades the "variable length arrays are not permitted in C++" error to an ExtWarn, will be accepted.<br>
<br>
Still, shouldn't the message be "not supported yet" rather than "not permitted"?<br>
<br></blockquote></div><br>It's an g++ extension rather than a C++ standard feature, hence why "not permitted" is applicable.<br>