This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51352] g++ can't pass variable-length array as a function argument
- 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: Wed, 30 Nov 2011 09:32:23 +0000
- Subject: [Bug c++/51352] g++ can't pass variable-length array as a function argument
- Auto-submitted: auto-generated
- References: <bug-51352-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51352
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-30 09:32:23 UTC ---
This might just be a documentation bug if G++ supports declaring VLAs at block
scope but not as function arguments. No version from 4.1 onwards has supported
it