This documentation is archived and is not being maintained.

Compiler Warning (level 4) C4222

Visual Studio .NET 2003

nonstandard extension used : 'identifier' : 'static' should not be used on member functions defined at file scope

A static member function is defined at file scope. Under ANSI compatibility (/Za), static member functions must be declared with external linkage.