C1076: Illegal scope resolution in member declaration

[ERROR]

Description

An access declaration was made for the specified identifier, but it is not a member of a base class.

Example
  struct A {

  
    int i;

  
  };

  
  struct B {

  
    int j;

  
  };

  
  struct C : A {

  
    A::i; // ok

  
    B::j; // error

  
  };

  
Tips

Put the owner class of the specified member into the base class list, or do without the access declaration.