Compiler Error C2378
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Error C2378

'identifier' : redefinition; symbol cannot be overloaded with a typedef

The identifier was redefined as a typedef.

The following sample generates C2378:

// C2378.cpp
// compile with: /c
int i;
typedef int i;   // C2378
typedef int b;   // OK
© 2015 Microsoft