[Bug c++/51352] New: g++ can't pass variable-length array as a function argument

2011-11-29 Thread jvgreen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51352 Bug #: 51352 Summary: g++ can't pass variable-length array as a function argument Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED

[Bug c++/51352] g++ can't pass variable-length array as a function argument

2011-11-29 Thread jvgreen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51352 --- Comment #1 from Joshua Green jvgreen at gmail dot com 2011-11-30 06:23:40 UTC --- (Of course, compiling under gcc requires replacing #include iostream #include cstdlib with #include stdio.h #include stdlib.h and std::cout array[i