[ERROR]
Member redeclarations cannot have external linkage.
struct A {
f();
}a;
extern "C" A::f() {return 3;}
Do not declare members as extern.