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 C2599

'function' : local functions are not supported

A function is defined inside the body of another function.

Possible cause

Example

void func1()
{
                  // Missing a closing curly brace here
void func2() {}   // Error detected on this line

void func3()
{
void func4() {}   // Error detected on this line
}                 // Local functions not allowed