RAD Studio
ContentsIndex
PreviousUpNext
E2452: Size of the type is unknown or zero

This error message indicates that an array of unspecified dimension nested within another structure is initialized and the -A (ANSI) switch is on. For example:

struct
{
char a[]; //Size of 'a' is unknown or zero
}
b = { "hello" }; //Size of the type is 
//unknown or zero
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!