> The error message could certainly be improved, but the code is really > incorrect. new expressions of array types cannot contain non-default > initializers. Not in standard C++, this is a GNU extension. Unfortunately, it seems that the extension is broken for non-aggregates. Regards, Martin