Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'identifier' : arrays of objects containing zero-size arrays are illegal
Each object in an array must contain at least one element.
The following sample generates C2233:
// C2233.cpp
// compile with: /c
class A {
char somearray[1];
};
class B {
char zeroarray[];
};
A array[100]; // OK
B array2[100]; // C2233