typedef struct {
u32 dimension_row_count;
u32 data_size; /* rowA*rowB...*rowN */
u32 dimension_row_sizes[];
} matrix_size;
typedef struct {
matrix_size dimensions;
double data[];
} MATRIX;
Error: field 'dimensions' with variable sized type 'matrix_size' not at the end of a struct or class
Looks like I am not allowed to have a member with a flexible array within another struct. Why?