nonexistent function 'Identifier' specified as friend
Identifier is not a function, so it can be a friend.
Example
class C { public: int i; // i is not a function void func(); }; class S { public: friend void C::i(); // error friend void C::func(); // OK };