This documentation is archived and is not being maintained.

Compiler Error C2447

'{' : missing function header (old-style formal list?)

An open brace occurs at global scope without a corresponding function header.

This error can be caused by an old-style C-language formal list.

The following sample generates C2447:

// C2447.cpp
int c;
{}       // C2447