编译器错误 C2369

“array”:重定义;不同的下标

注解

已用其他下标声明数组。

Example

以下示例生成 C2369:

// C2369.cpp
// compile with: /c
int a[10];
int a[20];   // C2369
int b[20];   // OK