Knowledge Base Article

Functions Declared Without a Return Type Are Not Supported

Description

The C2H compiler does not support functions without an explicitly declared return type.

Resolution

If you are using the implicit int return type, declare the return type explicitly. If your function has no return value, declare it as void.

Updated 1 month ago
Version 3.0
No CommentsBe the first to comment