[previous] 1018 [next] [C99] Use of LL suffix.
ISO C99 Language features REFERENCE - ISO:C99-6.4.4.1 Integer Constants - Syntax

'LL' has been used as a suffix to an integer constant. This is not supported in ISO:C90; long long is a feature of ISO:C99.

Message 1018 will not be generated if the language extension option "-ex LONGLONG" is enabled (compiler personality).

For example:


/*PRQA S 1027,2017,3199,3408 ++*/

extern void foo(void)
{
    long long a = 0LL;                    /* Message 1018 */

    ++a;
}

See also:

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