Compiler Error C2868

'identifier' : illegal syntax for using-declaration; expected qualified-name

A using-declaration requires a qualified name. Anything else would cause this error to occur. For example:

class X {...};

void f() {
   using X;   //Error
}