Compiler Error C2377
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Compiler Error C2377

'identifier' : redefinition; typedef cannot be overloaded with any other symbol

A typedef identifier is redefined.

The following sample generates C2377:

// C2377.cpp
// compile with: /c
typedef int i;
int i;   // C2377
int j;   // OK
© 2016 Microsoft