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

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

For example:


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

#include <stdio.h>

extern void foo(int celsius)
{
    printf("The temperature is %t",celsius);   /* Message 0160 - %t is not valid */

    printf("The temperature is %d",celsius);   /* Correct */
}

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents