Compiler Warning (level 1) C4205

nonstandard extension used : static function declaration in function scope

Microsoft C/C++ allows static functions to be declared inside another function. The function is given global scope.

The following is an example of this error:

void func1()
{
   static int func2();  // warning
};

This extension can prevent your code from being portable to other compilers and will generate an error under the /Za command-line option.