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
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk 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