Compiler Error C2374
'identifier' : redefinition; multiple initialization
The identifier is initialized more than once.
The following sample generates C2374:
// C2374.cpp
// compile with: /c
int i = 0;
int i = 1; // C2374
int j = 1; // OK
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
'identifier' : redefinition; multiple initialization
The identifier is initialized more than once.
The following sample generates C2374:
// C2374.cpp
// compile with: /c
int i = 0;
int i = 1; // C2374
int j = 1; // OK