[ERROR]
A non-static member has been accessed inside a static member function.
struct A {
static void f();
int i;
};
void A::f() {
i=3; // error
}
Remove the static specifier from the member function, or declare the member to be accessed as static.