alloca() is not part of the C++ standard, and I can't imagine how it could used safely in a C++ environment