Bugzilla – Bug 928
variable length arrays are not standard-compliant
Last modified: 2011-08-10 12:27:30 EDT
Lines 115, 144, 145, 146, 147 uses variable length array, which does not conform to standard C++.
Further info - some compilers (clang, llvm-gcc) are unable to compile variable-length arrays due to their strict standards compliance. I'll submit a patch for consideration once I've run through the test.py.
Created attachment 900 [details] Proposed patch. Moved the variable length array from stack to heap (patch uses new[]). Corresponding delete[] added at the end of code to free memory.
ok for me. I have applied as obvious. changeset
changeset 231acc30d08f