Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
'function' : static functions with block scope are illegal
Remarks
A local function is declared static. Static functions must have global scope.
Example
The following example generates C2267:
// C2267.cpp
static int func2(); // OK
int main() {
static int func1(); // C2267
}