[previous] 0186 [next] [U] A call to this function must include at least one argument.
Explicitly undefined REFERENCE - ISO:C90-7.9.6 Formatted input/output functions

The function you are calling requires at least one argument.

For example:


/*PRQA S 336,602,1307,2017,3200,3209,3408,3602,3625 ++*/

#include <stdio.h>

extern void foo(void)
{
    printf();           /* Message 0186 and also 0422 */
}


MISRA C:2012 Rules applicable to message 0186:

Rule-1.3  (Required) There shall be no occurrence of undefined or critical unspecified behaviour


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents