Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2371
Collapse the table of content
Expand the table of content

Compiler Error C2371

'identifier' : redefinition; different basic types

The identifier is already declared.

The following sample generates C2371:

// C2371.cpp
int main() {
   int i;
   float i;   // C2371, redefinition
   float f;   // OK

Community Additions

© 2015 Microsoft