This documentation is archived and is not being maintained.

Compiler Error C2448

Error Message

'identifier' : function-style initializer appears to be a function definition

The function definition is incorrect.

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

The following sample generates C2448:

// C2448.cpp
void func(c)
   int c;
{}   // C2448