![]() |
![]() |
0180 | ![]() |
||||
![]() | |||||||
| ISO C99 Language features | REFERENCE - ISO:C99-7.19.6 Formatted input/output functions | ||||||
'll' has been used in a format string as a conversion specifier. This is not supported in ISO:C90; long long is a feature of ISO:C99. Message 0180 will not be generated if the language extension option "-ex LONGLONG" is enabled (compiler personality). For example:
/*PRQA S 336,602,1027,1278,1307,2017,2211,3122,3408,3447,3602,3625 ++*/
#include <stdio.h>
extern long long sla;
extern unsigned long long ula;
extern void foo(void)
{
(void)scanf("Lets input the values! %lld %llu", &sla, &ula); /* Message 0180 and 0180 */
(void)printf("Lets output the values! %lld %llu", sla, ula); /* Message 0180 and 0180 */
}
MISRA C:2012 Rules applicable to message 0180:
| Dir-1.1 (Required) | Any implementation-defined behaviour on which the output of the program depends shall be documented and understood |
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 |