Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'symbol' : 'extern' storage class specifier illegal on member definition
Remarks
A data member or member function is defined as extern. Members cannot be external, although entire objects can. The compiler ignores the extern keyword.
Example
The following example generates C4630:
// C4630.cpp
// compile with: /W1 /LD
class A {
void func();
};
extern void A::func() { // C4630, remove 'extern' to resolve
}