Export (0) Print
Expand All
Expand Minimize

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

ADD
Show:
© 2014 Microsoft