Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'function' : static functions with block scope are illegal
A local function is declared static
. Static functions must have global scope.
The following sample generates C2267:
// C2267.cpp
static int func2(); // OK
int main() {
static int func1(); // C2267
}