Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2692
Collapse the table of content
Expand the table of content

Compiler Error C2692

Error Message

'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.

Community Additions

© 2015 Microsoft