Compiler Error C2880

'symbol' : a symbol of this name already exists in the current scope

You tried to create a namespace alias, but the name you chose already exists.

The following code shows the problem. Since i is already defined as an integer, it cannot be reassigned as a namespace alias.

namespace A {
   int k;
}

int i;

namespace i = A; // error C2880, i already exists