'function_name' : fully prototyped functions required in NGWS runtime C compiler
When compiling for NGWS managed code, the C compiler requires function declarations. In addition, if a function takes no parameters, it must explicitly declare void as the parameter type.
For example, the following code generates C2692:
// compile with /com+ // to resolve one C2692, uncomment the following declaration // int func1(int); // to resolve the other C2692, remove the comments int func2(/* void */) { return 1; } void main() { int x = func1(1); int y = func2(); } int func1(int n) { return n; }