'name' : illegal use of namespace identifier in expression
You tried to use the name of a namespace in an expression.
In the following code, namespace A is assigned to integer i, an incorrect use of namespace A.
namespace A {
int k;
}
int i = A; // error C2882, can't assign A to i