[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

See also:

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