[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;
}


MISRA C:2012 Rules applicable to message 1018:

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