This documentation is archived and is not being maintained.
Compiler Error C2692
Visual Studio 2008
'function_name' : fully prototyped functions required in C compiler with the '/clr' option
When compiling for .NET managed code, the C compiler requires ANSI function declarations. In addition, if a function takes no parameters, it must explicitly declare void as the parameter type.