Keil Logo

C51: WARNING 206 (MISSING FUNCTION PROTOTYPE)


Information in this article applies to:

  • C51 Version 5.50

QUESTION

While compiling my C source file, the compiler reported the following diagnostic:

WARNING 206: MISSING FUNCTION PROTOTYPE

ANSWER

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.

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.