'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