Edit

Share via


Compiler Error C2448

'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