Edit

Share via


Compiler Error C2372

'identifier' : redefinition; different types of indirection

The identifier is already defined with a different derived type.

The following sample generates C2372:

// C2372.cpp
// compile with: /c
extern int *fp;
extern int fp[];   // C2372
extern int fp2[];   // OK