|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
While compiling my C source file, the compiler reported the following diagnostic:
WARNING 206: MISSING FUNCTION PROTOTYPE
The called function is unknown because no prototype declaration exists. Calls to unknown functions risk that the number of parameters may not correspond to the actual requirements. If this is the case, the function is called incorrectly.
The compiler has no way to check for missing or excessive parameters and their types. Include prototypes of the functions used in your program. Prototypes must be specified before the functions are actually called. The definition of a function automatically produces a prototype.
Article last edited on: 2005-07-15 12:38:08
Did you find this article helpful? Yes No
How can we improve this article?