[previous] 0190 [next] [U] Using unsupported conversion specifier number %s.
Explicitly undefined REFERENCE - ISO:C90-7.9.6.2 Formatted input/output functions

An unrecognised conversion specifier has been encountered in this format string for scanf, fscanf or sscanf function. The number in the message refers to the sequence of specifiers in the format string.

For example:


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

#include <stdio.h>

extern void foo(void)
{
    double total;
    scanf("%t", &total);          /* Message 0190 and 0206 */
    scanf("%lf", &total);         /* OK */
}


MISRA-C:2004 Rules applicable to message 0190:

Rule  1.2  (Required) No reliance shall be placed on undefined or unspecified behaviour.


See also:

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