[previous] 0886 [next] [S] Missing or invalid expression in '#if' or '#elif' directive.
Syntax errors

This #if or #elif directive is not followed by a valid expression. For example:


/*PRQA S 3211,3403,3408 ++*/

    int a = 0;

#if                    /* Message 0886 */
    int b = 1;
#endif

#if --------           /* Message 0886 and also 0879 */
    int b = 1;
#endif


No MISRA C:2012 Rules applicable to message 0886


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