This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52131] dynamic allocation?
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Feb 2012 08:20:49 +0000
- Subject: [Bug c++/52131] dynamic allocation?
- Auto-submitted: auto-generated
- References: <bug-52131-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52131
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-06 08:20:49 UTC ---
This is a documented extension, see
http://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc/Variable-Length.html#Variable-Length
Use -pedantic to get a diagnostic.