Variable length arrays are not a feature of C++. Whatever compiler extension you're using that does support VLAs does not support using them for non-POD types.
Solution: Don't use variable length arrays. A std::vector<std::string> would work fine here and has the advantage of being portable.