NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2724

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

Static member functions should be declared with external linkage. Static member functions at file scope cause an error under ANSI compatibility (/Za) and a warning under Microsoft extensions (/Ze).

Example

class C 
{
   static void func(); 
};

static void C::func(){};    // error