[cfe-dev] Variable length arrays are not permitted in C++
Renato Golin
rengolin at systemcall.org
Wed Feb 17 02:52:45 PST 2010
On 16 February 2010 18:46, Douglas Gregor <dgregor at apple.com> wrote:
> 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.
Still, shouldn't the message be "not supported yet" rather than "not permitted"?
cheers,
--renato
http://systemcall.org/
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
More information about the cfe-dev
mailing list