'name' : has already been defined to be a namespace
You tried to use name, and it is already in use as a namespace.
For example, the following code illustrates this error:
namespace A { int i; }; class A { // error C2869, A is already used };