[previous] 0180 [next] [C99] Use of ll for conversion specifier.
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 */
}

See also:

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