Compiler Error C2448
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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
Show: