Function declarators must be declared with the appropriate type information, including a return type, parameter list, and function prototype (if the declarator is part of a function definition). If type information is not properly specified in a function declaratorsdeclarator, the compiler cannot perform checks on the number and type of arguments being passed to the function. Argument type checking in C is only performed during compilation, and does not occur during linking, or dynamic loading
Wiki Markup |
---|
In many cases, attempting to compile a program with a function declarator that does not include the appropriate type information generates a compiler warning. These warnings should be resolved \[[MSC00-A. Compile cleanly at high warning levels]\], but do not prevent program compilation. |
Non-Compliant Code Example 1
...