Compiler Error C2086

'identifier' : redefinition

The given identifier was defined more than once, or a subsequent declaration differed from a previous one.

The following examples generate this error:

int a;
char a;
main()
{
}
main()
{
  int a;
  int a;
}

The following is an error in C++ but not in ANSI C:

int a;
int a;
main()
{
}